Topic / 80 questions

Computer Organization and Architecture MCQs

Computer Organization and Architecture explains how a processor actually runs a program: how numbers are stored in bits, how instructions are fetched and executed, how a pipeline overlaps them, and how the memory hierarchy keeps the processor supplied with data. These practice questions cover the topics that appear most often in computer science exams, and each answer comes with an explanation of the rule behind it.

What does a superscalar processor do to improve performance?

Correct answer B. Issues and executes more than one instruction per clock cycle

Open question

Why can MIPS be a misleading measure when comparing processors with different instruction sets?

Correct answer B. It ignores how much work each instruction does, so a machine with simpler instructions may need many more of them

Open question
Advertisement

Why do large multiprocessors often use directory-based coherence rather than bus snooping?

Correct answer D. Directories send coherence messages only to caches holding a block, so they scale better than broadcasting on a shared bus

Open question

Under a write-invalidate coherence protocol, what happens when a core writes to a block that other caches also hold?

Correct answer C. The other copies are invalidated before the write proceeds

Open question

What is false sharing in a multicore system?

Correct answer D. Different cores write different variables that happen to share a cache line, causing needless coherence traffic

Open question
Advertisement

What does simultaneous multithreading (SMT), such as Intel Hyper-Threading, do?

Correct answer A. Issues instructions from several threads in the same cycle to fill a superscalar core's idle slots

Open question

What is the main benefit of low-order memory interleaving?

Correct answer D. Consecutive words lie in different modules, so their accesses can overlap and bandwidth increases

Open question

What is the main drawback of programmed I/O with polling?

Correct answer C. The CPU wastes time repeatedly checking device status instead of doing useful work

Open question

How does DMA reduce CPU involvement when transferring a large block of data from a disk to memory?

Correct answer B. The DMA controller moves the data directly between device and memory and interrupts the CPU once when the block is done

Open question
Advertisement

In DMA, what does cycle stealing mean?

Correct answer C. The DMA controller takes the memory bus for one cycle at a time between CPU accesses

Open question

What is the difference between memory-mapped I/O and isolated (port-mapped) I/O?

Correct answer B. Memory-mapped I/O uses ordinary load and store instructions on reserved addresses, while isolated I/O uses special I/O instructions and a separate address space

Open question

What is a non-maskable interrupt (NMI)?

Correct answer A. An interrupt that the processor cannot disable, used for critical events such as hardware failures

Open question

About Computer Organization and Architecture MCQs

The subject starts with data representation. Two's complement is the standard way to store signed integers, and examiners like to test range, sign extension and overflow detection. Floating-point numbers follow IEEE 754, where a single-precision value has 1 sign bit, an 8-bit exponent with a bias of 127 and a 23-bit fraction, and a double-precision value has an 11-bit exponent and a 52-bit fraction.

The processor itself is built from registers, an arithmetic logic unit and a control unit. The control unit can be hardwired or microprogrammed, and the instruction set architecture defines the instruction formats and addressing modes such as immediate, direct, indirect, register and indexed. RISC designs use simple fixed-length instructions and load-store access to memory, while CISC designs offer richer, variable-length instructions.

Pipelining overlaps the stages of successive instructions to raise throughput. Structural, data and control hazards cause stalls, and techniques such as forwarding and branch prediction reduce them. Many numerical questions ask for the clock period, total cycles, CPI or speedup of a pipeline, so practise the formulas until they are automatic.

The memory hierarchy links fast, small caches to large, slow main memory and disk. Questions often ask you to split an address into tag, index and offset bits for direct-mapped, set-associative or fully associative caches, or to work out the average memory access time. Virtual memory, page tables and the TLB, together with interrupts, DMA and Amdahl's law, complete the core syllabus.

Key facts to remember

  • An n-bit two's complement number ranges from -2^(n-1) to 2^(n-1) - 1.
  • IEEE 754 single precision uses a bias of 127; double precision uses a bias of 1023.
  • Average memory access time = hit time + miss rate x miss penalty.
  • A k-stage pipeline needs k + n - 1 cycles to complete n instructions without stalls.
  • Amdahl's law: speedup = 1 / ((1 - f) + f / N), where f is the fraction that can be improved.

Exams that include Computer Organization and Architecture MCQs

Pakistan

  • PPSC Lecturer Computer Science
  • FPSC Lecturer and Assistant Director IT
  • NTS computer science tests

India

  • GATE Computer Science
  • UGC NET Computer Science
  • ISRO and BARC scientist exams

Bangladesh

  • BCS technical cadre (computer science)
  • Bank IT officer recruitment tests

How to prepare for Computer Organization and Architecture MCQs

  1. Write the formula first for every numerical question (CPU time, AMAT, pipeline speedup, Amdahl) and then substitute the values.
  2. For cache questions, find the offset bits from the block size, the index bits from the number of sets, and give the rest of the address to the tag.
  3. Remember that the hidden leading 1 and the exponent bias are the usual traps in IEEE 754 conversions.
  4. Learn each hazard type with one example and the technique that removes or reduces it.

Frequently asked questions

Is Computer Organization the same as Computer Architecture?

They overlap. Architecture describes what the programmer sees, such as the instruction set and addressing modes, while organisation describes how that is built in hardware, such as pipelines, caches and buses. Most syllabi teach them together.

Which topics in this subject carry the most marks in GATE?

Cache memory calculations, pipelining and number representation appear almost every year, followed by addressing modes, I/O and virtual memory. Check the current official syllabus for your exam.

Do I need a calculator for these questions?

Usually not. Most numerical questions use powers of two and small numbers, so practise doing them by hand quickly.

Last reviewed November 2026