Binary Integers

Course Content Specification

Integers and Real Numbers

We will look at two types of numbers

Storing Numeric Data

We use the decimal (denary) or base 10 system. This means we have 10 digits : 0-9. 

Computers use the binary or base 2 system.  There are only two digits: 0 and 1.

Bits and Bytes

Each digit is known as a bit, this stands for Binary digit. There are 8 bits in a byte.

Let’s look at how a decimal integer number is made up:

Example denary number (173).

Technically this is

The same denary number (173) shown with with place values shown at the top.

Let’s look at how the same number is stored in binary: 1010 1101 = 173

Division Method of Converting


1.1 Binary Integers 23.mp4

The tutorial video above will cover the division method of converting an integer in denary to binary.

Let’s look at the same example:

Binary Number = 1010 0101

Converting from Binary to Decimal

Let’s look at converting the binary number 0110 0110 into decimal.

1 Create your table with the values in the top

2. Insert your binary value into the table.

3. Add the place values that have a binary 1 in them: 64+32+4+2 = 102

Why use the binary system?

There are three advantages why computer use the binary system.

Test Yourself Questions

Convert the decimal number 25 into binary

0001 1001

Convert the decimal number 108 into binary

0110 1100