- Type
- Quiz
- Course
- CS301 Data Structures
- Size
- PDF 875 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 of 3. Download the file for all 3 pages.
Q1. Which of the following is TRUE about recursive calls ?
Correct answer: Recursive call always contains a terminating condition
Q2. What will be level order traversal of the given BST ?
Correct answer: 1 4 3 5 2 8 6
Q3. Suppose the elements are “3”,”5”,”1”,”6”, If we want to enqueue “8” then dequeue all the elements, what will be the order of elements?
Correct answer: 3 5 1 6 8
Q4. For a complete binary tree with n numbers of nodes, the depth is calculated as ____________
Correct answer: log2 (n+1) – 1
Q5. Following is true in case of using Recursive method calls.
Correct answer: The code becomes very short
Q6. What will be the postorder traversal of the given tree?
Correct answer: 15 35 25 75 45
Q7. When a function calls another function, the parameters and return address of the calling function are put in ________.
Correct answer: Stack
Q8. What will be the inorder traversal of the given tree?
Correct answer: 15 25 35 45 75
Q9. We can make a lexicographic order of characters based on their _____________.
Correct answer: ASCII values
Related CS301 files
All CS301 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.