GATE 2004 Computer Science and Information Technology (CS) Questions with Solutions

GATE 2004

199 questions

MCQ 1991-mark 199

Questions 71–75 of 199

Q71Addressing Modes1 markMCQ−0.33 if wrong
Which of the following addressing modes are suitable for program relocation at run time?

(i) Absolute addressing
(ii) Based addressing
(iii) Relative addressing
(iv) Indirect addressing

Q72ALU Data Path and Control Unit1 markMCQ−0.33 if wrong
A CPU has only three instructions I1, I2 and I3, which use the following signals in time steps T1-T5:
I1 :
T1 : Ain, Bout, Cin
T2 : PCout, Bin
T3 : Zout, Ain
T4 : Bin, Cout
T5 : End
I2 :
T1 : Cin, Bout, Din
T2 : Aout, Bin
T3 : Zout, Ain
T4 : Bin, Cout
T5 : End
I3 :
T1 : Din, Aout
T2 : Ain, Bout
T3 : Zout, Ain
T4 : Dout, Ain
T5 : End

Which of the following logic functions will generate the hardwired control for the signal Ain ?

Q73ALU Data Path and Control Unit1 markMCQ−0.33 if wrong
The microinstructions stored in the control memory of a processor have a width of 26 bits. Each microinstruction is divided into three fields: a micro-operation field of 13 bits, a next address field (X), and a MUX select field (Y). There are 8 status bits in the inputs of the MUX.
Control Address Register Load Increment Control Memory 13 Micro Operations Y MUX 8 Status Bits X
How many bits are there in the X and Y fields, and what is the size of the control memory in number of words?

Q74Memory Chip Design1 markMCQ−0.33 if wrong
What is the minimum size of ROM required to store the complete truth table of an 8-bit ×\times 8-bit multiplier?

Q75Cache Memory1 markMCQ−0.33 if wrong
Consider a fully associative cache with 8 cache blocks (numbered 0-7) and the following sequence of memory block requests:
4,3,25,8,19,6,25,8,16,35,45,22,8,3,16,25,7
If LRU replacement policy is used, which cache block will have memory block 7?