Unit 4 - Practice Quiz

ECE249 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 A combinational circuit that performs the addition of two single bits is known as a ____.

Adders Easy
A. Multiplexer
B. Decoder
C. Full Adder
D. Half Adder

2 How many inputs and outputs does a Full Adder have?

Adders Easy
A. 3 inputs, 2 outputs
B. 2 inputs, 2 outputs
C. 2 inputs, 3 outputs
D. 3 inputs, 3 outputs

3 What are the two outputs of a Half Subtractor circuit?

Subtractors Easy
A. Quotient and Remainder
B. Difference and Borrow
C. Input and Output
D. Sum and Carry

4 A Full Subtractor is a combinational circuit that requires how many inputs?

Subtractors Easy
A. Four
B. Three
C. One
D. Two

5 A combinational circuit that selects one of many data inputs and directs it to a single output line is called a ____.

Multiplexers Easy
A. Multiplexer
B. De-multiplexer
C. Encoder
D. Decoder

6 How many select lines are required for a 4-to-1 Multiplexer?

Multiplexers Easy
A. 1
B. 2
C. 3
D. 4

7 What is the primary function of a De-multiplexer (DEMUX)?

De-multiplexers Easy
A. To add two binary numbers.
B. To convert a binary code to a single output.
C. To send a single input to one of many outputs.
D. To select one of many inputs for a single output.

8 A 1-to-8 De-multiplexer has how many data inputs and select lines?

De-multiplexers Easy
A. 8 data inputs, 3 select lines
B. 1 data input, 3 select lines
C. 8 data inputs, 1 select line
D. 1 data input, 8 select lines

9 What is the function of a decoder circuit?

Decoders Easy
A. To select one of inputs using n select lines.
B. To convert input lines into an n-bit binary code.
C. To convert an n-bit binary code into distinct output lines.
D. To perform the logical OR operation on inputs.

10 A 3-to-8 line decoder has how many input and output lines?

Decoders Easy
A. 8 inputs, 3 outputs
B. 3 inputs, 3 outputs
C. 3 inputs, 8 outputs
D. 8 inputs, 8 outputs

11 An encoder is a combinational circuit that performs the reverse operation of a ____.

Encoders Easy
A. Multiplexer
B. Decoder
C. Comparator
D. De-multiplexer

12 An Octal-to-Binary encoder (8-to-3 encoder) has how many input lines?

Encoders Easy
A. 16
B. 3
C. 1
D. 8

13 A digital circuit that compares the magnitudes of two binary numbers is called a ____.

Comparator upto 2 bit Easy
A. Decoder
B. Adder
C. Multiplexer
D. Comparator

14 A 1-bit comparator typically has how many outputs?

Comparator upto 2 bit Easy
A. 3 outputs (A > B, A < B, A = B)
B. 2 outputs (Greater than, Less than)
C. 1 output (Equal)
D. 4 outputs

15 If the inputs to a Half Adder are A=1 and B=1, what are the Sum (S) and Carry (C) outputs?

Adders Easy
A. S=0, C=0
B. S=1, C=1
C. S=1, C=0
D. S=0, C=1

16 If the inputs to a Half Subtractor are A=0 and B=1, what are the Difference (D) and Borrow (B) outputs?

Subtractors Easy
A. D=1, B=1
B. D=1, B=0
C. D=0, B=1
D. D=0, B=0

17 A multiplexer is also known as a ____.

Multiplexers Easy
A. Data Distributor
B. Data Encoder
C. Data Selector
D. Frequency Divider

18 A de-multiplexer is also known as a ____.

De-multiplexers Easy
A. Data Adder
B. Data Distributor
C. Data Comparator
D. Data Selector

19 What is a major limitation of a standard encoder?

Encoders Easy
A. It can only have 2 inputs.
B. It produces an incorrect output if more than one input is active.
C. It requires a clock signal.
D. It is too slow.

20 Which statement best describes a combinational logic circuit?

