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

GATE 2005

203 questions

MCQ 2031-mark 203

Questions 71–75 of 203

Q71Number System1 markMCQ−0.33 if wrong
The hexadecimal representation of (657)8(657)_{8} is:

Q72Number System1 markMCQ−0.33 if wrong
The range of integers that can be represented by an n bit 2's complement number system is:

Q73Addressing Modes1 markMCQ−0.33 if wrong
Match each of the high level language statements given on the left hand side with the most natural addressing modes from those listed on the right hand side.
1 A[I] = B[J];      a Indirect addressing
 2 while (*A++);     b Indexed addressing
 3 int temp = *x;    c Autoincrement  

Q74ALU Data Path and Control Unit1 markMCQ−0.33 if wrong
An instruction set of a processor has 125 signals which can be divided into 5 groups of mutually exclusive signals as follows:
Group 1 : 20 signals, Group 2 : 70 signals, Group 3 : 2 signals, Group 4 : 10 signals, Group 5 : 23 signals.
How many bits of the control words can be saved by using vertical microprogramming over horizontal microprogramming?

Q75ALU Data Path and Control Unit1 markMCQ−0.33 if wrong
A hardwired CPU uses 10 control signals S1S_1 to S10S_{10}, in various time steps T1T_1 to T5T_5, to implement 4 instructions I1I_1 to I4I_4 as shown below:

T1T2T3T4T5I1S1,S3,S5S2,S4,S6S1,S7S10S3,S8I2S1,S3,S5S8,S9,S10S5,S6S7S6S10I3S1,S3,S5S7,S8,S10S2,S6,S9S10S1,S3I4S1,S3,S5S2,S6,S7S5,S10S6,S9S10\begin{array}{|c|c|c|c|c|c|}\hline&\bf{T_1}&\bf{T_2}&\bf{T_3}&\bf{T_4}&\bf{T_5}\\\hline\bf{I_1}&S_1,S_3,S_5&S_2,S_4,S_6&S_1,S_7&S_{10}&S_3,S_8\\\hline\bf{I_2}&S_1,S_3,S_5&S_8,S_9,S_{10}&S_5,S_6S_7&S_{6}&S_{10}\\\hline\bf{I_3}&S_1,S_3,S_5&S_7,S_8,S_{10}&S_2,S_6,S_{9}&S_{10}&S_1,S_3\\\hline\bf{I_4}&S_1,S_3,S_5&S_2,S_6,S_7&S_5,S_{10}&S_{6},S_9&S_{10}\\\hline\end{array}

Which of the following pairs of expressions represent the circuit for generating control signals S5S_5 and S10S_{10} respectively?

((Ij+Ik)Tn((I_j + I_k)T_n indicates that the control signal should be generated in time step TnT_n if the instruction being executed is ljl_j or lkl_k)