Save
...
compsci
units and data representation
binary and denary
Save
Share
Learn
Content
Leaderboard
Learn
Created by
Dion
Visit profile
Cards (6)
Denary is a number system made up of 10 digits (0-9)
referred to as a
Base-10
number system
Each digit has a
weight
factor of 10 raised to a
power
, the rightmost digit is 1s (10 ), the next digit to the left 10s (10 ) and so on
Humans use the denary system for counting, measuring and performing maths calculations
Binary is a number system that is made up of two digits (1 and 0)
Binary is referred to as a
Base-2
number system
Each digit has a weight factor of 2 raised to a power, the rightmost digit s 1s (2 ), the next digit to the left 2s (2 ) and so on
numbers:
128
(2^
7
),
64
,
32
,
16
,
8
,
4
, 2, 1
Why do computers use binary?
The CPU is made up of billions of tiny transistors, transistors can only be in a state of
on
or
off
Computers use binary numbers to represent data (1 = on, 0 = off)
binary to denary
A)
0
1
denary to binary
A)
subtracted
1
2^7 highest denary number is
255