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. NOT gate

  2. AND gate

  3. NOR gate

  4. XOR gate

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

Both NAND and NOR gates are considered universal gates because any other logic gate can be implemented using only one type of these gates. Between the options provided, NOR is a universal gate.

Multiple choice
  1. NOR gate

  2. AND gate

  3. NAND gate

  4. XOR gate

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

A toggle operation (like an XOR) cannot be performed with a single AND gate because an AND gate is not universal and cannot implement the XOR function on its own.

Multiple choice
  1. 8

  2. 16

  3. 64

  4. 256

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

The condition f(x, y, z) = f(x', y', z') means the function is invariant under complementation of all inputs. There are 2^3 = 8 possible input combinations, which can be grouped into 4 pairs of (x, y, z) and (x', y', z'). For each pair, the function can take 2 values (0 or 1), leading to 2^4 = 16 possible functions.

Multiple choice
  1. x.x = 1

  2. x (y + z) = (x + y) (x + z)

  3. x + xz = x

  4. x + y = y + x

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

Option D represents the Commutative Law of Boolean algebra, which states that x + y = y + x. Option A is incorrect (x.x = x), Option B is incorrect (distributive law is x + yz = (x + y)(x + z)), and Option C is incorrect (x + xz = x is actually the Absorption Law, but the question asks for a general identity).

Multiple choice
  1. one

  2. two

  3. three

  4. none of these

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

A flip-flop is a bistable multivibrator, which is the fundamental building block of sequential logic circuits, capable of storing exactly one bit of binary information.