CHAPTER07 QUESTIONS MULTIPLE CHOICE. Choose … · CHAPTER07 QUESTIONS MULTIPLE CHOICE. Choose the...
Transcript of CHAPTER07 QUESTIONS MULTIPLE CHOICE. Choose … · CHAPTER07 QUESTIONS MULTIPLE CHOICE. Choose the...
CHAPTER07 QUESTIONS
MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.
1) When using signed two's complement notation, what is the decimal value of 00010001? 1)A) -47 B) +37 C) -149 D) +17
2) Solve this binary problem: 1001-0100
2)
A) 0101 B) 0110 C) 0111 D) 0100
3) Solve this binary problem: 0110+ 0011
3)
A) 0111 B) 0100 C) 1001 D) 1000
4) In an eight-bit system the high-order bits 4)A) are on the left.B) have lesser magnitude than low-order bits.C) are on the right.D) are on the right and have lesser magnitude than low-order bits.
5) Solve this binary problem: 0110÷0010
5)
A) 0111 B) 0101 C) 0011 D) 0010
6) The binary subtraction 1 - 1 = 6)A) difference = 1
borrow = 0B) difference = 0
borrow = 1C) difference = 1
borrow = 1D) difference = 0
borrow = 0
7) The binary addition of 0 + 1 = 7)A) sum = 0
carry = 1B) sum = 1
carry = 1C) sum = 0
carry = 0D) sum = 1
carry = 0
8) Solve this binary problem: 1010-0100
8)
A) 0011 B) 0110 C) 0010 D) 0001
9) If the most significant bit of a signed binary number is 1, that number is 9)A) positive. B) incorrect. C) negative. D) an octal value.
10) Solve this binary problem: 0011-0001
10)
A) 0011 B) 0010 C) 0001 D) 0000
11) Solve this binary problem: 1000-0001
11)
A) 0111 B) 1001 C) 0101 D) 0110
1
12) Solve this binary problem: 1000×0011
12)
A) 00010111 B) 00011110 C) 00011000 D) 00001110
13) When borrowing for hexadecimal subtraction; you are borrowing 13)A) 2. B) 8. C) 16. D) 32.
14) Solve this binary problem: 01011000÷00001011
14)
A) 0110 B) 1010 C) 1000 D) 1110
15) The binary addition of 1 + 0 + 0 = 15)A) sum = 1
carry = 1B) sum = 1
carry = 0C) sum = 0
carry = 0D) sum = 0
carry = 1
16) To specify that an ALU is to function in arithmetic mode, the mode control is set to 16)A) L. B) N. C) M. D) H.
17) When using signed two's complement notation, what is the decimal value of 00101111? 17)A) +47 B) +45 C) -208 D) -63
18) How is -910 represented in eight-bit two's complement notation? 18)A) 01111101 B) 11110111 C) 11110110 D) 11111001
19) Solve this binary problem: 1100×0111
19)
A) 01011110 B) 01010100 C) 00111110 D) 01100010
20) What is the hexadecimal symbol for decimal 10? 20)A) B B) C C) A D) H
21) Solve this binary problem: 0101×0011
21)
A) 1011 B) 1111 C) 0111 D) 0011
22) What is the two's complement of 00001111? 22)A) 11110001 B) 11110111 C) 11110000 D) 11111111
23) Solve this binary problem: 0101+1111
23)
A) 10101 B) 11000 C) 10111 D) 10100
24) How is -11210 represented in eight-bit two's complement notation? 24)A) 10010000 B) 11001100 C) 10110010 D) 10110000
25) The binary subtraction 0 - 0 = 25)A) difference = 1
borrow = 0B) difference = 0
borrow = 1C) difference = 1
borrow = 1D) difference = 0
borrow = 0
2
26) The range of negative numbers possible in an eight-bit two's complement system is 26)A) -1 to -128. B) -1 to -255. C) -1 to -127. D) -1 to -256.
27) The binary addition of 1 + 1 + 1 + 1 = ________. 27)A) 00012 B) 10012 C) 01002 D) 11112
28) Adder circuits that add all the bits without waiting for the carries to propagate are avoiding delaysdue to
28)
A) high-order bits. B) ripple.C) errors. D) low-order bits.
29) Solve this binary problem: 101101x 1011
29)
A) 1011011112 B) 1111011112 C) 1101011112 D) 1111111112
30) When using signed two's complement notation, what is the decimal value of 11010011? 30)A) -41 B) -63 C) -35 D) -45
31) Which logic gate is used to produce the carry output of a half-adder? 31)A) OR B) AND C) NAND D) XOR
32) Solve this binary problem: 1011-0111
32)
A) 0110 B) 0100 C) 1000 D) 0111
33) The range of positive numbers possible in an eight-bit two's complement system is 33)A) 0 to 64. B) 0 to 127. C) 0 to 256. D) 0 to 100.
34) Solve this BCD problem: 1000+0010
34)
A) 0001 0010BCD B) 0000 1010BCD C) 0001 1000BCD D) 0001 0000BCD
35) A half-adder 35)A) has no carry-in. B) does not use XOR.C) has a carry-in. D) has no carry-out.
36) Solve this binary problem: 1010+0011
36)
A) 1111 B) 10110 C) 01101 D) 10011
37) Solve this binary problem: 10000000-00001111
37)
A) 01110001 B) 10000000 C) 01111111 D) 10000001
38) A four-bit adder can perform 38)A) subtraction. B) logical AND. C) addition. D) all of the above
39) VHDL software determines the number of inputs and outputs based upon specified 39)A) integer. B) value. C) sign. D) range.
3
40) How is -12710 represented in eight-bit two's complement notation? 40)A) 11111110 B) 10000111 C) 10001111 D) 10000001
41) Solve this binary problem: 10110110+01111000
41)
A) 100001110 B) 100101110 C) 100001100 D) 111100110
42) Solve this binary problem: 01110000-00011000
42)
A) 01101000 B) 01010000 C) 01011000 D) 00011000
43) How is -110 represented in eight-bit two's complement notation? 43)A) 11111110 B) 11110111 C) 11111111 D) 11110001
44) What is the two's complement of 01001110? 44)A) 10110010 B) 10111111 C) 10011110 D) 00111110
45) Solve this BCD problem: 0101+0110
45)
A) 0001 0011BCD B) 0001 0111BCD C) 0001 0001BCD D) 0000 1001BCD
46) Solve this binary problem: 1001×1100
46)
A) 01101110 B) 01101100 C) 01110001 D) 01111000
47) A complete full-adder can add 47)A) 2 bits. B) 4 bits and a carry-in.C) 2 bits and a carry-in. D) 4 bits.
48) Solve this binary problem: 00010111+00101001
48)
A) 01000000 B) 00101111 C) 01100000 D) 00110011
49) What is the two's complement of 01101010? 49)A) 10010110 B) 10010100 C) 10011110 D) 10010101
50) Solve this BCD problem: 0100+0110
50)
A) 0001 0111BCD B) 0001 0011BCD C) 0001 0000BCD D) 0000 1011BCD
51) Solve this binary problem: 01110010-01001000
51)
A) 00011010 B) 00111100 C) 00101010 D) 01110010
52) The binary addition of 1 + 1 + 1 = 52)A) sum = 0
carry = 1B) sum = 1
carry = 0C) sum = 1
carry = 1D) sum = 0
carry = 0
4
53) Two's complement representation can represent 53)A) both positive and negative numbers. B) only numbers greater than 8 bits.C) negative numbers. D) positive numbers.
54) Solve this BCD problem: 0110+0110
54)
A) 0001 0011BCD B) 0001 0100BCD C) 0001 0010BCD D) 0000 1100BCD
55) Solve this binary problem: 0110-0010
55)
A) 1000 B) 0100 C) 0110 D) 0011
56) Solve this binary problem: 01101110+00100010
56)
A) 10010000 B) 11001001 C) 01101110 D) 01110110
57) Solve this BCD problem: 0111+0111
57)
A) 0000 1111BCD B) 0001 0011BCD C) 0001 0100BCD D) 0000 1110BCD
58) How is -6710 represented in eight-bit two's complement notation? 58)A) 10111101 B) 10011000 C) 11100111 D) 01100111
59) When using signed two's complement notation, what is the decimal value of 11101100? 59)A) -20 B) +175 C) -64 D) -26
60) Solve this binary problem: 00111001+01001001
60)
A) 01000010 B) 11000010 C) 10000010 D) 111000000
61) The binary addition of 1 + 1 + 0 = 61)A) sum = 0
carry = 0B) sum = 1
carry = 1C) sum = 1
carry = 0D) sum = 0
carry = 1
62) Solve this binary problem: 1000+1001
62)
A) 10001 B) 1111 C) 10111 D) 11001
63) Solve this binary problem: 01000110÷00001010
63)
A) 10011 B) 1001 C) 0011 D) 0111
64) Negative two's complement values can be converted to decimal by 64)A) subtracting 1. B) doing a one's complement first.C) subtracting 2. D) adding 2.
65) What is the two's complement of 00001000? 65)A) 11111000 B) 11111100 C) 00000111 D) 01111000
5
66) Solve this BCD problem: 0111+0110
66)
A) 0001 1000BCD B) 0001 0011BCD C) 0000 1001BCD D) 0001 0001BCD
67) The two's complement representation of +9310 is ________. 67)A) 110111012 B) 101001102 C) 010111012 D) 001000112
68) Solve this binary problem: 1110÷0010
68)
A) 0111 B) 1001 C) 1010 D) 0101
69) What is the hexadecimal symbol for decimal 12? 69)A) A B) B C) C D) D
70) The binary addition of 1 + 0 = 70)A) sum = 0
carry = 0B) sum = 0
carry = 1C) sum = 1
carry = 1D) sum = 1
carry = 0
71) Solve this binary problem: 11001111-01110000
71)
A) 10001111 B) 01111111 C) 01101111 D) 01011111
72) Solve this binary problem: 0110+1001
72)
A) 10000 B) 10001 C) 11001 D) 1111
73) Solve this binary problem: 1011-0101
73)
A) 0110 B) 1000 C) 1010 D) 0101
74) The two's complement of the binary number 0101101012 is ________. 74)A) 1010010002 B) 1010010112 C) 0110010102 D) 1010010102
75) One way to make a four-bit adder perform subtraction is by 75)A) inverting the output. B) grounding the B inputs.C) inverting the carry-in. D) inverting the B inputs.
76) Solve this BCD problem: 1001+0111
76)
A) 0001 0110BCD B) 0001 0010BCD C) 0010 0010BCD D) 0001 1000BCD
77) What is the hexadecimal symbol for decimal 13? 77)A) E B) H C) C D) D
78) In VHDL two logic circuits that are executed at the same time are called 78)A) concurrent. B) consistent. C) simultaneous. D) bipolar.
6
79) The binary subtraction 1 - 0 = 79)A) difference = 1
borrow = 0B) difference = 0
borrow = 1C) difference = 0
borrow = 0D) difference = 1
borrow = 1
80) Solve this binary problem: 0110×1001
80)
A) 00011110 B) 00111000 C) 00110110 D) 00110000
81) A full-adder has 81)A) no carry-in. B) no carry-out. C) three outputs. D) a carry-in.
82) Solve this binary problem: 11001000-00110101
82)
A) 10010011 B) 01110011 C) 10000101 D) 11000101
83) Solve this binary problem: 1011×0110
83)
A) 01100110 B) 01000110 C) 01000010 D) 00111110
84) When using signed two's complement notation, what is the decimal value of 11100000? 84)A) -32 B) -212 C) -100 D) -96
85) The binary subtraction 0 - 1 = 85)A) difference = 0
borrow = 1B) difference = 0
borrow = 0C) difference = 1
borrow = 1D) difference = 1
borrow = 0
86) An ALU can perform 86)A) logical OR. B) subtraction. C) addition. D) all of the above
87) In an eight-bit system the low-order bits 87)A) have lesser magnitude than high-order bits.B) are on the left.C) are on the right.D) Both A and C are correct.
88) Solve this binary problem: 1111+0011
88)
A) 1111 B) 10010 C) 11100 D) 10111
89) How is -7710 represented in eight-bit two's complement notation? 89)A) 11001011 B) 11101100 C) 10011110 D) 10110011
90) In VHDL in order to specify an input or output as some value other than 1 or 0 you must use adata type called
90)
A) complex. B) integer. C) rational. D) multiplex.
91) The maximum value that can be represented by an eight-bit binary number is 91)A) 128. B) 100. C) 255. D) 225.
7
92) Solve this binary problem: 00110110-00011111
92)
A) 00011111 B) 00010111 C) 00011000 D) 00100111
93) Solve this binary problem: 1010-0100
93)
A) 0110 B) 1000 C) 1111 D) 1010
94) Subtraction can be done by 94)A) inverting all bits.B) adding the two's complement to 2.C) adding 2.D) adding the two's complement of each number.
95) Solve this binary problem: 0010+1101
95)
A) 10001 B) 1011 C) 1111 D) 10000
96) What is the hexadecimal symbol for decimal 15? 96)A) A5 B) F C) E D) H
97) The sign bit is 97)A) 1 for negative. B) 0 for positive.C) found in the MSB position. D) all of the above
98) How is -3210 represented in eight-bit two's complement notation? 98)A) 11100010 B) 11101110 C) 11110100 D) 11100000
99) Solve this binary problem: 10101111÷00011001
99)
A) 1111 B) 1001 C) 10011 D) 0111
100) Solve this binary problem: 01100100÷00000101
100)
A) 11000 B) 10100 C) 10000 D) 10010
101) Solve this binary problem: 0110+0110
101)
A) 1100 B) 1110 C) 10010 D) 10110
102) To specify that an ALU is to function in logic mode, the mode control is set to 102)A) M. B) L. C) H. D) N.
103) What is the hexadecimal symbol for decimal 11? 103)A) B B) F C) A D) H
104) Solve this binary problem: 1011-1000
104)
A) 0010 B) 0110 C) 0011 D) 0001
8
105) How is -1510 represented in eight-bit two's complement notation? 105)A) 00001111 B) 11111001 C) 11111111 D) 11110001
106) Solve this binary problem: 01000111+00111011
106)
A) 10001010 B) 10011100 C) 10000010 D) 11000010
107) Solve this binary problem: 1111+0111
107)
A) 11011 B) 10100 C) 10011 D) 10110
108) When using signed two's complement notation, what is the decimal value of 11110001? 108)A) -19 B) +175 C) -35 D) -15
109) What is done if a BCD addition yields an invalid value? 109)A) add 8 to the value B) shift the bits one position to the leftC) shift the bits one position to the right D) add 6 to the value
110) Solve this BCD problem: 0101+0100
110)
A) 0001 0111BCD B) 0001 0001BCD C) 0001 0011BCD D) 0000 1001BCD
111) Which of the following is not a valid BCD value? 111)A) 0010 B) 1010 C) 1000 D) 1001
112) Solve this binary problem: 10001011+00111010
112)
A) 10111111 B) 11001100 C) 10111110 D) 11000101
113) Solve this binary problem: 1111-0110
113)
A) 1000 B) 1001 C) 1100 D) 0001
114) Which logic gate is used to produce an arithmetic sum? 114)A) NOR B) OR C) XOR D) AND
115) Quartus II software provides ________ to ease the design process for common systems like addersand ALUs.
115)
A) LPMs B) PLAs C) PLCs D) SUMs
116) The binary addition of 1 + 1 = 116)A) sum = 0
carry = 0B) sum = 1
carry = 0C) sum = 0
carry = 1D) sum = 1
carry = 1
117) What is the hexadecimal symbol for decimal 14? 117)A) D B) A C) F D) E
9
118) Solve this binary problem: 1111+1001
118)
A) 1111 B) 11000 C) 10111 D) 11111
119) To make an eight-bit adder from two four-bit adders you must connect 119)A) the low-order carry-out to high-order carry-in.B) the high-order carry-out to ground.C) the low-order sum to the high-order data input.D) the high-order carry-in to ground.
120) Solve this binary problem: 1111×0011
120)
A) 00101101 B) 00011111 C) 00110001 D) 01000101
121) Solve this binary problem: 0111×0100
121)
A) 00011110 B) 00011000 C) 00011100 D) 00011010
122) Solve this binary problem: 1001-0010
122)
A) 1011 B) 0111 C) 1001 D) 0101
123) The two's complement of the signed decimal number -7810 is ________. 123)A) 110011102 B) 010011102 C) 101100102 D) 101100012
10
Answer KeyTestname: CHAP07Q
1) D2) A3) C4) A5) C6) D7) D8) B9) C
10) B11) A12) C13) C14) C15) B16) A17) A18) B19) B20) C21) B22) A23) D24) A25) D26) A27) C28) B29) B30) D31) B32) B33) B34) D35) A36) C37) A38) C39) D40) D41) B42) C43) C44) A45) C46) B47) C48) A49) A50) C
11
Answer KeyTestname: CHAP07Q
51) C52) C53) A54) C55) B56) A57) C58) A59) A60) C61) D62) A63) D64) B65) A66) B67) C68) A69) C70) D71) D72) D73) A74) B75) D76) A77) D78) A79) A80) C81) D82) A83) C84) A85) C86) D87) D88) B89) D90) B91) C92) B93) A94) D95) C96) B97) D98) D99) D
100) B12
Answer KeyTestname: CHAP07Q
101) A102) C103) A104) C105) D106) C107) D108) D109) D110) D111) B112) D113) B114) C115) A116) C117) D118) B119) A120) A121) C122) B123) C
13