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
The instruction pipeline of a RISC processor has the following stages: Instruction Fetch , Instruction Decode , Operand Fetch , Perform Operation and Writeback , The , , and stages take clock cycle each for every instruction. Consider a sequence of instructions. In the …
The size of the physical address space of a processor is bytes. The word length is bytes. The capacity of cache memory is bytes. The size of each cache block is words. For a -way set-associative cache memory, the length (in number of bits) of the tag field is
A wide main memory unit with a capacity of is built using DRAM chips. The number of rows of memory cells in the DRAM chip is . The time taken to perform one refresh operation is . The refresh period is The percentage …
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?
A cache memory unit with capacity of words and block size of words is to be designed. If it is designed as a direct mapped cache, the length of the field is bits. If the cache unit is now designed as a -way set-associative cache, the length of the field is ____________ bits.
Consider a -way set associative cache with blocks and uses 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 : …
Instruction execution in a processor is divided into 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 …
Consider a RISC machine where each instruction is exactly 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 …
Consider a two-level cache hierarchy with and caches. An application incurs memory accesses per instruction on average. For this application, the miss rate of cache is ; the cache experiences, on average, misses per instructions. The miss rate of expressed correct to two decimal places is …
Consider the struct defined below: struct data { int marks [100]; char grade; int cnumber; }; struct data student; The base address of student is available in register . The field student.grade can be accessed efficiently using:
Consider a machine with a byte addressable main memory of bytes divided into blocks of size bytes. Assume that a direct mapped cache having cache lines is used with this machine. The size of the tag field in bits is _______
The read access times and the hit ratios for different caches in a memory hierarchy are as given below: …
In a two-level cache system, the access times of and caches are and clock cycles, respectively. The miss penalty from the cache to main memory is clock cycles. The miss rate of cache is twice that of . The average memory access time (AMAT) of this cache system is cycles. The miss rates of …
The size of the data count register of a controller is . The processor needs to transfer a file of kilobytes from disk to main memory. The memory is byte addressable. The minimum number of times the controller needs to get the control of the system bus from the processor to transfer the file from …
The stage delays in a -stage pipeline are and picoseconds. The first stage (with delay picoseconds) is replaced with a functionality equivalent design involving two stages with respective delays and picoseconds. The throughput increase of the pipeline is ___________ percent.
A processor can support a maximum memory of , where the memory is word-addressable (a word consists of two bytes). The size of address bus of the processor is at least _________bits.
Suppose the functions and can be computed in and nanoseconds by functional units and , respectively. Given two instances of and two instances of , it is required to implement the computation for . Ignoring all other delays, the minimum time required to complete …
The width of the physical address on a machine is bits. The width of the tag field in a KB -way set associative cache is ________ bits.
Consider a processor with 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 instructions, the …
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 ms and to read a block from the disk is ms. Assume that the cost of checking whether a block exists in the cache is negligible. Available cache sizes are in multiples of MB. The …
