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
Which of the following statements about synchronous and asynchronous I/O is NOT true?
In an instruction execution pipeline, the earliest that the data TLB (Translation Lookaside Buffer) can be accessed is:
Which of the following are NOT true in a pipelined processor? Bypassing can handle all RAW hazards Register renaming can eliminate all register carried WAR hazards Control hazard penalties can be eliminated by dynamic branch prediction
The use of multiple register windows with overlap causes a reduction in the number of memory accesses for: Function locals and parameters Register saves and restores Instruction fetches
For inclusion to hold between two cache levels and in a multi-level cache hierarchy, which of the following are necessary? must be write-through cache must be a write-through cache The associativity of must be greater than that of The cache must be at least as large as the cache
Which of the following must be true for the RFE (Return From Exception) instruction on a general purpose processor? It must be a trap instruction It must be a privileged instruction An exception cannot be allowed to occur during execution of an RFE instruction
Which of the following is/are true of the auto-increment addressing mode? It is useful in creating self-relocating code If it is included in an Instruction Set Architecture, then an additional ALU is required for effective address calculation The amount of increment depends on the size of the data item accessed
Consider the following program segment. Here and are the general purpose registers. …
Consider the following program segment. Here and are the general purpose registers. …
Consider a machine with a byte addressable main memory of bytes. Assume that a direct mapped data cache consisting of lines of bytes each is used in the system. A x two-dimensional array of bytes is stored in the main memory starting from memory location . Assume that the data cache is initially empty. The …
Consider a machine with a byte addressable main memory of bytes. Assume that a direct mapped data cache consisting of lines of bytes each is used in the system. A two-dimensional array of bytes is stored in the main memory starting from memory location . Assume that the data cache is initially empty. The …
Consider the following program segment. Here and are the general purpose registers. …
In a simplified computer the instructions are: …
Consider a pipelined processor with the following four stages: IF: Instruction Fetch ID: Instruction Decode and Operand Fetch EX: Execute WB: Write Back The IF, ID and WB stages take one clock cycle each to complete the operation. The number of clock cycles for the EX stage depends on the instruction. The ADD and SUB instructions need clock cycle and …
Consider a -way set associative cache consisting of lines with a line size of words. The CPU generates a address of a word in main memory. The number of bits in the TAG, LINE and WORD fields are respectively:
Consider two cache organizations. First one is -way set associative with block size, the second is of same size but direct mapped. The size of an address is in both cases . A -to- multiplexer has latency of while a bit comparator has latency of . The hit latency …
A CPU has a direct mapped cache with byte-block size. Suppose is two dimensional array of size with elements that occupy each. Consider the following two code segments, and . : for (i=0; i<512; i++) { for (j=0; j<512; j++) { x +=A[i] [j]; } } P2: for (i=0; i<512; i++) …
A CPU has a direct mapped cache with byte-block size. Suppose A is two dimensional array of size with elements that occupy -bytes each. Consider the following two C code segments, and . P1: for (i=0; i<512; i++) { for (j=0; j<512; j++) { x +=A[i] [j]; } } P2: for (i=0; i<512; i++) { for (j=0; …
Consider two cache organizations. First one is set associative with block size, the second is of same size but direct mapped. The size of an address is in both cases . A multiplexer has latency of while a comparator has …
Consider a new instruction named branch-on-bit-set (mnemonic bbs). The instruction “bbs reg, pos, label” jumps to label if bit in position pos of register operand reg is one. A register is -bits wide and the bits are numbered to bit in position being the least significant. Consider the following emulation of this instruction on a …
