Computer Knowledge

Digital Logic and Microprocessors

735 Questions

Digital 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.

Logic gates and circuitsCombinational vs sequential circuitsMicroprocessor instructionsTruth tables and boolean functions

Digital Logic and Microprocessors Questions

Multiple choice
  1. $\bar Q_1$ and Q0
  2. $\bar Q_0$ and Q1
  3. $\bar Q_1$$\bar Q_0$ and $\bar Q_1$ Q0
  4. $\bar Q_1$$\bar Q_0$ and Q0 Q1
Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The inputs $D_0$ and $D_1$ respectively should be connected as $\bar Q_1$ and $Q_0$ where $Q_0 \rightarrow D_1 \ and \ \bar Q_1 \rightarrow D_0 $

Multiple choice
  1. Carry flag will be set but Zero flag will be reset

  2. Carry flag will be reset but Zero flag will be set

  3. both Carry flag and Zero flag will be reset

  4. both Carry flag and Zero flag will be set

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

CMP B $\Rightarrow$ Compare the accumulator content with context of Register B

If A $\lt$ R CY is set and zero flag will be reset.

Multiple choice
  1. a = $\dfrac{1}{6}$and b = $\dfrac{1}{12}$
  2. a = $\dfrac{1}{5}$and b = $\dfrac{3}{40}$
  3. a = $\dfrac{1}{4}$and b = $\dfrac{1}{16}$
  4. a = $\dfrac{1}{3}$and b = $\dfrac{1}{24}$
Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Multiple choice
  1. CC-CB

  2. CE-CB

  3. CB-CC

  4. CE-CC

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The CE configuration has high voltage gain as well as high current gain. It performs basic function of amplifications. The CB configuration has lowest $R_i$ and highest $R_0$. It is used as last step to match a very low impedance source and to drain a high impedance load. Thus cascade amplifier is a multistage configuration of CE-CB

Multiple choice
  1. Input A is connected to $\overline{Q_2}$
  2. Input A is connected to $\overline{Q_2}$
  3. Input A is connected to $\overline{Q_1}$ and S is complemented
  4. Input A is connected to $\overline{Q_1}$
Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

$\text{When $Q_1$, is connectede to input A, then we have the input $D_2$ as} \\ D_2 = A \oplus S \\ \hspace{0.6cm} = Q-1 \oplus S = Q_1 \bar{S} + \bar{Q_1}S$