Number Storage Flashcards

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

What are the rules for adding binary numbers

A

0 + 0 = 0
1+ 0 = 1
0 + 1 = 1
1 +1 = 0^1
1 + 1 + 1 = 1^1

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

Compare binary and denary

A

Binary is a base 2 number system(0 and 1) while densely is a base 10 number system(0 to 9)

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

Add 10001101 and 01001000

A

11010101

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

Explain what an overflow error is

A

Occurs when an extra carried bit cannot fit into the bits provided. Leading to a loss of data and a loss of accuracy that could also cause the software to crash.

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

What is a binary shift

A

Used to divide or multiply binary numbers left or right.
To shift left the amount of digits at the front are moved to the back.(all 0s)
To shift right the amount of digits at the back are moved to the front.

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

Shift left by 4 places 10101101

A

11010000

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

Shift right by 2 places 01110111

A

00011101

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

What is hexadecimal

A

A Base 16 number system using 16 possible values. Used because very few characters are needed compared to write the same value.

This makes it easier for humans as a single hex represents any denary number. And double digit numbers are converted into letters. E.g A9

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

Why is hexadecimal preferred over binary(3)

A

It’s simple to remember large numbers in hex because double digit numbers are converted into letters. E.g A9.

Because hex is shorter it is less prone to errors

This makes it easier for humans as a single hex represents any denary number making conversion between binary and hex easier than binary and denary.

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

Convert the hex 87 into denary

A

16 | 1
8 7

8 x 16 = 128
128 + 7 = 135

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

Convert the denary number 106 into hex

A

106 / 16( table) = 6 remainder 10
16 | 1
6. A
=6A

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

Convert 10110011 from binary into Hex

A

B3

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

Convert FA from hex to binary

A

11111010

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