Combinational Logic Circuits Easy
A. Its output depends only on the current state of its inputs.
B. Its output depends on the current inputs and previous outputs.
C. It requires a clock signal to operate.
D. It contains memory elements like flip-flops.

21 A full adder can be implemented using two half adders and one additional logic gate. What is this gate?

Adders Medium
A. An OR gate
B. An XOR gate
C. An AND gate
D. A NAND gate

22 In a 4-bit parallel ripple-carry adder, the propagation delay of each full adder is 12 ns. What is the total time required to get a stable sum and carry output for the most significant bit (MSB)?

Adders Medium
A. 48 ns
B. 12 ns
C. 24 ns
D. 36 ns

23 A full subtractor circuit has inputs A, B, and Borrow-in (). Which Boolean expression correctly represents the Borrow-out () output?

Subtractors Medium
A. AB' + A' + B'
B. A'B' + AB +
C. A B
D. A'B + A' + B

24 To perform the subtraction (A - B) using a 4-bit parallel adder, where A and B are 4-bit numbers, what modifications are required?

Subtractors Medium
A. The bits of B are inverted and the initial carry-in () is set to 0.
B. The bits of B are inverted and the initial carry-in () is set to 1.
C. The bits of A are inverted and the initial carry-in () is set to 1.
D. The bits of A and B are swapped.

25 How can the Boolean function be implemented using a 4-to-1 multiplexer with A and B as select lines?

Multiplexers Medium
A.
B.
C.
D.

26 How many 4-to-1 multiplexers are required to construct a 16-to-1 multiplexer?

Multiplexers Medium
A. 5
B. 6
C. 3
D. 4

27 A 4-to-1 multiplexer has its data inputs . The select lines and are connected to A and B respectively. What is the Boolean function F(A, B, C) implemented by this circuit?

Multiplexers Medium
A.
B.
C. $A'B'C' + A'B + ABC'
D.

28 A 1-to-8 de-multiplexer is used in a circuit. If the data input is connected to logic '1' and the select lines () are set to 101, which output line will be active (high)?

De-multiplexers Medium
A.
B.
C.
D.

29 What is the relationship between a de-multiplexer (DEMUX) and a decoder?

De-multiplexers Medium
A. They are fundamentally different circuits with no direct equivalence.
B. A decoder is equivalent to a DEMUX with an extra select line.
C. A DEMUX is equivalent to a decoder with an added data input line that acts as an enable.
D. A DEMUX can only be built using multiple decoders.

30 To implement a full adder's Sum and Carry outputs using a single 3-to-8 decoder and two additional gates, what should those gates be?

Decoders Medium
A. One 3-input OR gate and one 4-input OR gate
B. Two 4-input OR gates
C. Two 4-input AND gates
D. Two 4-input NAND gates

31 A 2-to-4 decoder has active-low outputs and an active-high enable. If the inputs are A=1, B=0 and Enable=1, what are the states of the outputs ()?

Decoders Medium
A. (0, 0, 1, 0)
B. (0, 1, 0, 0)
C. (1, 0, 1, 1)
D. (1, 1, 0, 1)

32 In a 4-to-2 priority encoder with inputs (where has the highest priority), what is the binary output () if both and are simultaneously active (set to 1)?

Encoders Medium
A. 00
B. 10
C. 01
D. 11

33 What is a major limitation of a standard encoder (like an 8-to-3 encoder) that is solved by a priority encoder?

Encoders Medium
A. It produces an incorrect or ambiguous output if more than one input is active at the same time.
B. It requires an external clock signal to operate.
C. It cannot handle more than 4 input lines.
D. It consumes significantly more power than a priority encoder.

34 For a 2-bit magnitude comparator with inputs A () and B (), which Boolean expression correctly identifies the condition A > B?

Comparator upto 2 bit Medium
A.
B.
C.
D.

35 The logic circuit for the A=B output of a 2-bit comparator is implemented using which combination of gates?

