Data Representation Flashcards

1
Q

What is the decimal system?

A

Base 10, n digits can store 10^n values, [0 - 9]

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

What is the binary system?

A

Base 2, n digits can store 2^n values, [0 - 1]

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

What is the base 1000 system?

A

n digits can store 1000^n values, 1 digit = 3 numbers, [000 - 999]

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

What is the sexagesimal system?

A

Base 60, n digits can store 60^n values, [0 - 59], used as units of time

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

What is the hexadecimal system?

A

Base 16, [0 - 15], 0 - 9 then A - F

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

What is base 256?

A

each digit can store 256^n values, [00 - FF]

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

What is a bit and byte?

A

A bit is a single binary digit, a byte is a collection of 8 digits.

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

What is a word?

A

2 bytes or 16 bits

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

What is a nibble?

A

A single hex digit

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

What is the difference between Natural numbers and integers?

A

Natural numbers range from 0 to infinity, and integers range from negative infinity to infinity

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

What is one’s compliment?

A

inverting all the bits to make a negative number

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

What is two’s compliment?

A

invert all the bits and add 1 to make a negative number

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

How can you perform binary subtraction with two’s compliment?

A

Add the two’s compliment of the smaller number to the bigger and omit the carry bit

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