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

  2. Positive

  3. High

  4. OFF

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

A NOR gate outputs ON (logic 1) only when all inputs are OFF (logic 0). The NOR operation is equivalent to NOT-OR: it outputs 1 only when all inputs are 0, and outputs 0 if any input is 1. This makes it the logical complement of the OR gate.

Multiple choice
  1. STC no operand

  2. STD no operand

  3. STI no operand

  4. CLC no operand

  5. CLD no operand

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

STI stands for Set Interrupt. This is a flag manipulation instruction in 8086, which is the interrupt flag set by the instruction that helps processor to identify the maskable interrupt on INTR pin.

Multiple choice
  1. binary

  2. unary

  3. general

  4. none of these

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

General (or counting) semaphores can take any non-negative integer value, unlike binary semaphores which are restricted to 0 and 1. This allows them to track multiple available resources or control access for multiple processes.

Multiple choice
  1. Multiplexer

  2. Magnitude comparator

  3. Register

  4. Cache memory

  5. Parity generator

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

An array of flip-flops is known as register. So, this is the correct answer.