Computer Organization and Architecture questions

Q9

GATE CS 2014 CS-2Memory HierarchyNAT1 mark
A 4-way set-associative cache memory unit with a capacity of 16 KB is built using a block size of 8 words. The word length is 32 bits. The size of the physical address space is 4 GB. The number of bits for the TAG field is _____
Show answer without attempting

Answer: 20

Q43

GATE CS 2014 CS-2Memory HierarchyMCQ2 marks−2/3 if wrong
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?
Show answer without attempting

Answer: D

Q44

GATE CS 2014 CS-2Memory HierarchyMCQ2 marks−2/3 if wrong
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?
Show answer without attempting

Answer: D

Q55

GATE CS 2014 CS-2Memory HierarchyNAT2 marks
Consider a main memory system that consists of 8 memory modules attached to the system bus, which is one word wide. When a write request is made, the bus is occupied for 100 nanoseconds (ns) by the data, address, and control signals. During the same 100 ns, and for 500 ns thereafter, the addressed memory module executes one cycle accepting and storing the data. The (internal) operation of different memory modules may overlap in time, but only one request can be on the bus at any time. The maximum number of stores (of one word each) that can be initiated in 1 millisecond is ____________
Show answer without attempting

Answer: 10000

Q9

GATE CS 2014 CS-3Instruction PipeliningMCQ1 mark−1/3 if wrong
Consider the following processors (ns stands for nanoseconds). Assume that the pipeline registers have zero latency.

P1: Four-stage pipeline with stage latencies 1 ns, 2 ns, 2 ns, 1 ns.
P2: Four-stage pipeline with stage latencies 1 ns, 1.5 ns, 1.5 ns, 1.5 ns.
P3: Five-stage pipeline with stage latencies 0.5 ns, 1 ns, 1 ns, 0.6 ns, 1 ns.
P4: Five-stage pipeline with stage latencies 0.5 ns, 0.5 ns, 1 ns, 1 ns, 1.1 ns.

Which processor has the highest peak clock frequency?
Show answer without attempting

Answer: C

Q43

GATE CS 2014 CS-3Instruction PipeliningNAT2 marks
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 1 ns, 2.2 ns, 2 ns, 1 ns, and 0.75 ns, respectively (ns stands for nanoseconds). To gain in terms of frequency, the designers have decided to split the ID/RF stage into three stages (ID, RF1, RF2) each of latency 2.2/3 ns. Also, the EX stage is split into two stages (EX1, EX2) each of latency 1 ns. The new design has a total of eight pipeline stages. A program has 20% branch instructions which execute in the EX stage and produce the next instruction pointer at the end of the EX stage in the old design and at the end of the EX2 stage in the new design. The IF stage stalls after fetching a branch instruction until the next instruction pointer is computed. All instructions other than the branch instruction have an average CPI of one in both the designs. The execution times of this program on the old and the new design are P and Q nanoseconds, respectively. The value of P/Q is __________.
Show answer without attempting

Answer: 1.50 to 1.60

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

0/110 correct0 marks

Related topics in GATE CS