81. What page replacement algorithm has minimum number of page faults ?
Answer: optimal page-replacement algorithm
Explanation:Here is no explanation for this answer
Workspace
Wipro Global Edge
82. What is the use of virtual base class in c++
Answer: Multiple lines between derived classes.
Explanation:Here is no explanation for this answer
Workspace
Wipro Societe Generale
83. Assignment operator targets to _____
Answer: l-value
Explanation:Here is no explanation for this answer
Workspace
Wipro
84. When the function is called where the return address is stored?
Answer: Stack
Explanation:Here is no explanation for this answer
Workspace
Wipro
85. int zap (int n)
{
if (n<=1)then zap=1;
else zap=zap(n-3)+zap(n-1);
}
then the call zap(6) gives the values of zap
Answer: 6
Explanation:Here is no explanation for this answer
Workspace
Wipro
86. A byte addressable computer has memory capacity of 2 power m Kbytes and can perform 2 power n operations an instruction involving three operands and one operator needs maximum of___________ bits
Answer: 3m + n
Explanation:Here is no explanation for this answer
Workspace
Wipro
87. The worst case time complexity of AVL tree is better in comparison to binary search tree for
Answer: Search, Insert and Delete Operations
Explanation:Search is O(log N) since AVL trees are always balanced. Insertion and deletions are also O(logn) where as in case of BST it is O(n).
Workspace
Wipro
88. Which of the following is the most preferred way of throwing and handling exceptions?
Answer: Throw by reference and catch by reference.
Explanation:Here is no explanation for this answer
Workspace
Wipro
89. Which of the following operators can be overloaded?
Answer: ?: (conditional operator)
Explanation:Here is no explanation for this answer
Workspace
Wipro
90. Objects created using new operator are stored in __ memory.
Answer: Heap
Explanation:"new" operator allocates memory dynamically in Heap
Workspace
Wipro