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

You may prefer our related Brainscape-certified flashcards:
1
Q

for the following number bases, what are they to the base of?

a) decimal
b) binary
c) hexadecimal

A

a) base 10
b) base 2
c) base 16

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

benefits of hexadecimal

and give an example of what a hexadecimal value looks like

A
  • numbers are shorter
  • easier to read + write (reducing the chance of errors)

AD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what do computers use binary for?

A

to represent all data and instructions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what kind of data can a bit pattern represent?

A

text, image, sound, integer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

write down all the characters in hexadecimal (and the denary equivalent)

A

0-9 all are 0 to 9

10 to 15 are A to F
not case sensitive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is slightly strange about hexadecimal?

hint number of characters

A

it is called base 16

but the numbers only go up to 15, as they count 0 as a number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

when converting between denary and binary what are the numbers at the top of the table?

A

128 64 32 16 8 4 2 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what is a bit?

A

the fundamental unit of information (ie. either a 0 or 1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what is a byte?

A

a group of 8 bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what symbol represents a bit, which represents a byte?

A
b = bit 
B = byte
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what is a nibble?

A

half a byte (4 bits)

- like sounds exactly as it is

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

in terms of bytes, what is a kilobyte?

A

a kilobyte is 1000 bytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

draw out the table which shows how many bites are corresponding to the previous one?
(MB - GB - TB)

A
1MB = 1000KB
1GB = 1000MB
1TB = 1000GB
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

add the following binary numbers:
- 1101011

  • 0001011
A
1  1  0 1 0  1  1 
\+  0 0 0 1 0 1  1 
------------------------
    1  1 1  0 1  1  0
-------------------------
           1     1  1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

if a value is said to left shift by 16, how many places does it move?

A

x 4

2 4 8 16

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

if a value is said to right shift by 8, how many places does it move?

A

divided by 3

2 4 8

17
Q

when are binary shifts used?

A

perform simple multiplication/ division by powers of 2