3.3 - data representation (1-4) Flashcards
3.3.1 - number bases (binary/denary/hex) 3.3.2 - converting between bases 3.3.3 - units (bit, byte, MB, TB etc.) 3.3.4 - binary addition + right/left shift
for the following number bases, what are they to the base of?
a) decimal
b) binary
c) hexadecimal
a) base 10
b) base 2
c) base 16
benefits of hexadecimal
and give an example of what a hexadecimal value looks like
- numbers are shorter
- easier to read + write (reducing the chance of errors)
AD
what do computers use binary for?
to represent all data and instructions
what kind of data can a bit pattern represent?
text, image, sound, integer
write down all the characters in hexadecimal (and the denary equivalent)
0-9 all are 0 to 9
10 to 15 are A to F
not case sensitive
what is slightly strange about hexadecimal?
hint number of characters
it is called base 16
but the numbers only go up to 15, as they count 0 as a number
when converting between denary and binary what are the numbers at the top of the table?
128 64 32 16 8 4 2 1
what is a bit?
the fundamental unit of information (ie. either a 0 or 1)
what is a byte?
a group of 8 bits
what symbol represents a bit, which represents a byte?
b = bit B = byte
what is a nibble?
half a byte (4 bits)
- like sounds exactly as it is
in terms of bytes, what is a kilobyte?
a kilobyte is 1000 bytes
draw out the table which shows how many bites are corresponding to the previous one?
(MB - GB - TB)
1MB = 1000KB 1GB = 1000MB 1TB = 1000GB
add the following binary numbers:
- 1101011
- 0001011
1 1 0 1 0 1 1 \+ 0 0 0 1 0 1 1 ------------------------ 1 1 1 0 1 1 0 ------------------------- 1 1 1
if a value is said to left shift by 16, how many places does it move?
x 4
2 4 8 16