1
GATE CSE 2026 Set 1
MCQ (Single Correct Answer)
+1
-0

Consider a processor P whose instruction set architecture is the load-store architecture. The instruction format is such that the first operand of any instruction is the destination operand.

Which one of the following sequences of instructions corresponds to the high-level language statement $Z=X+Y$ ?

Note: $X, Y$, and $Z$ are memory operands. $R 0, R 1$, and $R 2$ are registers.

A

ADD Z, X, Y

B

ADD RO, X, Y STORE Z, R0

C

LOAD RO, X

ADD Z, RO, Y

D

LOAD RO, X

LOAD R1, Y

ADD R2, R0, R1

STORE Z, R2

2
GATE CSE 2026 Set 1
MCQ (Single Correct Answer)
+1
-0

Which one of the following dependencies among the register operands of different instructions can cause a data hazard in a pipelined processor?

A

Read-after-read

B

Read-after-write

C

Write-after-read

D

Write-after-write

3
GATE CSE 2026 Set 1
MCQ (Single Correct Answer)
+2
-0

Consider the real valued variables $X, Y$ and $Z$ represented using the IEEE 754 singleprecision floating-point format. The binary representations of $X$ and $Y$ in hexadecimal notation are as follows:

$$ X: 35 C 00000 \quad Y: 34 A 00000 $$

Let $Z=X+Y$.

Which one of the following is the binary representation of $Z$, in hexadecimal notation?

A

35 C 80000

B

35 CC 0000

C

$35 E 80000$

D

$35 E C 0000$

4
GATE CSE 2026 Set 1
MCQ (Single Correct Answer)
+2
-0

The size of the physical address space of a processor is $2^{32}$ bytes. The capacity of a cache memory unit is $2^{23}$ bytes. The cache block size is 128 bytes. The cache memory unit can be built as a direct mapped cache or as a $K$-way set-associative cache, where $K=2^L$ and $L \in\{1,2,3\}$. Let the length of the TAG field be $M$ bits for the direct mapped cache, and $N$ bits for the set-associative cache.

Which one of the following options is true?

A

$N=M+L$

B

$N=M-L$

C

$N=M+K$

D

$N=M-K$