Combinational Circuit · Digital Logic
40 questions · asked in 20 of 27 years (2000–2026)
MCQ 31 · MSQ 3 · NAT 61-mark 33 · 2-mark 7
Questions 21–25 of 40
Assume that the counter and gate delays are negligible. If the counter starts at 0, then it cycles through the following sequence:
Answer: (C)
Counting from 0, the values in binary are:
- 1 = 0001, 2 = 0010, 3 = 0011: , so no clear.
- 4 = 0100: but , so no clear.
- 5 = 0101: and , so Clear = 1.
The first value that sets Clear is 5. With negligible delays, the counter is cleared to 0 at once, before the next clock edge, so 5 never stays as a state. The sequence is 0, 1, 2, 3, 4 and then back to 0.
Answer: (C)
The expressions for the sum bit and the carry bit of the look-ahead carry adder are given by:
Consider a two-level logic implementation of the look-ahead carry generator. Assume that all and are available for the carry generator circuit and that the AND and OR gates can have any number of inputs. The number of AND gates and OR gates needed to implement the look-ahead carry generator for a 4-bit adder with and as its outputs are respectively:
Answer: (B)
How to read : the carry out of stage 3 is
- generated in stage 3, OR
- generated in stage 2 AND passed on through stage 3, OR
- generated in stage 1 AND passed on through stages 2, 3, OR
- generated in stage 0 AND passed on through stages 1, 2, 3, OR
- the initial carry passed on through stages 0, 1, 2, 3.
In two-level logic each product term with two or more inputs is one AND gate. A lone term goes straight to the OR gate. Each carry needs one OR gate.
- : 1 AND, 1 OR
- : 2 AND, 1 OR
- : 3 AND, 1 OR
- : 4 AND, 1 OR
Total: AND gates and 4 OR gates.
Answer: (B)
Answer: (C)
Each data input then stands for one fixed setting of the select variables. For that setting the function depends only on , so it must be one of four things: , , or . Feed each data input with the constant 0, the constant 1, the variable , or from the single inverter. This builds any function of variables.
A smaller multiplexer is not enough. A -to-1 multiplexer has only select lines, so two variables are left for the data inputs. A data input may then need a function like or , and with only one inverter and no other gate these cannot be made. (For example, cannot come from alone.)
Answer: (C)
Answer: (C)
Total: 8 + 1 = 9
Answer: 9
Which of the following inputs will detect the fault ?
Answer: (D)
To find the fault, the output must differ from what we expect. The last gate is a NOR gate. It gives 0 if any one of its inputs is 1, and it gives 1 otherwise. So the output is 0 for inputs and , and the output is 1 for (0,0).
Grounding T makes stay at 0. So we can leave out the inputs and of the last NOR gate, because they cannot show the fault. Now the input is expected, but it turns into because is grounded. It still gives the same output as does. So this input also cannot find the defect. To find the defect, the input to the last gate must be . It should give 0, but it will give 1 because is grounded.
Now, to get the input at the last gate, we need:
But if the OR gate gives output 1, so we cannot get the input at the last gate. So no input sequence can detect the fault in this circuit.
Another way: we can write the equation of the circuit as
The output of the faulty circuit will be
So grounding of has no effect here. The answer is option D.
Keep practising