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
An application executes number of instructions in seconds. There are four types of instructions, the details of which are given in the table. The duration of a clock cycle in nanoseconds is __________. (rounded off to one decimal place) …
Which of the following is/are part of an Instruction Set Architecture of a processor?
For a direct-mapped cache, bits are used for the tag field and bits are used to index into a cache block. The size of each cache block is one byte. Assume that there is no other information stored for each cache block. Which ONE of the following is the CORRECT option for the sizes of the main memory and the cache memory in this system (byte …
Which one of the following statements is FALSE?
Consider a -stage pipelined processor with Instruction Fetch (IF), Instruction Decode (ID), Execute (EX), Memory Access (MEM), and Register Writeback (WB) stages. Which of the following statements about forwarding is/are CORRECT?
Consider two set-associative cache memory architectures: , which uses the write back policy, and , which uses the write through policy. Both of them use the (Least Recently Used) block replacement policy. The cache memory is connected to the main memory. Which of the following statements is/are TRUE?
A given program has load/store instructions. Suppose the ideal (cycles per instruction) without any memory stalls is . The program exhibits miss rate on instruction cache and miss rate on data cache. The miss penalty is cycles. The speedup (rounded off to two decimal places) achieved with a perfect …
The baseline execution time of a program on a single core machine is nanoseconds ( . The code corresponding to of the execution time can be fully parallelized. The overhead for using an additional core is when running on a multicore system. Assume that all cores in the multicore system run their share …
Consider a computer with a processor. Its controller can transfer bytes in cycle from a device to main memory through cycle stealing at regular intervals. Which one of the following is the data transfer rate (in bits per second) of the controller if of the processor cycles are used for …
An instruction format has the following structure: Instruction Number: Opcode destination reg, source reg-, source reg- Consider the following sequence of instructions to be executed in a pipelined processor: Which of the …
A processor with general purpose registers uses a -bit instruction format. The instruction format consists of an opcode field, an addressing mode field, two register operand fields, and a -bit scalar field. If addressing modes are to be supported, the maximum number of unique opcodes possible for every addressing mode is ___________.
A non-pipelined instruction execution unit operating at takes an average of cycles to execute an instruction of a program . The unit is then redesigned to operate on a -stage pipeline at . Assume that the ideal throughput of the pipelined unit is instruction per cycle. In the execution of …
A processor uses a -bit instruction format and supports byte-addressable memory access. The of the processor has distinct instructions. The instructions are equally divided into two types, namely -type and -type, whose formats are shown below. R - type Instruction Format: \begin{array}{|l|l|l|l|l|} \hline …
Consider a -stage pipelined processor having a delay of (nanoseconds), , and for the first, second, and the third stages, respectively. Assume that there is no other delay and the processor does not suffer from any pipeline hazards. Also assume that one instruction is fetched every cycle. The …
A keyboard connected to a computer is used at a rate of keystroke per second. The computer system polls the keyboard every (milli seconds) to check for a keystroke and consumes (micro seconds) for each poll. If it is determined after polling that a key has been pressed, the system consumes an additional …
Consider the given -code and its corresponding assembly code, with a few operands being unknown. Some useful information as well as the semantics of each unique assembly instruction is annotated as inline comments in the code. The memory is byte-addressable. //C-code int a[10], b[10], i; // int is 32 bit for(i=0; i<10; i++) …
A kilobyte byte-addressable memory is realized using four memory blocks. Two input address lines are connected to the chip select port of these memory blocks through a decoder as shown in the figure. The remaining ten input address lines from are connected …
An -way set associative cache of size is used in a system with -bit address. The address is sub-divided into and The number of bits in the is ___________.
Which one of the following facilitates transfer of bulk data from hard disk to main memory with the highest throughput?
Let and be two set associative cache organizations that use algorithm for cache block replacement. is a write back cache and is a write through cache. Which of the following statements is/are
