Binary code can represent numbers, letter, or any other data just by using two symbols (0 and 1's). It was invented by Gottfried Leibniz around 1703. How the code works is that, to each character or instruction, a pattern of binary digits (bits) are assigned. It's a type of Boolean data, a data type with only two possible values, true or false (1 or 0). The codes are usually used for encoding data, such as; character strings, into bit strings. For an in-depth article on binary numbers, click here. The majority of modern computers use binary code for instructions, or to store data. Things such as CD's, and DVD's represent video and sound digitally in binary form. You could also write text in binary. To watch a video on how to read text in binary, click here, and if you want to quickly revert text to binary, click here. Binary can also be incorporated into video games. For example, I created a video game using Scratch. Scratch is an easy way to code your own games, animations, etc. This game is a Rock Band type game, where the goal is to hit the write notes to play a song. Each combination of keys represents a binary number, which represents a specific note. To play the game, click here.
1 Comment
12/13/2021 11:13:34 pm
We all know that computers understand binary language—the language of 0 and 1. The binary code has been in use for centuries, and that's why it's commonly used in our electronic machines.
Reply
Leave a Reply. |
|