Computer Knowledge
Digital Logic and Microprocessors
749 QuestionsDigital logic and microprocessors form the core of computer science, covering logic gates, combinational and sequential circuits, and CPU architecture. These topics are crucial for computer knowledge sections in technical exams. Test your digital electronics basics here.
Digital Logic and Microprocessors Questions
An X-Y flip flop whose characteristic table is given below is to be implemented using a J-K flip-flop.
| X | Y | $Q{n+1}$ |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | $Q_n$ |
| 1 | 0 | $\bar Q_n $ |
| 1 | 1 | 0 |
The dual of the expression derived in the following table is
| $C$ | $\bar C$ | ||
|---|---|---|---|
| $\bar A$ | $\bar B$ | 0 | 0 |
| $\bar A$ | $ B$ | 1 | 1 |
| $\bar A$ | $\bar B$ | 1 | 1 |
| $A$ | $\bar B$ | 0 | 1 |
Following is the Boolean expression for one truth table of an unknown function.
| A | B | C | F |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 |
| 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 0 | 0 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 0 |
If the above function is implemented using D flip-flop, then
For the given Boolean expression for one truth table of an unknown function.
| A | B | C | F |
| 0 | 0 | 0 | 1 |
| 0 | 0 | 1 | 0 |
| 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 0 | 1 |
| 1 | 0 | 1 | 1 |
| 1 | 1 | 0 | 0 |
| 1 | 1 | 1 | 0 |
The output recycles after the last state. If the above function is implemented using J-K flip flop then,


Explanation Y = $\bar A$$\bar B$I0 + $\bar A$BI1 + A$\bar B$I2 + ABI3= $\bar A$$\bar B$×1 + $\bar A$BC + A$\bar B$×0 + ABC= $\bar A$$\bar B$ + $\bar A$BC + ABC= $\bar A$$\bar B$ + BC

So, (d) option is correct.
Given truth table:
Table 2 (J and K column constructed using table 1)
J =$\bar Y$
K = X
Where, Y = P + Q + RZ = RQ + $\bar PR$ + $Q\bar P$ From the circuit given, we have Rn + 1 = Zn, 1$\le$n$\le$3Z4 = Ys (MSB). Hence, the output is 00010, which shows a 4-bit subtractor P – Q.
The circuit represents a
If segments ‘a’ to ‘g’ are considered as functions of X1 and X2, then which of the following is true?
$J_A = \bar ABC + AB\bar C = B (\bar C + A\bar C) $
$K_A = A + \bar A\bar C$
$D = A\bar B\bar C + BC $
$J_A = \bar ABC + AB\bar C = B (\bar AC + A\bar C)$
$K_A = A + \bar A\bar C $
$D = A\bar B\bar C + BC$ 