Computer Organization & Architecture — Solved PYQ & Mock Arena
Topic-wise Computer Organization & Architecture previous-year GATE & UGC NET questions with step-by-step LaTeX solutions
An inner for loop executes exactly iterations each time an outer while loop invokes it ( outer invocations). What are the steady-state branch prediction accuracies on the inner-loop backward branch for a 1-bit predictor vs a 2-bit saturating counter predictor?
A Write-Back, Write-Allocate L1 cache has hit time and miss rate . Transferring one cache block to or from Main Memory takes , and of evicted cache blocks are dirty. What is the Average Memory Access Time (AMAT) in nanoseconds?
A processor uses virtual pages and a Virtually Indexed, Physically Tagged (VIPT) L1 data cache with cache blocks. To avoid virtual aliasing without OS page coloring (so Set Index + Block Offset Page Offset), what is the minimum set-associativity required for a L1 cache?
A processor has an L1 cache with hit time and hit rate , an L2 cache with hit time and local hit rate , and main memory access penalty (hierarchical inclusive serial lookup: L2 accessed only on L1 miss; RAM accessed only on L2 miss). What is the Average Memory Access Time (AMAT) in nanoseconds?
A horizontal microprogrammed control unit controls distinct single-bit control signals, supports microinstructions in control memory, and selects among status flags plus unconditional input (-to- condition MUX). Using unencoded control signals, what is the width (in bits) of each microinstruction word?
Which machine addressing mode is ideal for implementing position-independent relocatable code and conditional BRANCH instructions at runtime?
A non-pipelined processor runs at () with average . A 5-stage pipelined version has stage delays plus pipeline latch overhead , and achieves due to stalls. What is the speedup of the pipelined processor over the non-pipelined processor?
Which machine addressing mode is best suited for writing relocatable / position-independent code at runtime?
An L1 cache has access time and hit ratio . Main memory access penalty on a cache miss (including block fill) is . Under simultaneous/hierarchical model , what is the Average Memory Access Time?
In a standard in-order 5-stage RISC instruction pipeline (IF, ID, EX, MEM, WB), which data hazard can actually occur and require stalling or operand forwarding?
A 4-byte PC-relative branch instruction is stored in memory starting at byte address . If the signed displacement field inside the instruction equals , what is the branch target byte address?
A 4-way set-associative cache has block (line) size of in a system with a -bit physical address. How many bits are in the Tag field?
A computer has a -bit physical address space and a 4-way set-associative cache of total capacity with a cache block size of . How many bits are in the Tag field of the physical address?