2.2 Binary arithmetic and hexadecimal Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q
What do the following binary additions equal:
0+0 = ?
1+0 or 0+1 = ?
1+1 = ?
1+1+1 = ?
A
0+0 = 0
1+0 = 1
1+1 = 0 carry the 1
1+1+1 = 1 carry the 1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the biggest number you can represent with 8 bits?

A

255 = 11111111

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

When does an overflow occur when adding 2 binary numbers?

A

When you cannot represent the number in the amount of space because the number is too big

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

Shifting to the left does what to a number?

A

Multiplies it

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

Shifting to the right does what to a number?

A

Divides it

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

How is 10 to 16 represented in hex?

A

10 = A 11 = B 12 = C 13 = D 14 = E 15 = F 16 = 10

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

How would you convert denary to hex?

A

2 ways:
convert denary to binary then binary to hex
divide the denary number by 16 to find how many groups of 16 there are and the remainder and put together

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

Name some uses of hexadecimal.

A

picking colours for a graphic

used in assembly language instructions

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