Computer Organization and Architecture questions — page 6 of 6

Q44

GATE CS 2014 CS-3Memory HierarchyNAT2 marks
The memory access time is 1 nanosecond for a read operation with a hit in cache, 5 nanoseconds for a read operation with a miss in cache, 2 nanoseconds for a write operation with a hit in cache and 10 nanoseconds for a write operation with a miss in cache. Execution of a sequence of instructions involves 100 instruction fetch operations, 60 memory operand read operations and 40 memory operand write operations. The cache hit-ratio is 0.9. The average memory access time (in nanoseconds) in executing the sequence of instructions is __________.
Show answer without attempting

Answer: 1.68

Q9

GATE CS 2014 CS-1Instruction Set and AddressingNAT1 mark
A machine has a 32-bit architecture, with 1-word long instructions. It has 64 registers, each of which is 32 bits long. It needs to support 45 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 operand is ____________.
Show answer without attempting

Answer: 16383

Q43

GATE CS 2014 CS-1Instruction PipeliningNAT2 marks
Consider a 6-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 6-stage pipeline, the speedup achieved with respect to non-pipelined execution if 25% of the instructions incur 2 pipeline stall cycles is ______________________.
Show answer without attempting

Answer: 4

Q44

GATE CS 2014 CS-1Memory HierarchyMCQ2 marks−2/3 if wrong
An access sequence of cache block addresses is of length N 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 k. What is the miss ratio if the access sequence is passed through a cache of associativity A≥kA \ge k exercising least-recently-used replacement policy?
Show answer without attempting

Answer: A

Q55

GATE CS 2014 CS-1Instruction PipeliningNAT2 marks
Consider two processors P1P_1 and P2P_2 executing the same instruction set. Assume that under identical conditions, for the same input, a program running on P2P_2 takes 25% less time but incurs 20% more CPI (clock cycles per instruction) as compared to the program running on P1P_1. If the clock frequency of P1P_1 is 1GHz, then the clock frequency of P2P_2 (in GHz) is _________.
Show answer without attempting

Answer: 1.6

Q20

GATE CS 2013 CSMemory HierarchyMCQ1 mark−1/3 if wrong
In a kk-way set associative cache, the cache is divided into vv sets, each of which consists of kk lines. The lines of a set are placed in sequence one after another. The lines in set ss are sequenced before the lines in set (s+1)(s+1). The main memory blocks are numbered 0 onwards. The main memory block numbered jj must be mapped to any one of the cache lines from
Show answer without attempting

Answer: A

Q28

GATE CS 2013 CSInput OutputMCQ2 marks−2/3 if wrong
Consider the following sequence of micro-operations.

<br>MBR←PC<br>MAR←X<br>PC←Y<br>Memory←MBR<br>\begin{align*}<br>\text{MBR} &\leftarrow \text{PC} \\<br>\text{MAR} &\leftarrow \text{X} \\<br>\text{PC} &\leftarrow \text{Y} \\<br>\text{Memory} &\leftarrow \text{MBR}<br>\end{align*}

Which one of the following is a possible operation performed by this sequence?
Show answer without attempting

Answer: D

Q45

GATE CS 2013 CSInstruction PipeliningMCQ2 marks−2/3 if wrong
Consider an instruction pipeline with five stages without any branch prediction: Fetch Instruction (FI), Decode Instruction (DI), Fetch Operand (FO), Execute Instruction (EI) and Write Operand (WO). The stage delays for FI, DI, FO, EI and WO are 5 ns, 7 ns, 10 ns, 8 ns and 6 ns, respectively. There are intermediate storage buffers after each stage and the delay of each buffer is 1 ns. A program consisting of 12 instructions I1,I2,I3,…,I12I_1, I_2, I_3, \dots, I_{12} is executed in this pipelined processor. Instruction I4I_4 is the only branch instruction and its branch target is I9I_9. If the branch is taken during the execution of this program, the time (in ns) needed to complete the program is
Show answer without attempting

Answer: B

Q46

GATE CS 2013 CSMemory HierarchyMCQ2 marks−2/3 if wrong
A RAM chip has a capacity of 1024 words of 8 bits each (1K×81\text{K} \times 8). The number of 2×42 \times 4 decoders with enable line needed to construct a 16K×1616\text{K} \times 16 RAM from 1K×81\text{K} \times 8 RAM is
Show answer without attempting

Answer: B

Q20

GATE CS 2012 CSInstruction PipeliningMCQ1 mark−1/3 if wrong
Register renaming is done in pipelined processors
Show answer without attempting

Answer: C

0/120 correct0 marks

Related topics in GATE CS