41. What is the primary characteristic of a stack?
42. What is the average-case time complexity of binary search?
43. Which of the following data structures does not allow duplicates?
44. Which of the following is a disadvantage of an array over a linked list?
45. Which data structure is used to check for balanced parentheses in an expression?
46. Which of the following is not an application of priority queue?
47. Making the push operation costly, select the code snippet which implements the pop operation.
48. What does the following Java code do?
public Object function()
{
if(isEmpty())
return -999;
else
{
Object high;
high = q[front];
return high;
}
}
public Object function()
{
if(isEmpty())
return -999;
else
{
Object high;
high = q[front];
return high;
}
}49. What is not a disadvantage of priority scheduling in operating systems?
50. What is a dequeue?
Read More Section(Introduction to Data Structures)
Each Section contains maximum 100 MCQs question on Introduction to Data Structures. To get more questions visit other sections.
