- Type
- Quiz
- Course
- CS301P Data Structures (Practical)
- Size
- PDF 15 KB
- 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 1, 2, 3 of 3. Download the file for all 3 pages.
VU QUIZ REPORT
Subject: CS301P
Quiz Completed: 1/5/2026, 8:58:03 AM Total Questions: 10
Which of the following formula gives the index position of the left child of “i”?
Correct answer: 2*i
Which of the following method take one element at a time to make a heap?
Correct answer: Insert ()
A complete binary tree with a property that the value at each node is at least as small as the values in its children are called as _______. A. Binary search tree
B. Min Heap
C. Max Heap D. Binary tree The ASCII value for character ‘A’ is: A. 68 B. 66 C. 67
D. 65
Selected Answer: D
Consider a max heap, represented by the following array: 49, 39, 36, 31, 27, 21, 35, 12 After the deletion of node with value 49. Which of the following is the updated max heap?
Correct answer: 39, 31, 36,12, 27, 21, 35
What is the total frequency of character ‘B’ in the given Huffman encoding tree?
Correct answer: 5
Which of the following node has the maximum value in a max heap?
Correct answer: Root node
Which of the following method takes an array to make a heap out of it?
Correct answer: Buildheap()
Selected Answer: A
Which of the following bit stream represents the string ‘cab’ in the given Huffman tree?
Correct answer: 1011 0 110
In min heap, deletemin() will put the ______ element at the first position of the array. A. None of the given options. B. Third
C. Last
D. Second
Related CS301P files
All CS301P files →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.