Computer Knowledge

Digital Logic and Microprocessors

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

Multiple choice
  1. arithmetic expression

  2. boolean expression

  3. both (1) and (2)

  4. none of these

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

Logic gates perform operations that are mathematically described using boolean expressions, which involve variables and logical operators.

Multiple choice
  1. 0 only

  2. 1 only

  3. 0 or 1

  4. 0 and 1

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

Logic gates are binary devices that output either a 0 (low voltage) or a 1 (high voltage) based on their input states.