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 PYQ2018Computer Organization and ArchitectureInstruction PipeliningNAT · 2 marks
The instruction pipeline of a RISC processor has the following stages: Instruction Fetch (IF)(IF), Instruction Decode (ID)(ID), Operand Fetch (OF)(OF), Perform Operation (PO)(PO) and Writeback (WB)(WB), The IFIF, IDID, OFOF and WBWB stages take 11 clock cycle each for every instruction. Consider a sequence of 100100 instructions. In the POPO …
Official PYQ2018Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageMCQ · 2 marks
The size of the physical address space of a processor is 2P2^P bytes. The word length is 2W2^W bytes. The capacity of cache memory is 2N2^N bytes. The size of each cache block is 2M2^M words. For a KK-way set-associative cache memory, the length (in number of bits) of the tag field is
Official PYQ2018Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageNAT · 1 mark
A 32-bit32\text{-bit} wide main memory unit with a capacity of 1  GB1\;\textsf{GB} is built using 256M×4-bit256\textsf{M} \times 4\text{-bit} DRAM chips. The number of rows of memory cells in the DRAM chip is 2142^{14}. The time taken to perform one refresh operation is 50  nanoseconds50\;\text{nanoseconds}. The refresh period is 2  milliseconds.2\;\text{milliseconds.} The percentage …
Official PYQ2018Computer Organization and ArchitectureMachine Instructions and Addressing ModesMCQ · 1 mark
Consider the following processor design characteristics: Register-to-register arithmetic operations only Fixed-length instruction format Hardwired control unit Which of the characteristics above are used in the design of a RISC processor?
Official PYQ2017Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageNAT · 1 mark
A cache memory unit with capacity of NN words and block size of BB words is to be designed. If it is designed as a direct mapped cache, the length of the TAG\textsf{TAG} field is 1010 bits. If the cache unit is now designed as a 1616-way set-associative cache, the length of the TAG\textsf{TAG} field is ____________ bits.
Official PYQ2017Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageNAT · 1 mark
Consider a 22-way set associative cache with 256256 blocks and uses LRU\text{LRU} replacement. Initially the cache is empty. Conflict misses are those misses which occur due to the contention of multiple blocks for the same cache set. Compulsory misses occur due to first time access to the block. The following sequence of access to memory blocks : …
Official PYQ2017Computer Organization and ArchitectureInstruction PipeliningNAT · 1 mark
Instruction execution in a processor is divided into 55 stages, Instruction Fetch (IF), Instruction Decode (ID), Operand fetch (OF), Execute (EX), and Write Back (WB). These stages take 5, 4, 20, 10 and 3 nanoseconds (ns) respectively. A pipelined implementation of the processor requires buffering between each pair of consecutive stages with a delay of 2 …
Official PYQ2017Computer Organization and ArchitectureMachine Instructions and Addressing ModesNAT · 1 mark
Consider a RISC machine where each instruction is exactly 44 bytes long. Conditional and unconditional branch instructions use PC-relative addressing mode with Offset specified in bytes to the target location of the branch instruction. Further the Offset is always with respect to the address of the next instruction in the program sequence. Consider the …
Official PYQ2017Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageNAT · 1 mark
Consider a two-level cache hierarchy with L1L1 and L2L2 caches. An application incurs 1.41.4 memory accesses per instruction on average. For this application, the miss rate of L1L1 cache is 0.10.1; the L2L2 cache experiences, on average, 77 misses per 10001000 instructions. The miss rate of L2L2 expressed correct to two decimal places is …
Official PYQ2017Computer Organization and ArchitectureMachine Instructions and Addressing ModesMCQ · 1 mark
Consider the CC struct defined below: struct data { int marks [100]; char grade; int cnumber; }; struct data student; The base address of student is available in register R1R1. The field student.grade can be accessed efficiently using:
Official PYQ2017Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageNAT · 1 mark
Consider a machine with a byte addressable main memory of 2322^{32} bytes divided into blocks of size 3232 bytes. Assume that a direct mapped cache having 512512 cache lines is used with this machine. The size of the tag field in bits is _______
Official PYQ2017Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageNAT · 1 mark
The read access times and the hit ratios for different caches in a memory hierarchy are as given below: …
Official PYQ2017Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageMCQ · 1 mark
In a two-level cache system, the access times of L1L_1 and L2L_2 caches are 11 and 88 clock cycles, respectively. The miss penalty from the L2L_2 cache to main memory is 1818 clock cycles. The miss rate of L1L_1 cache is twice that of L2L_2. The average memory access time (AMAT) of this cache system is 22 cycles. The miss rates of …
Official PYQ2016Computer Organization and ArchitectureI/O Interface: Interrupt and DMA ModeNAT · 1 mark
The size of the data count register of a DMA\text{DMA} controller is 16  bits16\;\text{bits}. The processor needs to transfer a file of 29,15429,154 kilobytes from disk to main memory. The memory is byte addressable. The minimum number of times the DMA\text{DMA} controller needs to get the control of the system bus from the processor to transfer the file from …
Official PYQ2016Computer Organization and ArchitectureInstruction PipeliningNAT · 1 mark
The stage delays in a 44-stage pipeline are 800,500,400800, 500, 400 and 300300 picoseconds. The first stage (with delay 800800 picoseconds) is replaced with a functionality equivalent design involving two stages with respective delays 600600 and 350350 picoseconds. The throughput increase of the pipeline is ___________ percent.
Official PYQ2016Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageNAT · 1 mark
A processor can support a maximum memory of 4  GB4\;\textsf{GB}, where the memory is word-addressable (a word consists of two bytes). The size of address bus of the processor is at least _________bits.
Official PYQ2016Computer Organization and ArchitectureALU, Data-path and Control UnitNAT · 1 mark
Suppose the functions FF and GG can be computed in 55 and 33 nanoseconds by functional units UFU_{F} and UGU_{G}, respectively. Given two instances of UFU_{F} and two instances of UGU_{G}, it is required to implement the computation F(G(Xi))F(G(X_{i})) for 1≤i≤101 \leq i \leq 10. Ignoring all other delays, the minimum time required to complete …
Official PYQ2016Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageNAT · 1 mark
The width of the physical address on a machine is 4040 bits. The width of the tag field in a 512512 KB 88-way set associative cache is ________ bits.
Official PYQ2016Computer Organization and ArchitectureMachine Instructions and Addressing ModesNAT · 1 mark
Consider a processor with 6464 registers and an instruction set of size twelve. Each instruction has five distinct fields, namely, opcode, two source register identifiers, one destination register identifier, and twelve-bit immediate value. Each instruction must be stored in memory in a byte-aligned fashion. If a program has 100100 instructions, the …
Official PYQ2016Computer Organization and ArchitectureMemory Hierarchy: Cache, Main Memory and Secondary StorageNAT · 1 mark
A file system uses an in-memory cache to cache disk blocks. The miss rate of the cache is shown in the figure. The latency to read a block from the cache is 11 ms and to read a block from the disk is 1010 ms. Assume that the cost of checking whether a block exists in the cache is negligible. Available cache sizes are in multiples of 1010 MB. The …