Binary

Signed up to the Harvard X CS50 introduction course. I love it.

The base language of computers is 0 and 1 or ON or OFF. Basically because a computer needs electricity to run. So, a computer is either ON or OFF.

A computer runs in bits.

Bits are multiples of 2, so: 1, 2, 4, 8, 16, 32.

You add 0 and 1’s under these bits. For example if you want the number 7, its could look like this:

12481632
111000

So 1 + 2 + 4 = 7

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s