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

  2. Turn cordinator

  3. ASI

  4. All of the above

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

The turn coordinator displays rate of turn (how fast the aircraft is turning) and also shows the quality of turn (coordinated vs. slipping/skidding). The VSI shows vertical speed, ASI shows airspeed, and neither displays turn rate. The turn coordinator's miniature aircraft indicates both roll rate and yaw rate through the inclinometer ball.

Multiple choice
  1. AND

  2. NAND

  3. OR

  4. NOT

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

NAND gates are called universal gates because any Boolean function (AND, OR, NOT, etc.) can be implemented using only NAND gates. NOR gates are also universal, but AND, OR, and NOT gates individually cannot implement all Boolean functions by themselves.

Multiple choice
  1. 3 binary digits

  2. 2 binary digits

  3. 4 binary digits

  4. none of these

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

A half adder is a digital circuit that adds two binary digits (bits) and produces a sum and carry output. It operates on only 2 bits at a time, unlike a full adder which handles three inputs including carry-in.

Multiple choice
  1. present state only

  2. past inputs only

  3. both (1) and (2)

  4. none of these

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

In sequential circuits (like flip-flops, counters), the output depends on both the present inputs and the present state (which stores past inputs). This memory of past states is what makes it 'sequential'. Combinational circuits depend only on present inputs.

Multiple choice
  1. Master slave JK flip flop

  2. T flip flop

  3. D flip flop

  4. SR flip flop

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

Master-slave JK flip flop is specifically designed to eliminate the race-around condition by using two flip flops in a master-slave configuration. The master responds during the positive clock edge while the slave responds during the negative edge, preventing the output from changing multiple times during a single clock pulse.

Multiple choice
  1. J=k=0

  2. j=k=1

  3. both of the above

  4. j=0 ,k=1

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

JK flip flop can function as a T flip flop when both J and K inputs are connected together (J=K). When J=K=0, the flip flop maintains its state (Q stays same). When J=K=1, it toggles (Q changes), which is exactly the behavior of a T flip flop where T=0 holds and T=1 toggles.

Multiple choice
  1. 2

  2. 5

  3. 4

  4. 3

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

A mod-10 counter requires 4 flip flops because the number of states is 10 (0 to 9). With n flip flops, we can represent 2^n states. For 2^3=8 < 10 < 2^4=16, we need 4 flip flops to accommodate 10 states, though 6 states will be unused.

Multiple choice
  1. characteristic equation

  2. excitation table

  3. characteristic table

  4. truth table

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

Excitation table specifies the input conditions required for a flip flop to transition from its present state to the next state. Unlike a truth table that shows output for given inputs, an excitation table shows what inputs are needed to achieve desired state transitions.