Test Problems Flashcards

1
Q

How many values can be stored in 5 bits?

A

32

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

112 base 8 is equivalent to _____ in base 10

A

74

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

Convert the binary value 100011 to decimal assuming unsigned representation .

A

35

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

Hex value 2A=____ in decimal

A

42

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

Hex value 2A=____ binary

A

0010-1010

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

Binary 11000101=____ in hexadecimal

A

C5

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

What does the bit indicate when adding two UNSIGNED BINARY values?

A

Carry

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

What is the highest value that can be stored in 4 bits assuming unsigned representation ?

A

15

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

Assuming signed magnitude 8 bit representation, what is the decimal value of binary 10001010?

A

-10

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

Convert the following decimal number to binary assuming 8-bit two’s complement binary representation: 23

A

0001-0111

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

Convert the following decimal number to binary assuming 8-bit two’s complement binary representation: -23

A

1110-1001

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

Convert the binary number to decimal assuming bit two’s 8 - bit twos complement binary representation. 11101101

A

-19

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

What 4 status bits get set when adding 2 two’s complement binary numbers ?

A

C, N, O, Z

Carry, negative, overflow, zero

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

Convert the binary value 110.1 to decimal

A

6.5

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

Perform the operation on the binary value: NOT 10001001

A

0111-0110

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

Perform the operation on the binary value: NEG 10001001

A

0111-0111

17
Q

Perform the operation assuming C has an initial value of 1: ASL 1100 1001

A

1001-0010

18
Q

What is the worldwide character-encoding standard we discussed that uses 16 bits to encode characters ?

A

Unicode

19
Q

Assume the normalized value will be stored using IEE 754 SPFP : 1.101101 * 2 to the 5th power .

A

101101*17 /24.5