Binary System

Everything a computer does is based on ones (1) and zeroes (0), that what we called as binary system. It is the back end of all computer functioning. Binary means that there is a code of either 0 or 1 for a computer to toggle between. All computer functions will rapidly toggle between 00 or 01 at an incomprehensible speed. This is how computers have come to assist humans in tasks that would take so much longer to complete. I’ll make it clear now.  Let’s say we had two lightswitches. There are four different ways we could flip those switches:

  1. Both Off
  2. First Off, Second On
  3. First On, Second Off
  4. Both On

Binary Code takes each of those combinations and assigns a number to it, like this:

  1. Both Off = 0
  2. First Off, Second On = 1
  3. First On, Second Off = 2
  4. Both On = 3

Let’s give each lightbulb a point value. We’ll say the first lightbulb is worth two points, and the second one is worth one point. Now take a look at the combinations:

  1. Both Off = 0 + 0 = 0
  2. First Off, Second On = 0 + 1 = 1
  3. First On, Second Off = 2 + 0 = 2
  4. Both On = 2 + 1 = 3

If we added in another lightbulb, we would make it worth twice as many points as the 2 pointer. Then, if all the bulbs were on, the point value would be 4 + 2 + 1 = 7 (four plus two plus one equals seven). And if we added in another bulb, we would make it worth 8 points (twice as much as four). Now if they are all turned on, that’s worth 8 + 4 + 2 + 1 = 15. As we can see, it’s going to take a lot of lightbulbs to make a really big number! Finally, even though we’re giving point values to each of those lightbulbs, when we write them down we still only write them as ones and zeros. One means On, and Zero means Off.

So let’s say we had 8 lightbulbs, and they were set up like this:

 Off   Off   On   On  Off   On   Off   Off 

The point values of those eight bulbs are:

0 + 0 + 32 + 16 + 0 + 4 + 0 + 0

(null plus null plus thirty-two plus sixteen plus null plus four plus null plus null)

Note for reminder : We only give points if they’re turned on!

And that adds up to 52 (fifty-two). So we would say the sequence of bulbs is worth 52. But how do we write it? We write it like this: 00110100 (spell as : zero zero one one zero one zero zero).

Otherwise. The code in a computer language, with regard to text that a central processing unit or CPU of a computer will read, is based in ASCII strings that are standardized with strings of zeros and ones that represent each letter of the alphabet or numbers. ASCII stands for American Standard Code Information Interchange, which is a standard of 7 bit binary codes that will translate into computer logic to represent text, letters and symbols that humans will recognize. There are from 0 to 127 numbers or letters represented in the ASCII system.

Each binary string has eight binary bits that will look like a bunch of zeros and ones in a certain pattern unique for each letter of a word. With this type of code, 256 different possible values can be represented for the large group of symbols, letters and operating instructions that can be given to the mainframe. From these codes are derived character strings and then bit strings. Bit strings can represent decimal numbers as list below:

A

00001

B

00010

C

00011

D

00100

E

00111

F

00110

G

00111

H

01000

I

01001

J

01010

K

01100

L

01101

M

01101

N

01110

O

01111

P

10000

Q

10001

R

10010

S

10011

T

10100

U

10101

V

10110

W

10111

X

11000

Y

11001

Z

11010

 

Here are some sample questions to the students :

  1. Would you mind choosing me which one is Binary code from these options?      

A. 011010101011011000101011101101

B. printf(”0010111”)

C. { ”Object” ”models/revamped/object.mdl” }

2. Could you explain how the term ASCII is pronounced?

A. “ASK-ee.”

B. “ASK-eye, eye.”

C. “ASK-one, one.”

3. How would you write two hundred, fifty-five in binary?

A. 10000000 minus one

B. 255

C. 11111111

4. How much love do you have to me, please write it into binary code!

 

That’s all for now.,🙂

 

0101001001001101010000010100111001010011010110010100000101001000

Categories: Binary code system, Computer, Dunia ICT Umum, Pascasarjana, Teknologi Pendidikan | Tinggalkan komentar

Navigasi pos

Tinggalkan Balasan

Please log in using one of these methods to post your comment:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

Buat situs web atau blog gratis di WordPress.com.

%d blogger menyukai ini: