|
1:
|
Which of the following is a
collection of items into which items can be inserted arbitrarity and from
which only the smallest item can be removed?
|
|||||||
|
||||||||
|
|
Answer & Explanation
Answer: Option B Explanation : |
|||||||
|
2:
|
A________search begins the search
with the element that is located in the middle of the array.
|
|||||||
|
||||||||
|
|
Answer & Explanation
Answer: Option D Explanation : |
|
3:
|
A priority queue is used to
implement a stack S that stores characters PUSH(C)is implemented as
INSERT(Q,C,K)where K is an appropriate integer key chosen by the
implementation.POP is implemented as DELETEMIN(Q).For a sequence of
operations,the key chosen are in
|
|||||||
|
||||||||
|
|
Answer & Explanation
Answer: Option D Explanation : |
|
4:
|
Queues serve major role in
|
|||||||
|
||||||||
|
|
Answer & Explanation
Answer: Option C Explanation : |
|
5:
|
Which of the following data
structure may give overflow error,even though the current number of element
in it is less than its size?
|
|||||||
|
||||||||
|
|
Answer & Explanation
Answer: Option A |
Read more: http://www.avatto.com/computer/exam/mcqs/data-structure/questions/10/1.html#ixzz2fUOhAD7D
|
6:
|
Number of "ADD" and
"REMOVE" operations required to access n/2th elements of a queue of
"n" elements so that the original queue remain the same after the
access is (take help of another queue.)
|
|||||||
|
||||||||
|
|
Answer & Explanation
Answer: Option A Explanation : |
|
7:
|
The initial configuration of a
queue is a, b, c, d, ('a' is in the front end). To get the configuration d,
c, b, a, one needs a minimum of
|
|||||||
|
||||||||
|
|
Answer & Explanation
Answer: Option C Explanation : |
|
8:
|
Queue can be used to implement
|
|||||||
|
||||||||
|
|
Answer & Explanation
Answer: Option A Explanation : |
Read more: http://www.avatto.com/computer/exam/mcqs/data-structure/questions/10/2.html#ixzz2fUOsBHSh
No comments:
Post a Comment