1.The order of operands in postfix is the __________as
that in the infix.
different
same
(correct)
unusual
none
2.Generalized code written for a class is called?
ADT
function
structure
template (correct)
3.The next field in the last node in a singly-linked list
is set to_______.
0
1
null (correct)
false
4.Which operator is evaluated first in the given
expression? A+B*C-D
+
-
*(correct)
all
5.We can not remove items randomly from ___________
stack (correct)
queue
both
none
6.A queue is a ________data structure, whereas a stack is
a ________data structure.
FIFO,
LIFO (correct)
LIFO, FIFO
both
none
7.i Which one of the following is a post fix expression?
A+B*C-D
ABC*+D- (correct)
AB+C*D-
A+BC*D-
8.In________, a programmer uses two pointers in the node,
i.e. one to point to next node and the other to point to the previous node.
linked list
double
linked lst (correct)
array
structure
Comments
Post a Comment
Please give us your feedback & help us to improve this site.