C-Dynamic Memory Allocation and Data Structure Questions and Answers
Practice ModeShowing 10 of 104 questions
Q61
Suppose you have given more then one file to be printed one after another, which of the data structure works in the back end of printer file priority printing
Answer: Option B
Q62
In array implementation of queue there is a posibility that the queue is reported as full even through in actuality there may be empty slots" To overcome this limitation we use
Answer: Option B
Q63
Given the psudeocode
if *rear == MAX-1 && front ==0) || (rear +1 == front))
What is true about this ?
Answer: Option C
Q64
In the process of deleting element from the circular queue of 5 elements in array "The value of front is equal to rear", what is true for this statement
Answer: Option D
Q65
Let us consider a circular queue implemented as array holding 8 elemtns, if front is equal to 6, and rear is 7, then the new element will be placed at
Answer: Option B
Q66
One diffference between queue and a stack is:
Answer: Option C
Q67
A queue in which addition and deletion takes place at both end is called
Answer: Option B
Q68
Queue in which deletion takes place at one end only but addition can take place at both the end.
Answer: Option B
Q69
What is the condition for the Dequeue to be empty ?
Answer: Option B
Q70
queue in which addiition takes place at one end only but deletion takes place at both the end.
Answer: Option A