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
Consider a (gigahertz) processor with a three stage pipeline and stage latencies and such that . If the longest pipeline stage is split into two pipeline stages of equal latency , the new frequency is __________ , ignoring delays in the …
A processor has distinct instruction and general purpose registers. A -bit instruction word has an opcode, two registers operands and an immediate operand. The number of bits available for the immediate operand field is_______.
Consider a non-pipelined processor with a clock rate of gigahertz and average cycles per instruction of four. The same processor is upgraded to a pipelined processor with five stages; but due to the internal pipeline delay, the clock speed is reduced to gigahertz. Assume that there are no stalls in the pipeline. The speedup achieved in this …
Consider the sequence of machine instruction given below: In the above sequence, to are general purpose registers. In the instructions shown, the first register …
Consider a processor with byte-addressable memory. Assume that all registers, including program counter (PC) and Program Status Word (PSW), are size of two bytes. A stack in the main memory is implemented from memory location and it grows upward. The stack pointer (SP) points to the top element of the stack. The current value of SP is …
Assume that for a certain processor, a read request takes on a cache miss and on a cache hit. Suppose while running a program, it was observed that of the processor's read requests result in a cache hit. The average read access time in nanoseconds is ______.
Consider the following reservation table for a pipeline having three stages . …
Consider the following code sequence having five instructions from . Each of these instructions has the following format. OP Ri, Rj, Rk Where operation OP is performed on contents of registers Rj and Rk and the result is stored in register Ri. : ADD R1, R2, R3 : MUL R7, R1, R3 : SUB R4, R1, R5 : ADD R3, R2, …
Consider a machine with a byte addressable main memory of bytes, block size of bytes and a direct mapped cache having cache lines. Let the addresses of two consecutive bytes in main memory be and . What are the tag and cache line addresses ( in hex) for main memory address …
Consider two processors and executing the same instruction set. Assume that under identical conditions, for the same input, a program running on takes less time but incurs more CPI (clock cycles per instruction) as compared to the program running on . If the clock frequency of is …
An access sequence of cache block addresses is of length and contains n unique block addresses. The number of unique block addresses between two consecutive accesses to the same block address is bounded above by . What is the miss ratio if the access sequence is passed through a cache of associativity exercising least-recently-used …
Consider a -stage instruction pipeline, where all stages are perfectly balanced. Assume that there is no cycle-time overhead of pipelining. When an application is executing on this -stage pipeline, the speedup achieved with respect to non-pipelined execution if % of the instructions incur pipeline stall cycles is ____________
A machine has a architecture, with long instructions. It has registers, each of which is bits long. It needs to support instructions, which have an immediate operand in addition to two register operands. Assuming that the immediate operand is an unsigned integer, the maximum value of the immediate …
If the associativity of a processor cache is doubled while keeping the capacity and block size unchanged, which one of the following is guaranteed to be NOT affected?
In designing a computer's cache system, the cache block (or cache line) size is an important parameter. Which one of the following statements is correct in this context?
A -way set-associative cache memory unit with a capacity of KB is built using a block size of words. The word length is bits. The size of the physical address space is GB. The number of bits for the TAG field is ____
The memory access time is nanosecond for a read operation with a hit in cache, nanoseconds for a read operation with a miss in cache, nanoseconds for a write operation with a hit in cache and nanoseconds for a write operation with a miss in cache. Execution of a sequence of instructions involves instruction fetch operations, …
An instruction pipeline has five stages, namely, instruction fetch (IF), instruction decode and register fetch (ID/RF), instruction execution (EX), memory access (MEM), and register writeback (WB) with stage latencies ns, ns, ns, ns, and ns, respectively (ns stands for nanoseconds). To gain in terms of frequency, the …
Consider the following processors (ns stands for nanoseconds). Assume that the pipeline registers have zero latency. Four-stage pipeline with stage latencies . Four-stage pipeline with stage latencies . Five-stage pipeline with stage latencies …
Consider the following sequence of micro-operations. MBR ← PC MAR ← X PC ← Y Memory ← MBR Which one of the following is a possible operation performed by this sequence?
