- Type
- Final term past paper
- Course
- CS301 Data Structures
- Size
- PDF 1.5 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, 4, 5 of 35. Download the file for all 35 pages.
cs301 final term solved mcqs
1)
- 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
Q5. If the height of a perfect binary tree is 4.What will be the total number of nodes in it?
Q6. A binary relation R over S is called an equivalence relation if it has following property(S)?
Q7. If a tree has 20 edges/links, then the total number of nodes in the tree will be:
Q8. For a perfect binary tree of height 4, what will be the sum of highest of node
Q9. If Ahmed is cousin of Ali and Ali is cousin of Asad then Ahmed is also cousin of Asad.
Q11. Which one of the following is NOT the property of equivalence relation?
Q12. The main reason of using heap in priority queue is
Q13. The total number of nodes on 10th level of perfect binary tree are
Q14. Suppose there are 100 elements in an equivalence class, so initially there will be 100 trees, the collection of these trees is called
Q16. For a perfect binary tree of height h, having N nodes, the Sum of height of nodes is
Q17. Which of the following method is helpful in creating the heap at once?
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 Papers 3 by Waqar Siddhu Final term PDF 2.6 MB
- CS301 Final Term MCQs Set 2 by Waqar Siddhu Final term PDF 11.1 MB
- CS301 Final Term Solved File 4 by Team Hadi Final term PDF 7.8 MB
- CS301 Final Term Quiz 4 July 2023 Set 2 by Miss Mehwish Final term PDF 538 KB
- CS301 Highlighted Handouts by World of Education Highlighted PDF 13 MB
- CS301 Quiz 2 Set 3 Quiz PDF 1.9 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.