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

  2. 2

  3. 3

  4. 4

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

A standard flip-flop has two outputs, typically denoted as Q and Q-bar (the complement of Q). These outputs are always in opposite states.

Multiple choice
  1. 1

  2. 2

  3. 3

  4. 4

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

A full adder is designed to add three bits: two significant bits and a carry-in bit from a previous stage. Thus, it has three inputs.

Multiple choice
  1. normal

  2. complement

  3. both 1 and 2

  4. none of these

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

In a flip-flop, Q is defined as the normal or primary output, while Q-bar is the complement output.

Multiple choice
  1. half adder

  2. full adder

  3. flip-flop

  4. none of these

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

Flip-flops are sequential circuits that provide complementary outputs (Q and Q-bar). Adders are combinational circuits that do not have complementary outputs.

Multiple choice
  1. 1

  2. 2

  3. 3

  4. 4

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

A basic flip-flop is a bistable multivibrator capable of storing exactly one bit of binary information.

Multiple choice
  1. storage

  2. control

  3. process

  4. none of these

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

A flip-flop is a fundamental sequential logic circuit used as a basic storage element for binary data.

Multiple choice
  1. All inputs are 1

  2. Any one input is 0

  3. All inputs are 0

  4. None of these

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

A NAND gate is the inverse of an AND gate. It outputs 0 only when all inputs are 1; otherwise, if any input is 0, the output is 1.

Multiple choice
  1. OR and NOT

  2. Only NOR

  3. NAND and NOR

  4. Only NAND

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

NAND and NOR gates are called universal gates because any other logic gate (AND, OR, NOT) can be constructed using only combinations of these gates.