Comparator upto 2 bit Medium
A. Two AND gates and a 2-input OR gate
B. One 4-input AND gate
C. Two XOR gates and a 2-input NAND gate
D. Two XNOR gates and a 2-input AND gate

36 Which of the following is a primary advantage of a Look-Ahead Carry Adder over a Ripple-Carry Adder?

Adders Medium
A. It can perform both addition and subtraction without modification.
B. It has a significantly lower propagation delay for a large number of bits.
C. It uses fewer logic gates for the same number of bits.
D. It has a lower power consumption.

37 What is the result of subtracting binary 0110 (6) from 1011 (11) using a 4-bit full adder and 2's complement arithmetic? The inputs to the adder would be A=1011 and B=...?

Subtractors Medium
A. A=1011, B=0110, Cin=1, Sum=0101
B. A=1011, B=1001, Cin=0, Sum=0100
C. A=1011, B=1001, Cin=1, Sum=0101
D. A=1011, B=1010, Cin=0, Sum=0101

38 How many select lines would be required for a de-multiplexer with 32 output lines?

De-multiplexers Medium
A. 32
B. 6
C. 4
D. 5

39 A BCD-to-7-Segment decoder is used to drive a common-cathode display. For the BCD input 0111 (decimal 7), which output segments (a, b, c, d, e, f, g) will be active (HIGH)?

Decoders Medium
A. a, b, c, d, g
B. a, b, c
C. b, c
D. a, b, c, f, g

40 Which of these combinational circuits can be used to perform parallel-to-serial data conversion?

Multiplexers Medium
A. De-multiplexer
B. Decoder
C. Comparator
D. Multiplexer

41 A 4-bit ripple-carry adder is constructed using identical full adders. Each full adder has a propagation delay of 12 ns for its Sum output and 8 ns for its Carry output. If this adder is used to find the sum of A = 1011 and B = 0110, what is the time at which the final correct Sum vector () and final carry () are guaranteed to be stable?

Adders Hard
A. 32 ns
B. 36 ns
C. 28 ns
D. 44 ns

42 To implement a full adder circuit, which generates both Sum () and Carry-Out (), what is the minimum number of 2:1 multiplexers required, assuming inverters are also available?

Adders Hard
A. 5
B. 3
C. 4
D. 6

43 A 4-bit parallel subtractor computes using 4 full adders and inverters for the 2's complement method. The propagation delay through a full adder is and through an inverter is . What is the total propagation delay for the subtraction operation in the worst-case scenario?

Subtractors Hard
A.
B.
C.
D.

44 To implement the Boolean function using a single 8:1 multiplexer with A, B, and C as select lines ( respectively), what must be the connections to the data inputs through ?

Multiplexers Hard
A.
B.
C.
D.

45 A full adder's Sum and Carry-Out functions are to be implemented using a single 3-to-8 decoder with active-high outputs and two additional logic gates. Which gates are required?

Decoders Hard
A. Two 4-input OR gates
B. One 4-input OR gate and one 4-input AND gate
C. Two 4-input AND gates
D. Two 4-input NAND gates

46 An 8:3 priority encoder has active-low inputs ( to ) and active-low outputs (). Input has the highest priority. If the inputs are set such that are simultaneously LOW (active), what will be the binary value on the output lines ?

Encoders Hard
A. 101
B. 010
C. 100
D. 011

47 What is the minimized Sum-of-Products (SOP) Boolean expression for the output of a 2-bit magnitude comparator, where and ?

Comparator upto 2 bit Hard
A.
B.
C.
D.

48 A 1-to-8 De-multiplexer (with select lines S2, S1, S0) has its data input pin connected to a logic HIGH signal. Its outputs are connected to the inputs of a 4-input NOR gate. What is the simplified Boolean expression for the output of the NOR gate, F, in terms of the select lines?

De-multiplexers Hard
A.
B.
C.
D.

49 A 4-bit adder/subtractor circuit is controlled by a mode input M. For M=0, the circuit performs A+B, and for M=1, it performs A-B using 2's complement. How is the mode input M typically connected within the circuit?

