- Type
- Quiz
- Course
- CS301 Data Structures
- Size
- PDF 32 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 2, 3, 4 of 5. Download the file for all 5 pages.
Quiz 1 - CS301
Question:
The function calls are made with the help of__________.
A. Stack
B. Dynamic memory C. Heap D. External memory Copied: 11/26/2025, 11:54:26 AM
Quiz 2 - CS301
Question:
What will be level order traversal of the given BST ?
Correct answer: 6 2 8 1 5 3 4
Copied: 11/26/2025, 11:54:48 AM
Quiz 3 - CS301
Question:
if( this->left == NULL && this->right == NULL )
If the above condition is satisfied then the current node is:
A. Leaf node
B. Right node C. Root node D. Left node Copied: 11/26/2025, 11:55:09 AM
Quiz 4 - CS301
Question:
Analyze the given code carefully and choose the statement which will be used if we want to set 7 as the value of root ?
int x [] = {14,15,4,9,7,18,3,5,16,4,20,17};
TreeNode * root = new TreeNode(); A. root->setInfo( x );
B. root->setInfo( &x[4] );
C. root->setInfo( &x[0] ); D. root->setInfo( &x ); Copied: 11/26/2025, 11:55:31 AM
Quiz 5 - CS301
Question:
Left, right, info, and parent are the operations of _________ data structure. A. Queue B. Linked List C. Stack
D. Tree
Copied: 11/26/2025, 11:55:52 AM
Quiz 6 - CS301
Question:
Level-order traversal for Binary Search Tree can be implemented, _______________. A. Through both recursive method call and non-recursive method call
B. Only through non-recursive method
C. Only through recursive method D. Through max-heap Copied: 11/26/2025, 11:56:09 AM
Quiz 7 - CS301
Question:
For making Binary Search Tree for Strings we need, ________ data type. A. double B. int C. float
D. char
Copied: 11/26/2025, 11:57:01 AM
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.