Hello, I’ve got an important question for you: do you know why you can read that page? No? In that case, this article is made for you!
First, you certainly know the binary numeral system; that’s with this combination of zeros and ones your computer works! One number is called a “bit” (binary digit) and a combination of 8 bits is called an “octet”. Your computer treats these bits with logic gates (not, or, and, xor) to do operations with a processor… not easy, is it? But you can’t read these numbers so you need a decoder: that is the BIOS, a Basic Input Output System. People work hard with bits to create BIOS such as Windows or Linux. Without the BIOS, you couldn’t use your computer; it’s a very important system! Softwares allow you to do anything: writing a text, surfing on the web or recording your voice, you use softwares. OpenOffice, Internet Explorer or Audacity are softwares. People who make softwares are called programmers; they write very long codes in special languages. These are called “programming languages”. To code you need to know one of them; it’s a bit like learning a new language.
What does the language do?
When you write a command on your program, the language translates it on binary, which your computer can understand and execute.
There is a huge list of languages but each one has a different goal. For example, HTML (HyperText Markup Language) is a language used to code internet pages; it can be combined with a code written with CSS (Cascading Style Sheets) that is used to lay-out the pages. To make programs on the Internet, such as a game, you can use Java, PHP, Ajax, ActionScript, ...
Here’s a little tip for you: to recognize which language is used to code a website: Right click on the page and click on “Afficher le code source de la page”: you can see the code that allows you to see that page. Now, in the first line of the code, there is the name of the programming language. Look, I did it with the school’s website:
The language’s name isn’t written in every website! In that case, you will only see this: <!DOCTYPE html>.
Thank you for reading!
Images: Google Images
Text: Myself and Wikipedia
CommentsSuivre le flux RSS des commentaires