Adders Hard
A. M serves as an enable signal for the adder; a separate subtractor circuit is used for M=1.
B. M is only connected to the initial carry-in (); the B inputs are passed through a controllable inverter.
C. M is connected to the initial carry-in () and is also XORed with each bit of B before the adder inputs.
D. M is only XORed with each bit of B; the initial carry-in () is grounded.

50 To construct a single 64:1 multiplexer, what is the minimum number of 4:1 multiplexers required?

Multiplexers Hard
A. 32
B. 24
C. 21
D. 16

51 You need to construct a 3:8 decoder using only 2:4 decoders which have an active-low enable input (). Let the 3-bit input be C, B, A (C is MSB). How must the MSB, C, be connected to create the correct functionality?

Decoders Hard
A. C is connected to the pin of one decoder, and B is connected to the pin of the second decoder.
B. The circuit requires four 2:4 decoders, and C is used to select between pairs of decoders.
C. C is connected in parallel with A as an input to both decoders.
D. C is connected to the pin of one decoder, and an inverted is connected to the pin of the second decoder.

52 In a 4-bit unsigned subtraction implemented using the 2's complement method (), the final carry-out bit () from the most significant bit's full adder serves a specific purpose. For which of the following input pairs will be 0?

Subtractors Hard
A. A = 0101 (5), B = 1000 (8)
B. A = 1100 (12), B = 1100 (12)
C. A = 1000 (8), B = 0101 (5)
D. A = 0111 (7), B = 0110 (6)

53 A simple (non-priority) 4:2 encoder is built with the logic and . This works correctly if only one input is active at a time. However, if multiple inputs can be active, which input combination () produces an output that incorrectly implies only input is active?

Encoders Hard
A. 0101
B. 0110
C. 1100
D. 1001

54 Assuming complemented inputs are available, what is the minimum number of 2-input NAND gates required to implement the output logic for a 2-bit comparator () without any gate sharing between sub-circuits?

Comparator upto 2 bit Hard
A. 6
B. 9
C. 12
D. 8

55 A 1-to-4 De-multiplexer (select lines S1, S0; data input D=1) has its outputs connected as follows: and are inputs to an AND gate (G1), while and are inputs to another AND gate (G2). The outputs of G1 and G2 are fed into a final OR gate. What is the simplified Boolean expression for the final output F?

De-multiplexers Hard
A. S0
B. S1 S0
C. S1
D. 0

56 In a 4-bit Carry Lookahead Adder, the carry out of the second stage () is given by , where and . If this function is implemented directly from the primary inputs () using two-level AND-OR logic, what is the fan-in required for the final OR gate?

Adders Hard
A. 4
B. 3
C. 7
D. 5

57 A 3-variable function is realized using a 4:1 MUX. Inputs A and B are connected to select lines S1 and S0, respectively. The MUX data inputs are connected as follows: . Which Sum-of-Minterms expression represents the function F?

Multiplexers Hard
A.
B.
C.
D.

58 A combinational circuit must produce a HIGH output whenever its 4-bit input (DCBA) represents a prime number between 0 and 10 (inclusive). If this circuit is implemented using a single 4:16 decoder (with active-high outputs) and one OR gate, which decoder outputs must be connected to the OR gate?

Decoders Hard
A. Y3, Y5, Y7, Y9
B. Y0, Y1, Y2, Y3, Y5, Y7
C. Y1, Y2, Y3, Y5, Y7
D. Y2, Y3, Y5, Y7

59 Which of the following Boolean expressions correctly represents the Borrow-Out () of a full subtractor with inputs X, Y, and Borrow-In ()?

Subtractors Hard
A.
B.
C.
D.

60 To implement all three outputs (, , ) of a 2-bit comparator using a Programmable Array Logic (PAL) structure (programmable AND plane, fixed OR plane), what is the minimum total number of unique product terms (AND gates) required?

Comparator upto 2 bit Hard
A. 10
B. 7
C. 9
D. 8