1.4.1 Data Types Flashcards

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

What is a mantissa?

A

A number to be multiplied by an exponent

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

What is an exponent?

A

A number representing the power to which a mantissa is to be multiplied by

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

What is positive floating point normalisation?

A

Sign bit of 0, and the next digit is a 1

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

What is negative floating point normalisation?

A

Sign bit of 1, and the next digit is a 0

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

What is Bitwise manipulation?

A

Moving binary numbers left or right to
multiply or divide.

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

What is Bitwise shift?

A

Multiplies or divides a binary number by
moving digits right or left.

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

What is a logical shift?

A

Moves all bits to the right or left. Fill gaps with
0s.

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

What is arithmetic shift?

A

Shifts bits while maintaining the sign bit

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

What are the rules when dividing and multiplying during an arithmetic shift?

A

If dividing:
* If the MSB is 1, feed in 1’s into the gap
after the MSB.
* If it’s 0, feed in 0’s.

If multiplying:
* Feed in 0’s.

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

What is a circular shift?

A

A shift that moves a bit into the carry bit at
one end, and takes a bit out at the other.

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

What are the rules when dividing and multiplying during a circular shift?

A

If dividing:
* The LSB goes into the MSB.
If multiplying:
* The MSB goes into the LSB.

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

How do AND masks work?

A

0s set to 0, 1s keep the original bit

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

How do OR masks work?

A

1s set to 1, 0s keep the original bit

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

How do XOR masks work?

A

0s keep the original bit, 1s NOT the original
bit.

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