Computing and Information Technology

Digital Logic and Computer Architecture Practice Exam, Flashcards & Questions

Master foundational to advanced Digital Logic and Computer Architecture with 487 verified curriculum items, worked engineering solutions, and spaced-repetition cards.

347 Total Questions 144 MCQs 111 Calculations 17 Formulas 75 Flashcards
Free Interactive Preview

Digital Logic and Computer Architecture Sample Exam Questions & Rationale

Preview official questions below. The complete pool of 347 items is available in the offline app.

Question 1 of 4 Addressing modes

In microprocessor instruction sets, what characterizes immediate addressing mode?

A The operand value is contained directly within the instruction word itself rather than being fetched from a register or memory
B The operand is calculated by multiplying two index register values
C The operand address is stored at an indirect memory pointer location
D The operand must be fetched from an external network file server
Accepted Answer: Option A (The operand value is contained directly within the instruction word itself rather than being fetched from a register or memory)

Rationale: Immediate addressing embeds constant values directly in the instruction (e.g., ADDI R1, R2, 15), requiring zero extra memory references.

Question 2 of 4 Amdahl's law

What fundamental principle does Amdahl's Law express regarding computing system performance enhancement?

A System performance doubles every eighteen months with shrinking transistor gate dimensions
B Adding additional processor cores reduces power consumption in proportion to core count
C Instruction cache hit rate decreases linearly as main memory bus bandwidth increases
D The overall speedup achievable by accelerating a specific component is fundamentally limited by the fraction of execution time that cannot use that enhancement
Accepted Answer: Option D (The overall speedup achievable by accelerating a specific component is fundamentally limited by the fraction of execution time that cannot use that enhancement)

Rationale: Amdahl's Law states that maximum speedup is bounded by the serial or unenhanced fraction of execution time: S = 1 / ((1 - f) + f/s).

Question 3 of 4 Cache performance

In cache memory mapping schemes, what characterizes an N-way set-associative cache?

A Each memory block maps to a unique set determined by its address, but can reside in any of the N cache lines within that set
B Every block in main memory is replicated across N separate physical cache chips
C A memory block can only be placed into exactly one predetermined cache line index
D Memory blocks can be placed into any location across the entire cache without any index indexing
Accepted Answer: Option A (Each memory block maps to a unique set determined by its address, but can reside in any of the N cache lines within that set)

Rationale: Set-associative caching divides cache into sets of N lines. The index selects the set; tag comparators check all N lines in parallel.

Question 4 of 4 Instruction cycle

What is the sequential order of primary phases executed during a basic processor instruction cycle?

A Interrupt Acknowledge, Cache Flush, Direct Memory Access, and Register Invalidation
B Operand Alignment, Microcode Compilation, Bus Arbitration, and Thermal Throttling
C Pipelining Stall, Hazard Detection, Dynamic Branch Prediction, and Page Fault Resolution
D Instruction Fetch, Instruction Decode, Operand Fetch, Execute Operation, and Result Writeback
Accepted Answer: Option D (Instruction Fetch, Instruction Decode, Operand Fetch, Execute Operation, and Result Writeback)

Rationale: The fundamental instruction cycle sequences through Fetching from memory, Decoding opcode, Fetching operands, Executing via ALU, and Writing back results.

Active Recall Spaced Repetition Cards (Preview)

Card 1 • Addressing modes
In {{c1::PC-relative}} addressing.
PC-relative addressing allows code to execute regardless of where it is loaded into memory because branch targets are specified relative to the current PC.
Card 2 • Amdahl's law
The maximum possible speedup is mathematically capped by the reciprocal of the {{c1::serial fraction}}.
As speedup s -> infinity, the overall speedup limit is S_max = 1 / (1 - f), where (1 - f) is the strictly serial fraction.

Digital Logic and Computer Architecture Curriculum Modules & Topics Covered

Modules
Digital LogicArchitectureMicrocontrollers and Embedded Systems
Core Exam Topics
  • Number base conversion
  • Logic gates
  • Boolean algebra
  • Karnaugh maps
  • Combinational circuits
  • Flip-flops and counters
  • Multiplexers and decoders
  • Adders and subtractors
  • Registers and shift registers
  • Finite state machines
Learning Objectives
  • Develop core conceptual recall and analytical problem-solving in Digital Logic.
  • Develop core conceptual recall and analytical problem-solving in Architecture.
  • Develop core conceptual recall and analytical problem-solving in Microcontrollers and Embedded Systems.

Free Downloadable Digital Logic and Computer Architecture Study Packs (.ZIP / .TSV)

Full Spreadsheet Data (TSV)
TSV • 347 items
Complete Course Pack
ZIP • 347 items
Elements (Complete)
ZIP • 347 items
Elements (Mastery)
ZIP • 347 items
Elements (Standard)
ZIP • 347 items
Active Recall Flashcards
ZIP • 347 items
Formula Codex
ZIP • 347 items
Problem Solving (Complete)
ZIP • 347 items
Problem Solving (Mastery)
ZIP • 347 items
Problem Solving (Standard)
ZIP • 347 items
Artificial Intelligence (1,579) Artificial Intelligence and Machine Learning (507) Cloud Computing and DevOps (144) Compiler Design & Formal Languages (1,579) Computational Contact Mechanics: Penalty Function Method, Lagrange Multipliers & Mortar Contact Formulations (128) Computer Engineering & Algorithms (1,365)
Full Question Pool: 347 Verified Items

Unlock All 347 Digital Logic and Computer Architecture Practice Questions

Study the full question pool with 13 active recall battle modes, FSRS v5 spaced repetition, and 1-click printable PDF mock exams with full answer keys on Android and Windows PC.

Get on Google Play (Android) Get on Microsoft Store (Windows PC)