Skip to content

GATE CS Computer Organization and Architecture questions

Practise Computer Organization and Architecture questions for GATE CS. Explore official PYQs and original subject-wise quizzes, check answers and view available solutions. Free, no sign-in.

Track address sizes, cache organisation and pipeline dependencies carefully. Write down the units and assumptions before computing memory access times or processor performance.

Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.

20 on this page
Official PYQ2025Computer Organization and ArchitectureMachine Instructions and Addressing ModesNAT · 2 marks
An application executes 6.4×1086.4 \times 10^{8} number of instructions in 6.36.3 seconds. There are four types of instructions, the details of which are given in the table. The duration of a clock cycle in nanoseconds is __________. (rounded off to one decimal place) …
Official PYQ2025Computer Organization and ArchitectureMachine Instructions and Addressing ModesMCQ · 1 mark
​​​​Which of the following is/are part of an Instruction Set Architecture of a processor?
Official PYQ2025Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageMCQ · 2 marks
​​​​For a direct-mapped cache, 44 bits are used for the tag field and 1212 bits are used to index into a cache block. The size of each cache block is one byte. Assume that there is no other information stored for each cache block. Which ONE of the following is the CORRECT option for the sizes of the main memory and the cache memory in this system (byte …
Official PYQ2024Computer Organization and ArchitectureI/O Interface: Interrupt and DMA ModeMCQ · 1 mark
​​​​Which one of the following statements is FALSE?
Official PYQ2024Computer Organization and ArchitectureInstruction PipeliningMSQ · 1 mark
Consider a 55-stage pipelined processor with Instruction Fetch (IF), Instruction Decode (ID), Execute (EX), Memory Access (MEM), and Register Writeback (WB) stages. Which of the following statements about forwarding is/are CORRECT?
Official PYQ2024Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageMSQ · 2 marks
​​​​Consider two set-associative cache memory architectures: WBC\text{WBC}, which uses the write back policy, and WTC\text{WTC}, which uses the write through policy. Both of them use the LRU\text{LRU} (Least Recently Used) block replacement policy. The cache memory is connected to the main memory. Which of the following statements is/are TRUE?
Official PYQ2024Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageNAT · 2 marks
A given program has 25%25 \% load/store instructions. Suppose the ideal CPI\text{CPI} (cycles per instruction) without any memory stalls is 22. The program exhibits 2%2 \% miss rate on instruction cache and 8%8 \% miss rate on data cache. The miss penalty is 100100 cycles. The speedup (rounded off to two decimal places) achieved with a perfect …
Official PYQ2024Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageNAT · 2 marks
The baseline execution time of a program on a 2GHz2 \mathrm{GHz} single core machine is 100100 nanoseconds ( ns)n s). The code corresponding to 90%90 \% of the execution time can be fully parallelized. The overhead for using an additional core is 10 ns10 ~ns when running on a multicore system. Assume that all cores in the multicore system run their share …
Official PYQ2024Computer Organization and ArchitectureI/O Interface: Interrupt and DMA ModeMCQ · 1 mark
​​​Consider a computer with a 4MHz4 \mathrm{MHz} processor. Its DMA\text{DMA} controller can transfer 88 bytes in 11 cycle from a device to main memory through cycle stealing at regular intervals. Which one of the following is the data transfer rate (in bits per second) of the DMA\text{DMA} controller if 1%1 \% of the processor cycles are used for …
Official PYQ2024Computer Organization and ArchitectureInstruction PipeliningMCQ · 1 mark
​​​​​An instruction format has the following structure: Instruction Number: Opcode destination reg, source reg-11, source reg-22 Consider the following sequence of instructions to be executed in a pipelined processor: I 1: DIV R3, R1, R2\text{I 1: DIV R3, R1, R2} I 2: SUB R5, R3, R4\text{I 2: SUB R5, R3, R4} I 3: ADD R3, R5, R6\text{I 3: ADD R3, R5, R6} I 4: MUL R7, R3, R8\text{I 4: MUL R7, R3, R8} Which of the …
Official PYQ2024Computer Organization and ArchitectureMachine Instructions and Addressing ModesNAT · 2 marks
A processor with 1616 general purpose registers uses a 3232-bit instruction format. The instruction format consists of an opcode field, an addressing mode field, two register operand fields, and a 1616-bit scalar field. If 88 addressing modes are to be supported, the maximum number of unique opcodes possible for every addressing mode is ___________.
Official PYQ2024Computer Organization and ArchitectureInstruction PipeliningNAT · 2 marks
A non-pipelined instruction execution unit operating at 2GHz2 \mathrm{GHz} takes an average of 66 cycles to execute an instruction of a program P\text{P}. The unit is then redesigned to operate on a 55 -stage pipeline at 2GHz2 \mathrm{GHz}. Assume that the ideal throughput of the pipelined unit is 11 instruction per cycle. In the execution of …
Official PYQ2024Computer Organization and ArchitectureMachine Instructions and Addressing ModesNAT · 2 marks
A processor uses a 3232-bit instruction format and supports byte-addressable memory access. The ISA\text{ISA} of the processor has 150150 distinct instructions. The instructions are equally divided into two types, namely R\text{R}-type and I\text{I}-type, whose formats are shown below. R - type Instruction Format: \begin{array}{|l|l|l|l|l|} \hline …
Official PYQ2023Computer Organization and ArchitectureInstruction PipeliningNAT · 1 mark
Consider a 33-stage pipelined processor having a delay of 10 ns10 \mathrm{~ns} (nanoseconds), 20 ns20 \mathrm{~ns}, and 14 ns,14 \mathrm{~ns}, for the first, second, and the third stages, respectively. Assume that there is no other delay and the processor does not suffer from any pipeline hazards. Also assume that one instruction is fetched every cycle. The …
Official PYQ2023Computer Organization and ArchitectureI/O Interface: Interrupt and DMA ModeNAT · 1 mark
A keyboard connected to a computer is used at a rate of 11 keystroke per second. The computer system polls the keyboard every 10 ms10 \mathrm{~ms} (milli seconds) to check for a keystroke and consumes 100  μs100\; \mu \mathrm{s} (micro seconds) for each poll. If it is determined after polling that a key has been pressed, the system consumes an additional …
Official PYQ2023Computer Organization and ArchitectureMachine Instructions and Addressing ModesMCQ · 2 marks
Consider the given C\text{C}-code and its corresponding assembly code, with a few operands U1-U4\text{U1-U4} being unknown. Some useful information as well as the semantics of each unique assembly instruction is annotated as inline comments in the code. The memory is byte-addressable. //C-code int a[10], b[10], i; // int is 32 bit for(i=0; i<10; i++) …
Official PYQ2023Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageMCQ · 2 marks
A 44 kilobyte (KB)\text{(KB)} byte-addressable memory is realized using four 1 KB1 \mathrm{~KB} memory blocks. Two input address lines (IA4 and IA3)\text{(IA4 and IA3)} are connected to the chip select (CS)\text{(CS)} port of these memory blocks through a decoder as shown in the figure. The remaining ten input address lines from IA11-IA0\text{IA11-IA0} are connected …
Official PYQ2023Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageNAT · 2 marks
An 88-way set associative cache of size 64 KB  (1 KB=1024  bytes)64 \mathrm{~KB} \;(1 \mathrm{~KB}=1024\; \text{bytes}) is used in a system with 3232-bit address. The address is sub-divided into TAG, INDEX,\text{TAG, INDEX}, and BLOCK OFFSET.\text{BLOCK OFFSET.} The number of bits in the TAG\text{TAG} is ___________.
Official PYQ2022Computer Organization and ArchitectureI/O Interface: Interrupt and DMA ModeMCQ · 1 mark
Which one of the following facilitates transfer of bulk data from hard disk to main memory with the highest throughput?
Official PYQ2022Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageMSQ · 1 mark
Let WB\text{WB} and WT\text{WT} be two set associative cache organizations that use LRU\text{LRU} algorithm for cache block replacement. WB\text{WB} is a write back cache and WT\text{WT} is a write through cache. Which of the following statements is/are FALSE?\text{FALSE}?