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 PYQ2026Computer Organization and ArchitectureMachine Instructions and Addressing ModesMCQ · 1 mark
Match each addressing mode in List I\textbf{List I} with a data element or an element of a data structure (in a high-level language) in List II\textbf{List II}: …
Official PYQ2026Computer Organization and ArchitectureMachine Instructions and Addressing ModesMCQ · 1 mark
Consider a processor P\text{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\mathrm{Z}=\mathrm{X}+\mathrm{Y} ? Note: X, Y, and Z …
Official PYQ2026Computer Organization and ArchitecturePipeline HazardsMCQ · 1 mark
Which one of the following dependencies among the register operands of different instructions can cause a data hazard in a pipelined processor?
Official PYQ2026Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageMCQ · 2 marks
The size of the physical address space of a processor is 2322^{32} bytes. The capacity of a cache memory unit is 2232^{23} bytes. The cache block size is 128128 bytes. The cache memory unit can be built as a direct mapped cache or as a KK-way set-associative cache, where K=2LK=2^{L} and L∈{1,2,3}L \in\{1,2,3\}. Let the length of the TAG field be MM bits …
Official PYQ2026Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageMSQ · 2 marks
Consider a system that has a cache memory unit and a memory management unit (MMU). The address input to the cache memory is a physical address. The MMU has a translation lookaside buffer (TLB). Assume that when a page is evicted from the main memory, the corresponding blocks in the cache are marked as invalid. For a given memory reference, which of the …
Official PYQ2026Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageNAT · 2 marks
Consider a hard disk with a rotational speed of 1500015000 rpm. The time to move the read/write head from a track to its adjacent track is 11 millisecond. Initially, the head is on track 00. The number of sectors per track is 400400. The sector size is 10241024 bytes. It is necessary to transfer data from 1010 randomly located sectors in each of the …
Official PYQ2026Computer Organization and ArchitecturePipeline HazardsNAT · 2 marks
The EX stage of a pipelined processor performs the memory read operations for LOAD instructions, and the operations for the arithmetic and logic instructions. Let tEXt_{E X} denote the time taken by the EX stage to perform the operation for an instruction. For each instruction type, the values of tEXt_{E X} and MM (the number of instructions of that …
Official PYQ2026Computer Organization and ArchitectureI/O Interface: Interrupt and DMA ModeMCQ · 1 mark
Consider the following two statements about interrupt handling mechanisms in a CPU. S1\text{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\text{S2}: In daisy-chain interrupt mechanism, the CPU polls all the input devices …
Official PYQ2026Computer Organization and ArchitectureMachine Instructions and Addressing ModesMCQ · 2 marks
Consider a processor that has 1616 general purpose registers and it uses 22-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 22 register operands and a 66-bit immediate operand. Each Rtype instruction has …
Official PYQ2026Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageMSQ · 2 marks
Consider a system with a processor and a 44 KB direct mapped cache with block size of 1616 bytes. The system has a 1616 MB physical memory. Four words P,Q,R\mathrm{P}, \mathrm{Q}, \mathrm{R}, and S are accessed by the processor in the same order 1010 times. That is, there are a total of 4040 memory references in the sequence …
Official PYQ2026Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageNAT · 2 marks
To keep track of free blocks in a file system, one of the two approaches is generally used - using bitmaps (bit vectors) or using linked lists. Consider that the linked list approach is used to keep track of free blocks in a file system. Assume that the disk size is 1616 GB , block size is 22 KB , and block numbers used are 3232-bit long. A single …
Official PYQ2026Computer Organization and ArchitectureInstruction PipeliningNAT · 2 marks
A non-pipelined instruction execution unit that operates at 1.61.6 GHz clock takes an average of 55 clock cycles to complete the execution of an instruction. To improve the performance, the system was pipelined with a goal of achieving an average throughput of one instruction per clock cycle. However, it could operate only at 1.21.2 GHz due to pipeline …
Official PYQ2026Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageNAT · 2 marks
Consider a system with 11 MB physical memory and a word length of 11 byte. The system uses a direct mapped cache, with block numbers starting from 00. The word with physical address 0xA2C28\text{0xA2C28} is mapped to the cache block number 1761017610. The maximum possible size of the cache (in KB ) for this configuration is _______\_\_\_\_\_\_\_. (answer …
Official PYQ2025Computer Organization and ArchitectureI/O Interface: Interrupt and DMA ModeMCQ · 1 mark
Suppose a program is running on a non-pipelined single processor computer system. The computer is connected to an external device that can interrupt the processor asynchronously. The processor needs to execute the interrupt service routine (ISR) to serve this interrupt. The following steps (not necessarily in order) are taken by the processor when the …
Official PYQ2025Computer Organization and ArchitectureALU, Data-path and Control UnitMSQ · 1 mark
A partial data path of a processor is given in the figure, where RA, RB,\text{RA, RB,} and RZ\text{RZ} are 3232-bit registers. Which option(s) is/are CORRECT related to arithmetic operations using the data path as shown?
Official PYQ2025Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageMCQ · 2 marks
Consider a memory system with 1M1 \mathrm{M} bytes of main memory and 16 K16 \mathrm{~K} bytes of cache memory. Assume that the processor generates 2020-bit memory address, and the cache block size is 1616 bytes. If the cache uses direct mapping, how many bits will be required to store all the tag⁡\operatorname{tag} values? [Assume memory is byte …
Official PYQ2025Computer Organization and ArchitectureMachine Instructions and Addressing ModesMCQ · 2 marks
A processor has 6464 general-purpose registers and 5050 distinct instruction types. An instruction is encoded in 3232-bits. What is the maximum number of bits that can be used to store the immediate operand for the given instruction? ADD R1\text{ADD R1}, #25\#25 / / R 1=R 1+25\text{R 1=R 1+25}
Official PYQ2025Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageNAT · 2 marks
A computer has a memory hierarchy consisting of two-level cache (L1\text{(L1} and L2)\text{L2)} and a main memory. If the processor needs to access data from memory, it first looks into L1\text{L1} cache. If the data is not found in L1\text{L1} cache, it goes to L2\text{L2} cache. If it fails to get the data from L2\text{L2} cache, it goes to main …
Official PYQ2025Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageNAT · 2 marks
Given a computing system with two levels of cache (L1 and L2) and a main memory. The first level (L1) cache access time is 11 nanosecond (ns) and the "hit rate" for L1 cache is 90%90 \% while the processor is accessing the data from L1 cache. Whereas, for the second level (L2) cache, the "hit rate" is 80%80 \% and the "miss penalty" for transferring …
Official PYQ2025Computer Organization and ArchitectureInstruction PipeliningNAT · 2 marks
A 55-stage instruction pipeline has stage delays of 180,250,150,170180,250,150,170, and 250250, respectively, in nanoseconds. The delay of an inter-stage latch is 1010 nanoseconds. Assume that there are no pipeline stalls due to branches and other hazards. The time taken to process 10001000 instructions in microseconds is __________. (rounded off to two decimal …