Digital Info Representation Flashcards
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?
64
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?
6
Using unsigned binary integers, 1011 + 0010 = ?
1101
What is the range of unsigned integers that can be stored in 8 bits?
0 - 255
How would you represent -2 as a 4-bit signed integer using 2’s complement notation?
1110
How would you represent -2 as a 8-bit signed integer using 2’s complement notation?
11111110
Using 16 bit unsigned hexadecimal numbers, what is 09FE + 0002 ?
0A00