A. | Descending priority queue |
B. | Ascending priority queue |
C. | Fifo queue |
D. | None of these |
Option: B Explanation : Click on Discuss to view users comments. Name said: (2:37pm on Sunday 23rd March 2014)
The data is stored arbitrarily in the priority queue. But when data is removed in the sequence of- smallest, 2nd smallest, 3rd samllest...etc then it is called ascending priority queue. If data is removed in the sequence- largest, 2nd largest, 3rd largest...etc then it is called descending priority queue.
|
A________search begins the search with the element that is located in the middle of the array.
A. | Serial |
B. | Random |
C. | Parallel |
D. | Binary Search |
Option: D Explanation : Binary Search algorithm can do this because it firstly searchs the middle element. If required element is less than the middle one, then search the middle element in the less than part. If required element is greater than the middle one, then search in the greater part. So the answer is 'D'. Click on Discuss to view users comments. |
A. | Non-increasing order |
B. | Non-decreasing order |
C. | Strictly increasing order |
D. | Strictly decreasing order |
Option: D Explanation : Click on Discuss to view users comments. |
Syllabus covered in this section is-
This Section covers Data Structures Questions Answers using C language .
Who can benefit -
Various Search Terms used for this section are