Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/thestemw/public_html/wp-content/plugins/jetpack/_inc/lib/class.media-summary.php on line 77
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/thestemw/public_html/wp-content/plugins/jetpack/_inc/lib/class.media-summary.php on line 87 What language does a computer use? | The STEM Way
Computers have language of their own. It is called Binary language.
It’s a very simple language with just 2 symbols – 0 and 1. A computer stores all information in the form of 0’s and 1’s.
What are the symbols in the Binary language?
The English language has 26 alphabets A, B, C,D till Z. Words and sentences are formed using different combination of these symbols.
Similarly a computer uses only 0 and 1 !
Everything that we enter into a computer is eventually translated to 0’s and 1’s. Numbers, Letters, pictures, videos, music everything you see on this page is internally translated to 0’s and 1’s
How does a computer translate to Binary?
A computer is a machine that runs on electricity. The language it speaks is also electrical.
o’s and 1’s are represented in a computer as electrical signals.
A 1 represents a high voltage of electricity and a 0 represents a low voltage of electricity.
Let us compare this to a light bulb.
A light bulb can be either off or on.
When we turn the switch on the electricity flows and the bulb is switched on.
When we turn it off the electricity stops and the light is turned off.
Similarly in a computer, when a high voltage of electricity flows the computer reads it as a 1 and when a low voltage flows the computer reads it as 0.
EXAMPLE : Lets take the word STEM
STEM is converted into binary code and then saved or sent in the form of electrical signals.
you can have fun converting more English sentences to binary here.
How do we use Binary language?
Binary language is very difficult for us to understand or use directly. So computer programming languages have been developed so that users can give instructions to the computer in a natural language which the computer then complies (or translates) to binary language and executes the instructions.
Some example of computer programming languages are JAVA, c++, C#. People use programming languages to build games, apps, websites and so many more things.
Warning: Use of undefined constant trim - assumed 'trim' (this will throw an Error in a future version of PHP) in /home/thestemw/public_html/wp-content/plugins/tr-post-slider-widget/widget-post-featured-image.php on line 50