Binary Numbers and Integer Representations Flashcards

1
Q

Binary Numbers are?

A

Base 2
Only use the binary digits 0 and 1
Easy to encode on a compute since only 2 states need to be distinguished

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

Unsigned Integers are?

A

Encoded using binary numbers

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

Signed Integers are?

A

Most commonly encoded using the two’s complement representation

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

The process to negate a number is?

A

Take the one’s complement by changing all 0s to 1s and vise-versa.
Add 1 to the result

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

Hexadecimal Numbers are?

A

Base 16
Use the digits 0-9, A-F
Are commonly used as a shorthand for denoting 4-bit patterns

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

Octal Numbers are?

A

Base 8
Use the digits 0-7
May be shorthand for denoting 3-bit patterns

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

What are the different data types?

A
Byte (8 bits)
Halfword (16 bits)
Word (32 bits)
Doubleword (64 bits)
Quadword (128 bits)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly