Question # 1 of 10 ( Start time: 05:15:48 PM ) Total Marks: 1
Which of the following operation is NOT a ‘one step’ operation of linked list?
Select correct option:
add
remove
find
next
Question # 2 of 10 ( Start time: 05:17:18 PM ) Total Marks: 1
In__________ the ‘next’ returns false when it reaches to the last node due to the fact that the next field of the last node is set to NULL.
Select correct option:
Circular linked list ans
Triple linked list
Singly linked list ans
None of the above
Question # 3 of 10 ( Start time: 05:18:39 PM ) Total Marks: 1
A queue is a ________data structure, whereas a stack is a ________data structure.
Select correct option:
FIFO, LIFO ans
LIFO,FIFO
both of these
none of these
Question # 4 of 10 ( Start time: 05:20:08 PM ) Total Marks: 1
Which of the following operation returns but do not removes top value of the stack?
Select correct option:
push ans
pop
top
first
Question # 5 of 10 ( Start time: 05:21:34 PM ) Total Marks: 1
________ is the maximum number of nodes that you can have on a stack-linked list ?
Select correct option:
Zero
2n (where n is the number of nodes in linked list)
Any Number ans
None of these
Question # 6 of 10 ( Start time: 05:23:03 PM ) Total Marks: 1
Identify the data structure which allows insertion at both ends of the list but deletion at only one end.
Select correct option:
Input-restricted deque
Output-restricted deque
Priority queues ans
None of given options
Question # 7 of 10 ( Start time: 05:24:15 PM ) Total Marks: 1
Consider the following infix expression. 7/8 + 9 If one converts the above expression into postfix, what would be the resultant expression?
Select correct option:
7 8 9 / +
7 8 / + 9
/ 7 8 + 9
7 8 / 9 +
Question # 8 of 10 ( Start time: 05:25:42 PM ) Total Marks: 1
What's wrong with following loop? while( (i < 10) && (i > 24)) { }
Select correct option:
The logical operator && cannot be used in a test condition
The while loop is an exit-condition loop
The test condition is always false
The test condition is always true
Question # 10 of 10 ( Start time: 05:28:30 PM ) Total Marks: 1
If numbers 5, 222, 4, 48 are inserted in a queue, which one will be removed first?
Select correct option:
48 ans
4
333
5 ans