Home › GATE CS › PYQs › Computer Organization & Architecture

Computer Organization & Architecture (COA) — GATE CS Previous Year Questions

Practise GATE Computer Organization & Architecture (COA) previous year questions, organized by topic. Filter by year, marks and MCQ, MSQ or NAT question type. Browse free previews; full access may require a paid plan.

Mapped syllabus topics

  • Instruction Set & Addressing Modes
  • ALU Design
  • Control Unit Design
  • Memory Interfacing & Hierarchy
  • I/O Interface: Interrupt & DMA
  • Instruction Pipelining & Pipeline Hazards

Public question previews

  • Consider a processor P whose instruction set architecture is the load-store architecture. The instruction format is such that the first operand of any instruction is the destination operand. Which one of the following sequences of instructions corresponds to the high-level language statement Z = X + Y ? Note: X, Y, and Z are memory operands. R0, R1, and R2 are registers. (2026 · 1 mark · MCQ)
  • Which one of the following dependencies among the register operands of different instructions can cause a data hazard in a pipelined processor? (2026 · 1 mark · MCQ)
  • The size of the physical address space of a processor is 2^32 bytes. The capacity of a cache memory unit is 2^23 bytes. The cache block size is 128 bytes. The cache memory unit can be built as a direct mapped cache or as a K-way set-associative cache, where K = 2^L and L ∈ {1, 2, 3}. Let the length of the TAG field be M bits for the direct mapped cache, and N bits for the set-associative cache. Which one of the following options is true? (2026 · 2 marks · MCQ)
  • Consider the following two statements about interrupt handling mechanisms in a CPU. S1: In non-vectored interrupt mechanism, it usually takes more time to start the Interrupt Service Routine (ISR) when compared to that in a vectored interrupt mechanism. S2: In daisy-chain interrupt mechanism, the CPU polls all the input devices individually to determine the source of the interrupt. Which one of the following options is correct with respect to S1 and S2 ? (2026 · 1 mark · MCQ)
  • Consider a processor that has 16 general purpose registers and it uses 2-byte instruction format for all its instructions. Variable-sized opcodes are permitted. There are three different types of instructions; M-type, R-type, and C-type. Each M-type instruction has 2 register operands and a 6-bit immediate operand. Each R-type instruction has 3 register operands. Each C-type instruction has a register operand and a 6-bit offset value. If there are 2 unique M-type opcodes and 7 unique R-type opcodes, which one of the following options gives the maximum number of unique opcodes possible for C-type instructions? (2026 · 2 marks · MCQ)