Digital Arithmetic Operations and Circuits
Digital Arithmetic Operations and Circuits
4. Solving –11 + (–2) will yield which two's- 7. Add the following hexadecimal numbers.
complement answer?
3C 14 3B Answer: Option B
+25 +28 +DC
A. 60 3C 116 11. The most commonly used system for
representing signed binary numbers is
B. 62 3C 118 the:
A. 2's-complement system.
C. 61 3C 117
B. 1's-complement system.
D. 61 3D 117
Answer: Option C C. 10's-complement system.
D. sign-magnitude system.
8. Solve this BCD problem: 0100 + 0110 = Answer: Option A
A. 00010000BCD
Constants do not exist in VHDL 13. The decimal value for E16 is:
D.
code.
A. 1210
Answer: Option A
B. 1310
C. 1410
10. The 2's-complement system is to be used D. 1510
to add the signed binary numbers
11110010 and 11110011. Determine, in Answer: Option C
decimal, the sign and value of each
number and their sum.
A. –113 and –114, –227 14. Fast-look-ahead carry circuits found in
most 4-bit full-adder circuits:
B. –14 and –13, –27 A. determine sign and magnitude
C. –11 and –16, –27 B. reduce propagation delay
D. –27 and –13, –40 C. add a 1 to complemented inputs
D. increase ripple delay A. 111010
Answer: Option B B. 110110
C. 110101
15. Add the following hex numbers: 011016 +
1001016 D. 101011
A. 1012016 Answer: Option C
B. 1002016
19. Convert each of the following signed
C. 1112016 binary numbers (two's-complement) to a
signed decimal number.
D. 0012016
00000101 11111100 11111000
Answer: Option A
A. –5 +4 +8
difference = 1
C.
borrow = 1 20. How many basic binary subtraction
operations are possible?
difference = 0
D. A. 4
borrow = 1
Answer: Option A B. 3
C. 2
17. Convert each of the decimal numbers to D. 1
8-bit two's-complement form and then
perform subtraction by taking the two's- Answer: Option A
complement and adding.
21. If [A] = 1011 1010, [B] = 0011 0110, and
[C] = [A] • [B], what is [C 4..2] in decimal?
A. 0001 0011 A. 1
B. 0000 1110 B. 2
C. 0010 1110 C. 3
D. 1110 0000 D. 4
18. Adding in binary, a decimal 26 + 27 will 22. Using 4-bit adders to create a 1See
produce a sum of: Section 6-bit adder:
A. requires 16 adders. 25. When 1100010 is divided by 0101, what is
the decimal remainder?
B. requires 4 adders. A. 2
requires the carry-out of the less B. 3
significant adder to be connected
C.
to the carry-in of the next significant C. 4
adder.
D. 6
requires 4 adders and the
Answer: Option B
connection of the carry out of the
D.
less significant adder to the carry-in
of the next significant adder. 26. One way to make a four-bit adder perform
Answer: Option D subtraction is by:
A. inverting the output.
30. The truth table for a full adder is shown 33. How many inputs must a full-adder have?
below. What are the values of X, Y, A. 4
and Z?
B. 2
C. 5
D. 3
Answer: Option D
34.
A. 10011110
A. X = 0, Y = 1, Z = 1 B. 01211110
B. X = 1, Y = 1, Z = 1 C. 000100000100
C. X = 1, Y = 0, Z = 1 D. 001000001000
D. X = 0, Y = 0, Z = 1 Answer: Option C
Answer: Option B
B. 00101010 B. 13516
C. 01110010 C. 03516
D. 00111100 D. 33516
Answer: Option B Answer: Option B
B. False
43. What is one disadvantage of the ripple-
Answer: Option B carry adder?
The interconnections are more Answer: Option C
A.
complex.
More stages are required to a full 47. When multiplying 13 × 11 in binary, what
B.
adder. is the third partial product?
D. 100001
44. Solve this binary problem: 01000110 ÷ Answer: Option B
00001010 =
A. 0111
48. How many BCD adders would be required
B. 10011 to add the numbers 97310 + 3910?
C. 1001 A. 3
D. 0011 B. 4
Answer: Option A C. 5
D. 6
45 Divide the following binary numbers. Answer: Option A
.
B. –128 to +127
C. +128 to –127
D. +127 to –127
The CO terminal is shorted to
A. Answer: Option B
ground.
C. 01101
65. The summing outputs of a half- or full-
adder are designated by which Greek D. 10011
symbol?
Answer: Option A
A. omega
68. Solve this binary problem: C 0011 0101 0110 1010 1000 0
. 111
D. NAND
B. False
Exercise :: Digital Arithmetic
Operations and Circuits - True or False Answer: Option A
1. An ALU is a multipurpose device capable
of providing several different logic
operations. 7. Overflow indicators in ALU circuits
indicate when add or subtract operations
A. True produce results that are too large to fit into
four bits.
B. False
A. True
Answer: Option A
B. False
Answer: Option A
2. BCD arithmetic is performed using base
10 numbers.
A. True 8. The inputs of a full adder are
labeled A1, B1, and Cin.
B. False
A. True
Answer: Option B
B. False
Answer: Option A
3. A full adder has a carry-in.
A. True 9. Larger number capacities may be
obtained from 2-bit adders by paralleling
B. False
them.
Answer: Option A
A. True
B. False
4. Hexadecimal is a base 4 numbering Answer: Option A
system.
A. True
11. 111010002 is the 2's-complement
B. False
representation of –24.
Answer: Option B
A. True
B. False
5. The solution to the binary problem Answer: Option B
00110110 – 00011111 is 00011000.
A. True
12. The look-ahead-carry adder is slower than
B. False
the ripple-carry adder because it requires
Answer: Option B additional logic circuits.
A. True
B. False
Answer: Option B 18. A sign bit of "1" in the difference of a 2's-
complement subtraction problem indicates
the magnitude is negative and in true
binary form.
13. The solution to the binary problem 1011 ×
0110 is 01100110. A. True
A. True B. False
B. False Answer: Option B
Answer: Option B
Answer: Option A
29. The carry-out of a binary adder is
identified using the summation symbol,
24. The representation of –110 in eight-bit sigma.
two's-complement notation is 11110111.
A. True
A. True
B. False
B. False
Answer: Option B
Answer: Option B
B. False
35. A 74HC283 can be used to implement a Answer: Option B
4-bit full adder.
A. True
Exercise :: Digital Arithmetic
B. False Operations and Circuits - Filling the
Blanks
Answer: Option A
1. In VHDL, the architecture declaration
always begins with the ________ of
36. The range of negative numbers when variable signals or components that will
using an eight-bit two's-complement be used in the concurrent description
system is –1 to –128. between BEGIN and END.
A. True A. type
B. False B. vectors
Answer: Option A C. functions
D. declarations
37. If no bits are designated inside square Answer: Option D
braces, [ ], it means the variable is the null
set.
A. True 2. When decimal numbers with several digits
are to be added together using BCD
B. False adders ________.
Answer: Option B a separated BCD adder is required
A.
for each digit position
38. This logic gate is used to produce an the BCD adders must have the
B.
arithmetic sum XOR. carry-outs grounded
A. True C. the BCD's must be grouped in twos
B. False D. full adders are also used
Answer: Option A Answer: Option A
39. The solution to the binary problem 0101 + 3. The binary adder circuit is designed to
1111 is 10100. add ________ binary number(s) at a time.
A. True A. 1
B. False B. 3
C. 2 D. 5077
D. 5 Answer: Option C
Answer: Option C
8. In BCD addition, the value ________ is
added to any invalid code group.
4. The 74HC382 ALU can perform
________ operations. A. 010101
A. 2 B. 0U812
B. 4 C. 100110
C. 8 D. 0110
D. 16 Answer: Option D
Answer: Option C
9. In AHDL macrofunctions, the first thing
that should go into any source file is
5. Subtraction of the 2's-complement system ________ your code.
actually involves the operation of
________. A. a field of comments that documents
A. multiplication B. a library of
Answer: Option C
10 The circuit shown is a(n) ________.
6. The carry-out of a full adder is ________. .
A.
B.
C.
D.
Answer: Option D A. multiplexer
B. adder
7. FC48 – AB91 = ________.
C. comparator
A. 5B77
D. converter
B. 5267
Answer: Option B
C. 50B7
11. The binary addition of 1 + 1 = ________.
sum = 1 15. –910 represented in eight-bit two's-
A.
carry = 1 complement notation is ________.
sum = 0 A. 11110111
B.
carry = 0
B. 11111001
sum = 1
C. C. 11110110
carry = 0
sum = 0 D. 01111101
D.
carry = 1 Answer: Option A
Answer: Option D
16. Solve this binary problem: 01011000 ÷
00001011 = ________.
12. A 74HC283 can be used to implement
a(n) ________ adder. A. 1010
Answer: Option C
17. If [A] = 10 and [B] = 01, then [A] [b] =
________.
13. The two's complement of 00001111 is
________. A. [00]
A. 11111111 B. 00
B. 11110000 C. 11
C. 11110001 D. [11]
D. 11110111 Answer: Option C
Answer: Option C
22. Solve this binary problem: 1001 × 1100 = 26. The binary subtraction 1 – 1 = ________.
________. difference = 0
A.
A. 01110001 borrow = 0
B. 01111000 difference = 1
B.
borrow = 0
C. 01101100
difference = 1
C.
D. 01101110 borrow = 1
Answer: Option C
difference = 0 30. Solve this BCD problem: 0101 + 0110 =
D. ________.
borrow = 1
Answer: Option A A. 00010111BCD
B. 00001001BCD
B. multiplier
C. nine
D. two
Answer: Option A
B. sign
C. surrogate
D. 2's-complement
Answer: Option D