GATE CSE 1995


Question 1
A single instruction to clear the lower four bits of the accumulator in 8085 assembly language?
A
XRI 0FH
B
ANI F0H
C
XRI F0H
D
ANI 0FH
Computer Organization   
Question 2
Which of the following statements is true?
A
ROM is a Read/Write memory
B
PC points to the last instruction that was executed
C
Stack works on the principle of LIFO
D
All instructions affect the flags
Computer Organization   Memory Chip Design


Question 3
In a vectored interrupt:
A
The branch address is assigned to a fixed location in memory
B
The interrupting source supplies the branch information to the processor through an interrupt vector
C
The branch address is obtained from a register in the processor
D
None of the above
Computer Organization   Interrupt
Question 4
In the following Pascal program segment, what is the value of X after the execution of the program segment?
X := -10; Y := 20;
If X > Y then if X < 0 then X := abs(X) else X := 2*X; 
A
10
B
-20
C
-10
D
None
C Programming   Conditional Statement
Question 5
Merge sort uses:
A
Divide and conquer strategy
B
Backtracking approach
C
Heuristic search
D
Greedy approach
Algorithm   Sorting


There are 5 questions to complete.

Leave a Comment