- Type
- Quiz
- Course
- CS301 Data Structures
- Size
- PDF 228 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extension for 30 a day.
Preview text
Text from pages 1, 2, 3 of 6. Download the file for all 6 pages.
Q1. For a perfect binary tree of height 4, what will be the sum of highest of node
Correct answer: 26
Q2. If Ahmed is cousin of Ali and Ali is cousin of Asad then Ahmed is also cousin of Asad. Thisstatement has the following property
Correct answer: Transitivity
Q3. Which one of the following is NOT the property of equivalence relation?
Correct answer: Associative
Q4. The main reason of using heap in priority queue is
Correct answer: Improve performance
Q5. The total number of nodes on 10th level of perfect binary tree are
Correct answer: 1024
Q6. Suppose there are 100 elements in an equivalence class, so initially there will be 100 trees,the collection of these trees is called .
Correct answer: Forest
Q7. The percolate Down procedure will move the smaller value and bigger value.
Correct answer: Up, down
Q8. For a perfect binary tree of height h, having N nodes, the Sum of height of nodes is
Correct answer: N - h -1
Q10. Which of the following method is helpful in creating the heap at once?
Correct answer: percolateDown
Q11. If ahmad is boss of ehsan and ehsan is boss of umer then ahmad is also boss of umer, theabove-mentioned relation is .
Correct answer: Transitive
Q12. If we want to find median of 50 elements, then after applying builtHeap method, how manytime deleteMin method will be called?
Correct answer: 25
Q13. Which of the following properties are satisfied by equivalence relationship?
Correct answer: Reflexive, symmetric and transitive
Q14. Sorting procedure normally takes time.
Correct answer: NlogN
Related CS301 files
All CS301 files →- CS301 Highlighted Handouts Set 2 Highlighted PDF 3.7 MB
- CS301 Final Term Solved File 1 by Team Hadi Final term PDF 8.2 MB
- CS301 Solved Grand Quiz 2021 by Sonu Ilyas Quiz PDF 2.4 MB
- CS301 Solution 2 by Junaid (Word) Quiz DOCX 38 KB
- CS301 Solution 3 by Junaid Quiz PDF 814 KB
- 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.