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

GATE 2004

199 questions

MCQ 1991-mark 199

Questions 66–70 of 199

Q66Number System1 markMCQ−0.33 if wrong
Let A = 1111 1010 and B = 0000 1010 be two 8-bit 2's complement numbers. Their product in 2's complement is

Q67Number System1 markMCQ−0.33 if wrong
What is the result of evaluating the following two expressions using three-digit floating point arithmetic with rounding?

(113. + - 111.) + 7.51
113. + (- 111. + 7.51)

Q68Number System1 markMCQ−0.33 if wrong
If 73x73_{x} (in base-x number system) is equal to 54y54_{y} (in base y-number system), the possible values of x and y are

Q69Machine Instruction1 markMCQ−0.33 if wrong
If we use internal data forwarding to speed up the performance of a CPU (R1, R2 and R3 are registers and M[100] is a memory reference), then the sequence of operations
R1 →\rightarrow M[100]
M[100] →\rightarrow R2
M[100] →\rightarrow R3
can be replaced by

Q70Machine Instruction1 markMCQ−0.33 if wrong
Consider the following program segment for a hypothetical CPU having three user registers R1, R2 and R3.
Instruction Operation Instruction Size (in words) MOV R1,5000 ;R1 ← Memory[5000] 2 MOV R2(R1) ;R2 ← Memory[(R1)] 1 ADD R2, R3 ;R2 ← R2 + R3 1 MOV 6000, R2 ; Memory[6000] ← R2 2 HALT ;Machine halts 1
Consider that the memory is byte addressable with size 32 bits, and the program has been loaded starting from memory location 1000 (decimal). If an interrupt occurs while the CPU has been halted after executing the HALT instruction, the return address (in decimal) saved in the stack will be