1
GATE CSE 1998
MCQ (Single Correct Answer)
+1
-0.3
Which of the following device should get higher priority on assigning interrupts?
A
Hard disk
B
Printer
C
Keyboard
D
Floppy disk
2
GATE CSE 1998
MCQ (Single Correct Answer)
+1
-0.3
Which of the following is true?
A
Unless enabled, a $$CPU$$ will not be able to process interrupts.
B
Loop instructions cannot be interrupted till they complete.
C
A processor checks for interrupts before executing a new instruction.
D
Only level triggered interrupts are possible on microprocessors.
3
GATE CSE 1998
Subjective
+2
-0
Compute the post fix equivalent of the following expression. 3 * log(x+1) - a/2
4
GATE CSE 1998
MCQ (Single Correct Answer)
+2
-0.6
A complete n-ary tree is one in which every node has O or n sons. If x is the number of internal nodes of a complete n-ary tree, the number of leaves in it is given by
A
x(n – 1) +1
B
xn - 1
C
xn + 1
D
x(n+1)