Data Representation - Binary System Flashcards

1
Q

What is a binary system?

A

A number system with a base of 2. It counts in the multiples of 2.

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

Define “bit”

A

The unit of memory that is used to store a binary digit.

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

1 kilobyte = ? bytes

A

1000

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

Define “nibble”

A

The unit of memory that is used to store 4 binary digits.

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

How many binary combinations are possible in a n-bit system?

A

2^n

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

Define “overflow error”

A

An error that occurs when the maximum storage capacity of a register is exceeded.

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

What does a certain number of binary left shifts do?

A

It shifts all digits to the left by that many times, which multiplies the number by 2 to the power of the number of shifts

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

What does a certain number of binary right shifts do?

A

It shifts all digits to the right by that many times, which divides the number by 2 to the power of the number of shifts

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

What is the largest number that can be represented using 8 signed bits

A

127

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