- Type
- Final term past paper
- Course
- CS301 Data Structures
- Size
- PDF 1.2 MB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 2, 3, 4 of 34. Download the file for all 34 pages.
- If there are 100 elements in a heap and 100 delete Min operation are performed, will get list a. Sorted b. Unsorted c. Nonlinear d. Noe
- Sorting procedure normally takes times a) NLogN b) 2N c) N*N*N d) N
- The expression if(!heap-> is empty ()) Checks a) Heap is empty b) Heap is full c) Heap is not empty
Q4. If the height of a perfect binary tree is 4.What will be the total number of nodes in it?
Q5. A binary relation R over S is called an equivalence relation if it has following property(S)?
Q6. If a tree has 20 edges/links, then the total number of nodes in the tree will be:
Q7. For a perfect binary tree of height 4, what will be the sum of highest of node
Q8. If Ahmed is cousin of Ali and Ali is cousin of Asad then Ahmed is also cousin of Asad. This statement has the following property
Q10. Which one of the following is NOT the property of equivalence relation?
Q11. The main reason of using heap in priority queue is
Q12. The total number of nodes on 10th level of perfect binary tree are
Q13. Suppose there are 100 elements in an equivalence class, so initially there will be 100 trees, the collection of these trees is called
Q15. For a perfect binary tree of height h, having N nodes, the Sum of height of nodes is
Q16. Which of the following method is helpful in creating the heap at on
Q17. If ahmad is boss of Ahsan and ehsan is boss of umer then ahmad is also boss of umer, the above mentioned relation is
Q18. If we want to find 3rd minimum element from an array of element, then after applying build heap method. How many times deleteMin method will be called?
e. 1 f. 2 g. 3 h. 4
If we want to find median of 50 elements, then after applying builtHeap method, how many time deleteMin method will be called?
i. 5 j. 25 k. 35 l. 50
20 Which of the following properties are satisfied by equivalence relationship? m. Reflexive, symmetric n. Reflexive, transitive o. Symmetric, transitive p. Reflexive, symmetric and transitive
- The Expressionif ( ! heap->isFull() ) Check q. Heap is empty r. Heap is full s. Heap is not empty t. Heap is not full
Related CS301 files
All CS301 files →- CS301 Final Term Solved MCQs Updated by Junaid Final term PDF 1.6 MB
- CS301 Final Term Solved Papers 5 by Waqar Siddhu Final term PDF 2.6 MB
- CS301 Final Term Solved Subjective Set 3 by Junaid Final term PDF 1.7 MB
- CS301 Highlighted Handouts by World of Education Highlighted PDF 13 MB
- CS301 Solved Quiz by Sonu Ilyas Quiz PDF 2.7 MB
- CS301 Final Term MCQs by Sparrows Final term PDF 1.2 MB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.