1.When an executable program run, it is loaded in the memory and becomes a_______.
Select correct option:
Thread
.h file
Process
None of the above
2.A kind of expressions where the operator is present between two operands called ________expressions.
Select correct option:
Infix
Postfix
Prefix
None of the above
3.Which of the following operations returns top value of the stack?
Select correct option:
push
pop
top
first
4.To create a _________ we link the last node with the first node in the list.
Select correct option:
Double linked list
Circularly-linked list
Linked list
None of the above
5.In the calling function, after the execution of the function called, the program continues its execution form the _______after the function call.
Select correct option:
Previous line
Next line
Beginning
None of the above
6.Doubly Linked List always has one NULL pointer.
Select correct option:
True
False
7. ________ only removes items in reverse order as they were entered.
Select correct option:
Queue
Stack
Both of these
None of these
8.In the linked list implementation of the stack class, where does the push member function places the new entry on the linked list?
Select correct option:
After all other entries that are greater than the new entry.
At the head
After all other entries that are smaller than the new entry.
At the tail
9.Which of the following is known as "Last-In, First-Out" or LIFO Data Structure?
Select correct option:
Linked List
Stack
Queue
Tree
10.Which boolean expression indicates whether the numbers in two nodes (p and q) are the same. Assume that neither p nor q is null.
Select correct option:
p == q p.data == q.data
p.nextNode == q. nextNode
p.data == q