Documente Academic
Documente Profesional
Documente Cultură
MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.
1) Which data and parity bit combination is correct for an ODD parity data transmission system? 1)
A) data = 1110 0000 B) data = 0100 1010
parity = 1 parity = 1
C) data = 0000 0000 D) data = 1111 1111
parity = 0 parity = 1
2) During which time interval(s) will output X of this XNOR timing diagram be HIGH? 2)
3) Which data and parity bit combination is correct for an ODD parity data transmission system? 3)
A) data = 0001 0101 B) data = 1101 1011
parity = 1 parity = 1
C) data = 1010 1111 D) data = 1101 0010
parity = 0 parity = 0
4) An even-parity checker indicates a parity error for which received data and parity bit? 4)
A) data = 1111111 B) data = 1001001 C) data = 1110000 D) data = 0000000
parity = 1 parity = 0 parity = 1 parity = 0
6) During which time interval(s) will output X of this XNOR timing diagram be LOW? 6)
7) In an even-parity system, which of the following will generate a LOW (0) parity bit? 7)
A) 1110101 B) 1001111 C) 1011010 D) 1000000
8) When the inputs to an exclusive-OR gate are the same logic level, the output is 8)
A) zero. B) one. C) HIGH. D) cannot tell
1
9) Which of these circuits requires use of an exclusive-OR or an exclusive-NOR gate? 9)
A) parity checker B) comparator
C) parity generator D) all of the above
10) A HIGH output if one or the other inputs is HIGH, but not both; describes a(n) ________ gate. 10)
A) AND B) XOR C) XNOR D) OR
11) Which data and parity bit combination is correct for an EVEN parity data transmission system? 11)
A) data = 10010011 B) data = 11000011
parity = 1 parity = 0
C) data = 10001100 D) data = 11001000
parity = 0 parity = 0
13) An odd-parity checker would indicate a parity error for which received data and parity bit? 13)
A) data = 0001011 B) data = 1100101 C) data = 1111110 D) data = 0000000
parity = 0 parity = 1 parity = 0 parity = 1
16) Which data and parity bit combination is correct for an EVEN parity data transmission system? 16)
A) data = 1010 0011 B) data = 0000 1000
parity = 0 parity = 0
C) data = 1101 0100 D) data = 1101 0110
parity = 1 parity = 0
17) In an odd-parity system, which of the following will generate a HIGH (1) parity bit? 17)
A) 1100000 B) 1111000 C) 1010011 D) all of the above
18) An odd-parity checker would indicate no parity error for which received data and parity bit? 18)
A) data = 0000000 B) data = 1111110 C) data = 1011100 D) data = 1111111
parity = 1 parity = 0 parity = 0 parity = 1
19) If the same signal is connected to both inputs of an XOR gate, the output is 19)
A) a clock waveform. B) LOW.
C) undetermined. D) HIGH.
2
20) How many XNOR gates does it take to make a 4 bit binary comparator? 20)
A) 2 B) 4 C) 8 D) 16
22) How many XOR gates does it take to make an 8-bit controlled inverter? 22)
A) 4 B) 8 C) 16 D) 32
23) During which time interval(s) will output X of this XOR timing diagram be LOW? 23)
24) Which data and parity bit combination is correct for an ODD parity data transmission system? 24)
A) data = 1101 0101 B) data = 0000 0001
parity = 1 parity = 0
C) data = 0000 0011 D) data = 0001 0000
parity = 0 parity = 1
25) Which data and parity bit combination is correct for an EVEN parity data transmission system? 25)
A) data = 1000 0011 B) data = 1111 1111
parity = 0 parity = 1
C) data = 0000 0000 D) data = 0000 0001
parity = 0 parity = 0
26) In an even-parity system, which of the following will generate a HIGH (1) parity bit? 26)
A) 1011001 B) 1111011 C) 1000110 D) 1000100
27) What is the correct set of output values for this XOR truth table? 27)
A B X
0 0
0 1
1 0
1 1
A) X = 0 B) X = 0 C) X = 0 D) X = 0
1 1 0 0
1 1 1 0
1 0 1 1
3
28) During which time interval(s) will output X of this XOR timing diagram be HIGH? 28)
29) When the inputs to an exclusive-NOR gate are unequal, the output is 29)
A) HIGH. B) zero. C) one. D) cannot tell
31) An even-parity checker indicates a parity error for which received data and parity bit? 31)
A) data = 1111101 B) data = 1100000 C) data = 0001100 D) data = 1000011
parity = 0 parity = 1 parity = 0 parity = 1
32) Which data and parity bit combination is correct for an EVEN parity data transmission system? 32)
A) data = 1110 0110 B) data = 1001 0000
parity = 1 parity = 1
C) data = 1010 1111 D) data = 0011 0111
parity = 1 parity = 0
33) In an even-parity system, which of the following will generate a LOW (0) parity bit? 33)
A) 0000101 B) 1000110 C) 1011011 D) 1110101
34) During which time interval(s) will output X of this XNOR timing diagram be LOW? 34)
35) In an odd-parity system, which of the following will generate a LOW (0) parity bit? 35)
A) 0001101 B) 1110001 C) 1000001 D) all of the above
36) In an even-parity system, which of the following will generate a HIGH (1) parity bit? 36)
A) 0000011 B) 1010011 C) 1000011 D) 1111011
4
37) In an even-parity system, the parity bit 37)
A) is transmitted with the data bits.
B) is a zero if the data has an even number of one bits.
C) is adjusted to make an even number of one bits.
D) all of the above
38) An exclusive-OR gate will invert a signal on one input if the other input is 38)
A) always HIGH. B) connected to the same signal.
C) grounded. D) inverted.
39) Which data and parity bit combination is correct for an ODD parity data transmission system? 39)
A) data = 11110000 B) data = 00011100
parity = 0 parity = 1
C) data = 00110100 D) data = 01001110
parity = 1 parity = 1
40) Which data and parity bit combination is correct for an EVEN parity data transmission system? 40)
A) data = 1111 0101 B) data = 1000 1100
parity = 1 parity = 0
C) data = 1010 1010 D) data = 1100 1000
parity = 1 parity = 1
41) What is the correct output for this XNOR truth table? 41)
A B X
0 0
0 1
1 0
1 1
A) X = 0 B) X = 1 C) X = 0 D) X = 1
1 1 1 0
1 1 1 0
1 0 0 1
42) Which data and parity bit combination is correct for an ODD parity data transmission system? 42)
A) data = 0010 1111 B) data = 0110 1110
parity = 1 parity = 0
C) data = 1110 0111 D) data = 0010 0110
parity = 0 parity = 1
5
Answer Key
Testname: CHAPTER06
1) D
2) A
3) B
4) B
5) A
6) D
7) C
8) A
9) D
10) B
11) B
12) C
13) C
14) D
15) C
16) A
17) D
18) A
19) B
20) B
21) C
22) B
23) B
24) B
25) C
26) C
27) B
28) D
29) B
30) D
31) B
32) A
33) A
34) B
35) A
36) C
37) D
38) A
39) D
40) D
41) D
42) B
6
CHAPTER08 QUESTIONS
MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.
3) What is the output of the 74147 Decimal-to BCD Encoder when input I8 is LOW? 3)
A) A3 -A0 = 1100 B) A3 -A0 = 1110 C) A3 -A0 = 0111 D) A3 -A0 = 0101
4) A circuit which converts some binary code into a singular active output representing its numerical 4)
value is a
A) demultiplexer. B) comparator. C) decoder. D) multiplexer.
7) When data input I6 of a 74148 octal-to-binary encoder is active, the data output is 7)
A) A0 = 0 B) A0 = 0 C) A0 = 0 D) A0 = 1
A1 = 1 A1 = 0 A1 = 1 A1 = 0
A2 = 0 A2 = 1 A2 = 1 A2 = 0
9) What are the outputs of a 7485 four-bit magnitude comparator when the inputs are A = 0001 and 9)
B = 0100?
A) A<B is 0 B) A<B is 0 C) A<B is 1 D) A<B is 0
A=B is 1 A=B is 1 A=B is 0 A=B is 0
A>B is 1 A>B is 0 A>B is 0 A>B is 1
11) What is the output of the 74147 Decimal-to-BCD Encoder when input I5 is LOW? 11)
A) A3 -A0 = 1010 B) A3 -A0 = 1100 C) A3 -A0 = 0010 D) A3 -A0 = 0101
1
12) If the inputs of a 74139 dual four-line demultiplexer are as shown below, which output is correct? 12)
Ea = data Eb = data
A0a = 1 A0b = 0
A1a = 0 A1b = 0
A) 1a = data B) 0a = data C) 2a = data D) 1a = data
0b = data 1b = data 2b = data 1b = data
13) Output 6 of a 74138 octal decoder is selected when it is enabled by a data input of 13)
A) A0 = 0 B) A0 = 1 C) A0 = 0 D) A0 = 1
A1 = 0 A1 = 1 A1 = 1 A1 = 0
A2 = 1 A2 = 0 A2 = 1 A2 = 0
14) How many possible combinations can a 5-bit Gray Code have? 14)
A) 32 B) 20 C) 5 D) 16
15) In order to select data input I1 of a 74151 eight-line multiplexer, the select inputs must be 15)
A) E = 1 B) E = 0 C) E = 0 D) E = 0
S0 = 0 S0 = 1 S0 = 1 S0 = 1
S1 = 0 S1 = 0 S1 = 1 S1 = 0
S2 = 1 S2 = 1 S2 = 0 S2 = 0
16) What are the outputs of a 7485 four-bit magnitude comparator when the inputs are A = 0110 and 16)
B = 1010?
A) A < B is 0 B) A < B is 1 C) A < B is 1 D) A < B is 0
A > B is 0 A = B is 0 A = B is 0 A = B is 1
A > B is 1 A > B is 0 A > B is 1 A > B is 0
20) What are the outputs of a 7485 four-bit magnitude comparator when the inputs are A = 0100 and 20)
B = 0010?
A) A<B is 0 B) A<B is 1 C) A<B is 1 D) A<B is 0
A=B is 1 A=B is 1 A=B is 0 A=B is 0
A>B is 0 A>B is 0 A>B is 0 A>B is 1
2
21) When data input I4 of a 74148 octal-to-binary encoder is active, the data output is 21)
A) A0 = 0 B) A0 = 1 C) A0 = 0 D) A0 = 1
A1 = 1 A1 = 1 A1 = 0 A1 = 0
A2 = 0 A2 = 0 A2 = 0 A2 = 0
23) If the inputs of a 74139 dual four-line demultiplexer are as shown below, which output is correct? 23)
Ea = HIGH Eb = data
A0a = 1 A0b = 0
A1a = 1 A1b = 1
A) 3b = data B) 0b = data C) 1a = data D) 3a = HIGH
24) When data input I5 of a 74148 octal-to-binary encoder is active, the data output is 24)
A) A0 = 1 B) A0 = 0 C) A0 = 1 D) A0 = 0
A1 = 0 A1 = 1 A1 = 0 A1 = 1
A2 = 1 A2 = 0 A2 = 0 A2 = 1
25) In VHDL combining the en bit with an 3-bit input to form a new 4-bit string is called 25)
A) concatenation. B) multiplexing. C) encoding. D) decoding.
26) In order to select data input I3 of a 74151 eight-line multiplexer, the select inputs must be 26)
A) E = 1 B) E = 0 C) E = 0 D) E = 0
S0 = 1 S0 = 0 S0 = 1 S0 = 1
S1 = 1 S1 = 0 S1 = 0 S1 = 1
S2 = 0 S2 = 1 S2 = 1 S2 = 0
27) Which input to a 7442 BCD-to-Decimal Decoder will cause all outputs to be HIGH? 27)
A) A3 -A0 = 0001 B) A3 -A0 = 1010 C) A3 -A0 = 0000 D) A3 -A0 = 1001
28) In order to select data input I7 of a 74151 eight-line multiplexer, the select inputs must be 28)
A) E = 0 B) E = 0 C) E = 0 D) E = 0
S0 = 1 S0 = 1 S0 = 1 S0 = 0
S1 = 1 S1 = 0 S1 = 1 S1 = 0
S2 = 0 S2 = 1 S2 = 1 S2 = 1
29) An octal-to-binary encoder has eight data inputs and encodes an output of ________ bits. 29)
A) two B) three C) four D) five
30) When outputs b, c, f and g of a 7447 BCD-to-seven-segment code converter are active, what 30)
number will be shown on the display?
A) 0 B) 3 C) 5 D) 4
3
31) In order to select data input I6 of a 74151 eight-line multiplexer, the select inputs must be 31)
A) E=1 B) E=0 C) E=1 D) E=1
S0 =1 S0 =0 S0 =0 S0 =0
S1 =1 S1 =1 S1 =1 S1 =1
S2 =0 S2 =1 S2 =0 S2 =1
32) Output 5 of a 74138 octal decoder is selected when it is enabled by a data input of 32)
A) A0 = 1 B) A0 = 0 C) A0 = 1 D) A0 = 1
A1 = 0 A1 = 1 A1 = 0 A1 = 1
A2 = 0 A2 = 0 A2 = 1 A2 = 0
33) A circuit that connects one of several inputs to its output is a 33)
A) decoder. B) comparator. C) multiplexer. D) counter.
34) A device which places its input data onto one of several outputs is a 34)
A) demultiplexer. B) counter. C) multiplexer. D) comparator.
35) What is the binary value of the BCD number: 0011 0111 (37)? 35)
A) 0010 0111 B) 0110 0011 C) 0010 0101 D) 0011 0111
37) When outputs a, b, c, d, e, and f of a 7447 BCD-to-seven-segment code converter are active, what 37)
number will be shown on the display?
A) 0 B) 7 C) 6 D) 8
38) A 74154 1-of-16 decoder has 16 outputs and decodes an input of ________ bits. 38)
A) two B) three C) four D) six
39) A binary code which is used to indicate the position of a rotating shaft is the 39)
A) Gray code. B) BCD code. C) ASCII code. D) octal code.
40) When outputs a, b, d, e, and g of a 7447 BCD-to-seven-segment code converter are active, what 40)
number will be shown on the display?
A) 3 B) 2 C) 5 D) 4
42) If the inputs of a 74139 dual four-line demultiplexer are as shown below, which output is correct? 42)
Ea = data Eb = HIGH
A0a = 1 A0b = 0
A1a = 1 A1b = 1
A) 3a = data B) 3a = HIGH C) 2b = data D) 1a = data
4
43) When outputs a, b, c, d, and g of a 7447 BCD-to-seven-segment code converter are active, what 43)
number will be shown on the display?
A) 0 B) 7 C) 5 D) 3
44) How is the number zero (0) indicated on the outputs of a 7447 BCD-to-seven-segment code 44)
converter?
A) Segments a, b, c, d, and e are active. B) Segments a, b, c, d, e, and f are active.
C) All outputs are inactive. D) All segments are active.
45) Which device is used in computer hardware to place ALU results into the correct register? 45)
A) demultiplexer B) encoder C) multiplexer D) decoder
47) When data input I1 of a 74148 octal-to-binary encoder is active, the data output is 47)
A) A0 = 0 B) A0 = 0 C) A0 = 0 D) A0 = 1
A1 = 1 A1 = 0 A1 = 1 A1 = 0
A2 = 0 A2 = 1 A2 = 1 A2 = 0
48) What input signals to the 74154 1 of 16 decoder will cause all outputs to be HIGH? 48)
A) E0 or E1 are HIGH (disabled). B) A3 -A0 = 0000
C) E0 and E1 are LOW (enabled). D) A3 -A0 > 1001
49) Which input to a 7442 BCD-to-Decimal Decoder will cause output 3 to go LOW? 49)
A) A3 -A0 = 0110 B) A3 -A0 = 1100 C) A3 -A0 = 0111 D) A3 -A0 = 0011
50) How is the number one (1) indicated on the outputs of a 7447 BCD-to-seven-segment code 50)
converter?
A) Segment a is active. B) Segment b is active.
C) Segments a and b are active. D) Segments b and c are active.
51) What are the outputs of a 7485 four-bit magnitude comparator when the inputs are A = 1100 and 51)
B = 1100?
A) A < B is 0 B) A < B is 0 C) A < B is 0 D) A < B is 1
A = B is 1 A > B is 0 A = B is 0 A = B is 0
A > B is 0 A > B is 1 A > B is 0 A > B is 0
52) In VHDL, grouped inputs are called vectors, but a single output is a ________ quantity. 52)
A) phasor B) mono C) unique D) scalar
53) What is the binary value of the BCD number: 1000 0001 (81)? 53)
A) 1000 0000 B) 0100 0001 C) 0110 0011 D) 0101 0001
5
55) What are the outputs of a 7485 four-bit magnitude comparator when the inputs are A = 1001 and 55)
B = 1010?
A) A < B is 1 B) A < B is 0 C) A < B is 0 D) A < B is 1
A = B is 0 A = B is 0 A = B is 1 A = B is 0
A > B is 0 A > B is 1 A > B is 0 A > B is 1
56) What is the binary value of the BCD number: 0010 0111 0100 (274)? 56)
A) 0001 0001 0010 B) 1111 1110 C) 0001 0001 1110 D) 0001 0010 0010
57) Which device is used in computer hardware to interpret the binary code of the computer 57)
instruction?
A) decoder B) multiplexer C) encoder D) demultiplexer
58) How is the number five (5) indicated on the outputs of a 7447 BCD-to-seven-segment code 58)
converter?
A) Segments a, c, d, f, and g active. B) Segments a, c, d, e, f, and g are active.
C) Segments a, b, d, e, f, and g are active. D) Segments a, c, d, and g are active.
60) How is the number four (4) indicated on the outputs of a 7447 BCD-to-seven-segment code 60)
converter?
A) Segments b, c, e, and g are active. B) Segments a, b, c, d, and g are active.
C) Segments b, c, e, and f are active. D) Segments b, c, f, and g are active.
61) Which device is used in computer hardware to select which register is to be gated to the ALU 61)
operand inputs?
A) demultiplexer B) multiplexer C) encoder D) decoder
62) Which data inputs to the 74154 1 of 16 Decoder will cause output 8 to be LOW? 62)
A) A3 -A0 = 1000 B) A3 -A0 = 0001 C) A3 -A0 = 0111 D) A3 -A0 = 1010
63) Which device is used in the design of computer memory address selection hardware? 63)
A) encoder B) decoder C) demultiplexer D) multiplexer
64) A device which generates a coded output from a singular active numeric input line is 64)
A) a multiplexer. B) a comparator. C) a decoder. D) an encoder.
65) All outputs of the 74138 octal decoder are disabled (HIGH) when the enable inputs are ________. 65)
A) E1 = 0, E2 = 1, and E3 = 1 B) E1 = 0, E2 = 0, and E3 = 0
C) E1 = 1, E2 = 1, and E3 = 0 D) all of the above
66) What are the outputs of a 7485 four-bit magnitude comparator when the inputs are A = 0011 and 66)
B = 0010?
A) A < B is 0 B) A < B is 0 C) A < B is 1 D) A < B is 1
A = B is 1 A = B is 0 A = B is 0 A = B is 0
A > B is 0 A > B is 1 A > B is 1 A > B is 0
6
67) The outputs of the 74138 octal decoder are enabled when the enable inputs are ________. 67)
A) E1 = 1, E2 = 1, and E3 = 0 B) E1 = 0, E2 = 0, and E3 = 0
C) E1 = 0, E2 = 0, and E3 = 1 D) E1 = 0, E2 = 1, and E3 = 1
69) Output 0 of a 74138 octal decoder is selected when it is enabled by a data input of 69)
A) A0 = 0 B) A0 = 1 C) A0 = 1 D) A0 = 0
A1 = 0 A1 = 0 A1 = 1 A1 = 1
A2 = 0 A2 = 0 A2 = 0 A2 = 1
71) A 1-of-8 octal decoder has eight outputs and decodes an input of ________ bits. 71)
A) four B) one C) three D) two
72) Which device is used in computer hardware to select one of several inputs to be serviced by the 72)
computer program?
A) decoder B) multiplexer C) demultiplexer D) encoder
74) The 74147 Decimal-to-BCD Encoder has LOW-active inputs and outputs. Which of the following 74)
is a true statement about this Encoder?
A) The output when input 3 is LOW is A3-A0 = 1100.
B) The output when input 7 is LOW is A3-A0 = 0111.
C) The output when input 9 is HIGH is A3 -A0 = 0110.
D) When no input is LOW, the outputs are all LOW.
75) Output 3 of a 74138 octal decoder is selected when it is enabled by a data input of 75)
A) A0 = 1 B) A0 = 1 C) A0 = 0 D) A0 = 1
A1 = 0 A1 = 0 A1 = 1 A1 = 1
A2 = 0 A2 = 1 A2 = 1 A2 = 0
7
77) If the inputs of a 74139 dual four-line demultiplexer are as shown below, which output is correct? 77)
Ea = LOW Eb = HIGH
A0a = 0 A0b = 0
A1a = 1 A1b = 1
A) 3a = data B) 3a = HIGH C) 2a = LOW D) 2b = data
80) What is the binary value of the BCD number: 0001 1000 (18)? 80)
A) 0001 0010 B) 1000 0001 C) 1000 1000 D) 0001 1000
82) Which data inputs to the 74154 1 of 16 Decoder causes output 13 to be LOW? 82)
A) A3 -A0 = 1101 B) A3 -A0 = 1111 C) A3 -A0 = 1100 D) A3 -A0 = 1011
83) The feature of Gray Code that makes it uniquely suited to control of rotating machinery is that 83)
A) each bit changes on every step of its count sequence.
B) it can only have four bits.
C) only one bit changes on each step of its count sequence.
D) it is really an analog code.
84) In order to select data input I5 of a 74151 eight-line multiplexer, the select inputs must be 84)
A) E = 0 B) E = 1 C) E = 0 D) E = 0
S0 = 0 S0 = 1 S0 = 1 S0 = 1
S1 = 0 S1 = 1 S1 = 1 S1 = 0
S2 = 1 S2 = 0 S2 = 0 S2 = 1
8
Answer Key
Testname: CHAP08Q
1) A
2) B
3) C
4) C
5) A
6) A
7) D
8) D
9) C
10) C
11) A
12) A
13) C
14) A
15) D
16) B
17) C
18) D
19) D
20) D
21) B
22) C
23) D
24) B
25) A
26) D
27) B
28) C
29) B
30) D
31) B
32) C
33) C
34) A
35) C
36) C
37) A
38) C
39) A
40) B
41) C
42) A
43) D
44) B
45) A
46) C
47) C
48) A
49) D
50) D
9
Answer Key
Testname: CHAP08Q
51) A
52) D
53) D
54) D
55) A
56) A
57) A
58) B
59) D
60) D
61) B
62) A
63) B
64) D
65) D
66) B
67) C
68) C
69) A
70) D
71) C
72) D
73) A
74) A
75) D
76) D
77) C
78) C
79) D
80) A
81) B
82) A
83) C
84) D
10