Web Page

Machine instructions and Addressing modes. ALU, data‐path and control unit. Instruction pipelining. Pipeline hazards, Memory hierarchy: cache, main memory and secondary storage; I/O interface (Interrupt and DMA mode)

$$\scriptsize{\overset{{\large{\textbf{Mark Distribution in Previous GATE}}}}{\begin{array}{|c|c|c|c|c|c|c|c|}\hline
\textbf{Year}& \textbf{2024-1} & \textbf{2024-2} & \textbf{2023} &  \textbf{2022} & \textbf{2021-1}&\textbf{2021-2}&\textbf{Minimum}&\textbf{Average}&\textbf{Maximum}
\\\hline\textbf{1 Mark Count} & 2&2&2& 3 &1&2&1&2&3
\\\hline\textbf{2 Marks Count} & 3&3&4& 2 &2&2&2&2.67&4
\\\hline\textbf{Total Marks} & 8&8&10& 7 &5&6&\bf{5}&\bf{7.33}&\bf{10}\\\hline
\end{array}}}$$

Questions without a selected answer in CO and Architecture

190
views
1 answers
0 votes
Design a vertical micro programmed control unit to generate 40 signals. Out of first 35 those only 3 signals can be active at a time. And remaining 5, ... the control memory required is? I am not able to solve this question please help
120
views
0 answers
0 votes
MULTIPLICATION OF (-15) AND (3) USING BOOTH'S ALGORITHMPlease solve this question😭
254
views
1 answers
0 votes
How many 256 X 1K bit chips are required to build 1 MB of memory?
279
views
1 answers
0 votes
Consider the 4-stages(S1, S2, S3, S4) pipeline where different instructions are spending different cycles at different stages given below.S1S2S3S4I11312I21131I32112I41112 ... the instruction "I2" will be available after _____ cycles for I2.
2.9k
views
1 answers
2 votes
Consider a computer with a $4 \mathrm{MHz}$ processor. Its $\text{DMA}$ controller can transfer $8$ bytes in $1$ cycle from a device to main memory through cycle stealing ... $?$2,56,000$3,200$25,60,000$32,000$
2.3k
views
1 answers
2 votes
An instruction format has the following structure:Instruction Number: Opcode destination reg, source reg-$1$, source reg-$2$ Consider the following sequence of instructions to be ... $\text{I 3}$ and $\text{I 4}$
2.1k
views
1 answers
2 votes
A processor with $16$ general purpose registers uses a $32$-bit instruction format. The instruction format consists of an opcode field, an addressing ... maximum number of unique opcodes possible for every addressing mode is ___________.
2.2k
views
1 answers
2 votes
A non-pipelined instruction execution unit operating at $2 \mathrm{GHz}$ takes an average of $6$ ... place) obtained by the pipelined design over the non-pipelined design is ____________.
2.2k
views
1 answers
1 votes
A processor uses a $32$-bit instruction format and supports byte-addressable memory access. The $\text{ISA}$ of the processor has $150$ distinct instructions. The ... value/address field. The value of $\text{X+2Y+Z}$ is __________.
2.7k
views
3 answers
2 votes
Which one of the following statements is FALSE?In the cycle stealing mode of DMA, one word of data is transferred between an I/ ... executing an interrupt service routine faster with vectored interrupts than with non-vectored interrupts
4.7k
views
2 answers
3 votes
Consider a $5$-stage pipelined processor with Instruction Fetch (IF), Instruction Decode (ID), Execute (EX), Memory Access (MEM), and Register Writeback ... does not require any extra hardware to retrieve the data from the pipeline stages
2.8k
views
2 answers
2 votes
Consider two set-associative cache memory architectures: $\text{WBC}$, which uses the write back policy, and $\text{WTC}$, which uses the write ... the victim cache block to main memory before loading the missed block to the cache
2.2k
views
3 answers
0 votes
The baseline execution time of a program on a $2 \mathrm{GHz}$ single core machine is $100$ nanoseconds ( $n s)$ ... of time.The number of cores that minimize the execution time of the program is __________.
3.3k
views
2 answers
1 votes
A given program has $25 \%$ load/store instructions. Suppose the ideal $\text{CPI}$ (cycles per instruction) without any memory stalls is $2$. The program ... a perfect cache (i.e., with NO data or instruction cache misses) is __________.
532
views
1 answers
4 votes
Consider the cache of size 512 bytes that is direct-mapped?Suppose the size of integer is 4 bytes and block size is 16 bytes. Assume cache is initially empty ... }What is the miss rate for the above loop? (roundoff to two decimal places)
534
views
1 answers
5 votes
At a particular point in time, the buffer cache has dirty data that needs to be flushed to disk. Suppose that the identities of these blocks can ... (initially moving upwards)Look (initially moving upwards)C-SCAN (initially moving upwards)
906
views
1 answers
11 votes
Assume an instruction mix of $15 \%$ conditional branches, $1 \%$ unconditional branches, $84 \%$ all others, and $60 \%$ of the conditional branches are ... both "predict taken", "predict not taken" branch predictions, CPI is the $1.30$
128
views
0 answers
0 votes
530
views
1 answers
2 votes
In typical RISC ISA, delayed branch executes which instruction irrespective of whether the branch condition is true or false?Instruction immediately following ... to a different a subroutineIt waits till the branch condition is evaluated
1.0k
views
2 answers
9 votes
Suppose we use $\textsf{IEEE-754}$ single precision floating point format to represent the numbers in binary. What will be the hexadecimal representation ... $\textsf{0x80000008}$\textsf{0x80000010}$\textsf{0x80000002}$
872
views
1 answers
6 votes
Assume a cache memory with the following properties:The cache size $\text{(C)}$ is 512 bytes (contains $512$ data bytes)The cache uses an LRU (least recently used) policy ... $\text{B}=8$ bytes$\text{B}=16$ bytesNone of the above.
524
views
1 answers
5 votes
Your code is required to perform the function $(\text{M}\%16) \ast 3.$ What should you do to eliminate multiplication ($\ast$) and mod($\%$ ... the result, shift result left by $2,$ and add the saved result to current result.
595
views
3 answers
1 votes
Consider 16 bit CPU with 4 GB RAM supports 2 Address Instruction with Address 1 uses direct addressing mode Address2 uses indirect addressing mode. Opcode is ... consumes 6 cycles. Time required to complete the instruction is in (ns).
617
views
2 answers
3 votes
Suppose we have a four-way set associative physically addressed cache of size $256 \mathrm{KB}$ and $\text{16B}$ blocks, on a machine that uses $32$-bit physical addresses. How many bits will be used for the index?
816
views
1 answers
6 votes
The clock rate for Machine $\mathrm{A}$ is $2.4 \mathrm{GHz}$, and the clock rate for machine $\text{B}$ is $3.0 \mathrm{GHz}$. For a particular program, the average ... , with respect to this program. What is $\mathrm{K}?$1$4 / 3$2$3 / 4$
754
views
3 answers
7 votes
Consider a processor with a branch-if-equal instruction that is $32$ bits long$\textsf{: BEQ R12, R11, X.}$ $6$ bits are used to encode the opcode, ... away (the number of instructions) from the $\textsf{BEQ}$ instruction could we reach?
1.2k
views
1 answers
7 votes
Consider the following code fragment:Identify all data dependencies (potential data hazards) in the given code snippet within one loop iteration. Let the number of true data dependencies ... .What is $\mathrm{X}+2 \mathrm{Y}+3 \mathrm{Z}?$
1.0k
views
1 answers
8 votes
A computer has a $32$-bit address bus with a direct mapped cache, using $4$ bits for block offset, $16$ tag bits, and $12$ index bits.Which of the following address ... $\textsf{2233 445 5}$ and $\textsf{2233 445 C}$
241
views
1 answers
0 votes
a computer has 32-bit instructions and 12-bit addressing if there are already 250 two address instruction how many one address instruction can be formulated
To see more, click for the full list of questions or popular tags.