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
A cache memory that has a hit rate of has an access latency and miss penalty An optimization is done on the cache to reduce the miss rate. However, the optimization results in an increase of cache access latency to whereas the miss penalty is not affected. The minimum hit rate (rounded …
Consider a system with direct mapped data cache with a block size of The system has a physical address space of and a word length of During the execution of a program, four data words and are accessed in that order times …
A processor operating at has a standard stage instruction pipeline having a base of one without any pipeline hazards. For a given program that has branch instructions, control hazards incur cycles stall for every branch. A new …
Consider a computer system with a byte-addressable primary memory of size bytes. Assume the computer system has a direct-mapped cache of size ( = bytes), and each cache block is of size bytes. The size of the tag field is __________ bits.
A five-stage pipeline has stage delays of and nanoseconds. The registers that are used between the pipeline stages have a delay of nanoseconds each. The total time to execute independent instructions on this pipeline, assuming there are no pipeline stalls, is _______ nanoseconds.
Consider the following instruction sequence where registers and are general purpose and denotes the content at the memory location …
Consider a set-associative cache of size bytes with cache block size of bytes. Assume that the cache is byte-addressable and a -bit address is used for accessing the cache. If the width of the tag field is bits, the associativity of the cache is _________
Consider a computer system with support. The module is transferring one -bit character in one cycle from a device to memory through cycle stealing at regular intervals. Consider a processor. If processor cycles are used for , the data transfer rate of the device is …
Assume a two-level inclusive cache hierarchy, and , where is the larger of the two. Consider the following statements. : Read misses in a write through cache do not result in writebacks of dirty lines to the : Write allocate policy must be used in conjunction with write through caches and no-write …
Consider a pipelined processor with stages, , , , , and . Each stage of the pipeline, except the stage, takes one cycle. Assume that the …
Consider the following statements. Daisy chaining is used to assign priorities in attending interrupts. When a device raises a vectored interrupt, the CPU does polling to identify the source of interrupt. In polling, the CPU periodically checks the status bits to know if any device needs its attention. During DMA, both the CPU and DMA controller can be bus …
Consider the following data path diagram. Consider an instruction: . The following steps are used to execute it over the given data path. Assume that PC is incremented appropriately. The subscripts and indicate read and write operations, respectively. …
A direct mapped cache memory of MB has a block size of bytes. The cache has an access time of ns and a hit rate of . During a cache miss, it takes 0 ns to bring the first word of a block from the main memory, while each subsequent word takes ns. The word size is bits. The average memory access time in ns (round …
A computer system with a word length of bits has a MB byte- addressable main memory and a KB, -way set associative cache memory with a block size of bytes. Consider the following four physical addresses represented in hexadecimal notation. , , , …
Consider a non-pipelined processor operating at GHz. It takes clock cycles to complete an instruction. You are going to make a - stage pipeline out of this processor. Overheads associated with pipelining force you to operate the pipelined processor at GHz. In a given program, assume that are memory instructions, …
A processor has registers and uses -bit instruction format. It has two types of instructions: I-type and R-type. Each I-type instruction contains an opcode, a register name, and a -bit immediate value. Each R-type instruction contains an opcode and two register names. If there are distinct I-type opcodes, then the maximum number of …
A certain processor uses a fully associative cache of size kB, The cache block size is bytes. Assume that the main memory is byte addressable and uses a -bit address. How many bits are required for the Tag and the Index fields respectively in the addresses generated by the processor?
The chip select logic for a certain DRAM chip in a memory system design is shown below. Assume that the memory system has address lines denoted by to . What is the range of address (in hexadecimal) of the memory system that can get enabled by the chip select (CS) signal?
A certain processor deploys a single-level cache. The cache block size is words and the word size is bytes. The memory system uses a -MHz clock. To service a cache miss, the memory controller first takes cycle to accept the starting address of the block, it then takes cycles to fetch all the eight words of the block, and finally …
A processor has integer registers and floating point registers It uses a instruction format. There are four categories of instructions: and category consists of four instructions, …
