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

Multiple choice
  1. CY = 0; PF = 0

  2. CY = 1; PF = 0

  3. CY = 1; PF = 1

  4. CY = 0; PF = 1

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

MOV A, #0F5H; A=F5 hex ADDA, #0BH; A=F5+0B=00F5 +0B => 1111 0101 + 0000 1011 = 0000 0000 After the addition register A(destination) contains 00, the flags are as follows: CY = 1 as there is carry out from D7. PF = 1 as the number of 1’s is zero.