Digital Info Representation Flashcards

1
Q

If three people can each choose one piece of fruit from the available choices of banana, apple, orange, or grape (duplicates are allowed, i.e. multiple people could make the same choices), how many different permutations are there?

A

64

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

Using the scenario from the previous question (3 people choose 1 of: banana, apple, orange, or grape), what is the minimum number of bits necessary to encode this?

A

6

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

Using unsigned binary integers, 1011 + 0010 = ?

A

1101

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

What is the range of unsigned integers that can be stored in 8 bits?

A

0 - 255

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

How would you represent -2 as a 4-bit signed integer using 2’s complement notation?

A

1110

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

How would you represent -2 as a 8-bit signed integer using 2’s complement notation?

A

11111110

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

Using 16 bit unsigned hexadecimal numbers, what is 09FE + 0002 ?

A

0A00

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