Vous êtes sur la page 1sur 3

ECE 20

Midterm Exam
Multiple Choice. Write the letter of your choice that corresponds to your answer. Two-points credit for
every correct answer for numbers 1-20; Four-points for numbers 21-25; and eight-points for numbers
26-30.
1. If a 3-input NOR gate has eight input possibilities, how many of those possibilities will result in a
HIGH output?
a) 1
b) 2
c) 7
d) 8
2. How many inputs must a full-adder have?
a) 4
b) 2
c) 5
d) 3
3. What is the major difference between half-adders and full-adders?
a) Nothing basically; full-adders are made up of two half-adders.
b) Full adders can handle double-digit numbers.
c) Full adders have a carry input capability.
d) Half adders can handle only single-digit numbers.
4. Add the following hex numbers: 011016 + 1001016
a) 1012016
b) 1002016
c) 1112016
d) 0012016
5. The binary subtraction 0 0 =
a) difference = 0
b) difference = 1
c) difference = 1
d)
difference = 0
borrow = 0
borrow = 0
borrow = 1
borrow = 1
6. full-adder adds ________.
a) two single bits and one carry bit
c) two 4-bit binary numbers
b) two 2-bit binary numbers
d) two 2-bit numbers and one carry bit
7. What is the difference between a full-adder and a half-adder?
a) Half-adder has a carry-in.
c) Half-adder does not have a carry-out.
b) Full-adder has a carry-in.
d) Full-adder does not have a carry-out.
8. What logic function is the sum output of a half-adder?
a) AND
c) exclusive-NOR
b) exclusive-OR
d) NAND
9. The binary adder circuit is designed to add ________ binary numbers at the same time.
a) 2
b) 4
c) 6
d) 8
10. When performing subtraction by addition in the 2's-complement system:
a) the minuend and the subtrahend are both changed to the 2's-complement.
b) the minuend is changed to 2's-complement and the subtrahend is left in its original form.
c) the minuend is left in its original form and the subtrahend is changed to its 2's-complement.
d) the minuend and subtrahend are both left in their original form.
11. When 1100010 is divided by 0101, what is the decimal remainder?
a) 2
b) 4
c) 3
d) 6
12. What are the two types of basic adder circuits?
a) sum and carry
c) asynchronous and synchronous
b) half-adder and full-adder
d) one- and two's-complement
13. What is the most important operation in binary-coded decimal (BCD) arithmetic?
a) addition
b) subtraction
c) multiplication
d)
division
14. Output will be a LOW for any case when one or more inputs are zero for a(n):
a) OR gate
b) NOT gate
c) AND gate
d) NOR gate
15. The format used to present the logic output for the various combinations of logic inputs to a gate is
called

a) Boolean constant

b) Boolean variable

c) truth table

d) input logic function

16. Which of the following statements does NOT describe an advantage of digital technology?
a) The values may vary over a continuous range.
c) The operation can be programmed.
b) The circuits are less affected by noise.
d) Information storage is easy.
17. A full subtracter circuit requires ________.
a) two inputs and two outputs
c) three inputs and one output
b) two inputs and three outputs
d) three inputs and two outputs
18. The output of an AND gate is LOW ________.
a) all the time
c) when any input is HIGH
b) when any input is LOW
d) when all inputs are HIGH
19. In positive logic, ________.
a) a HIGH = 1, a LOW = 0
c) only HIGHs are present
b) a LOW = 1, a HIGH = 0
d) only LOWs are present
20. For a 4-bit parallel adder, if the carry-in is connected to a logical HIGH, the result is:
a) the same as if the carry-in is tied LOW since the least significant carry-in is ignored
b) that carry-out will always be HIGH.
c) a one will be added to the final result.
d) the carry-out is ignored.
21. Convert the fractional decimal number 6.75 to binary.
a) 0111.1100
b) 0110.1010
c) 0110.1100
d)

0110.0110
22. Convert the fractional binary number 0000.1010 to decimal.
a) 0.625
b) 0.50
c) 0.55
d) 0.10
23. Solving 11 + (2) will yield which two's-complement answer?
a) 1110 1101
b) 1111 1001
c) 1111 0011
d) 1110
1001
24. The 2's-complement system is to be used to add the signed binary numbers 11110010
and 11110011. Determine, in decimal, the sign and value of each number and their sum.
a) 113 and 114, 227
c) 11 and 16, 27
b) 14 and 13, 27
d) 27 and 13, 40
25. Convert 59.7210 to BCD.
a)
b)

111011
01011001.01110010

c) 1110.11
d) 0101100101110010

26. Multiply the following binary numbers.

1010
0011
a) 0001 1110

0001 1110
b) 0001 1110

0001 1101

1011
0111
0100
0100
0100
0100

1101
1101
1100
1101

0101
0101
0101
0101

1011
1010
1010
1010

27. Add the following hexadecimal numbers.

3C
+2
5

14
+2
8

3B
+D
C

1001
1010
c)
d)

b)
a) 60
b) 62

3C 116
c) 61 3C 117
3C 118
d) 61 3D 117
28. Perform subtraction on each of the following binary numbers by taking the two'scomplement of the number being subtracted and then adding it to the first number.
01001
01100
00011
00111
a) 01100 10011
c) 10110 10101
b) 00110 00101
d) 00111 00100
29. Convert each of the decimal numbers to 8-bit two's-complement form and then perform

subtraction by taking the two's-complement and adding.

a) 0001 0011

b) 0000 1110

c) 0010 1110

d)

1110 0000
30. The truth table for a full adder is shown below. What are the values of X, Y, and Z?

a) X = 0, Y = 1, Z = 1

b) X = 1, Y = 1, Z = 1

c) X = 1, Y = 0, Z = 1
d) X = 0, Y = 0, Z = 1

Vous aimerez peut-être aussi