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

GATE 2000

54 questions

MCQ 541-mark 54

Questions 21–25 of 54

Q21Machine Instruction1 markMCQ−0.33 if wrong
To put the 8085 microprocessor in the wait state

Q22Addressing Modes1 markMCQ−0.33 if wrong
The most appropriate matching for the following pairs is:

X: Indirect addressing1: Loops Y: Immediate addressing 2: PointersZ: Auto decrement addressing 3: Constants \begin{array}{ll} \text{X: Indirect addressing} & \text{1: Loops } \\ \text{Y: Immediate addressing } & \text{2: Pointers} \\ \text{Z: Auto decrement addressing } & \text{3: Constants } \\ \end{array}

Q23Interrupt1 markMCQ−0.33 if wrong
The 8085 microprocessor responds to the presence of an interrupt

Q24Pipeline Processor1 markMCQ−0.33 if wrong
Comparing the time T1 taken for a single instruction on a pipelined CPU with time T2 taken on a non-pipelined but identical CPU, we can say that

Q25Function1 markMCQ−0.33 if wrong
The value of j at the end of the execution of the following C program:
 int incr (int i)
{ 
    static int count = 0;
    count = count + i;
    return (count);
} 
main () { 
    int i, j; 
    for (i = 0; i <= 4; i++)
       j = incr (i);
} 
is: