- Type
- Quiz
- Course
- CS301 Data Structures
- Size
- PDF 444 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 30. Download the file for all 30 pages.
In the name of ALLAH, the most beneficient, the most merciful
Try the Ekisa Slippers range before you buy with Jomo. Same day delivery in major cities. Jomo
Objective Questions
________ is when function is calling to itself.
- Loop
- Recursion
- Iteration
- Nasted loop
Which of the following operations returns "most recently entered value" from the stack?
- Push
- Recent
- Top
- First
The array in binary search is sub divided ________.
- Once
- Twice
- N time
- Untill a sublist is no more divisible
Which of the following heap method lowers the value of key at position 'p' by the amount 'delta'?
- increaseKey(p,delta)
- decreaseKey(p,delta)
- percolateDown(p,delta)
- remove(p,delta)
Ahmad is cousin of Ali and Ali is also cousin of Ahmad
- Reflexivity
- Symmetry
- Transitivity VU Statistics 1. Courses 500 2. Video Lectures
44484
3. Handouts / PPTs
VULMS Guidelines
Important VU Links
B o o k n o w
- All of the given
Factorial is an example of ________ function.
- Recusive
- Non-Recursive
- Cube
- Log
given the values are the array representation of heap:
If we perform 4 deleteMin operations, the last element deleted is
- 31
- 34
- 44
- 56
The difference between a " Binary Tree (BT)" and a " Binary Search Tree (BST)" is that,
- A BST has two children per node whereas a BT can have none, one or two children per node
- In BST nodes are inserted based on the values they contain
- In BT nodes are inserted based on the values they contain
- There is no difference
If a tree has 20 edges/links, then the total number of nodes in the tree will be:
- 19
- 20
- 21
- Can't be determined
An array x of 100 integers is declared as
- int x = [100];
- int x[100];
- integer array x = 100;
- integer x [] = 100;
An array is a group of ________ memory locations.
- Scattered
- Isolated
- Random (non-consecutive)
- Consecutive
What will be the value of root of an AVL and BST if built from the same data?
- Same
- Different in some cases
- Root of AVL is square of root of BST
- None of the given
If we use array to implement list, then there is an issue that it gives difficulty when:
- We will access values randomly
- We will remove data from it
- We will increase its size
- We will decrease its size
Consider we have performed the following operations on stack of size 5. Push(10);
- 10
- 20
- 40
- 20
What is printed by the call test_a(4)?
- 4 2 0
- 0 2 4
- 0 2
- 2 4
To search an element in ALV tree, it takes maximum 1.88 Log2n time.
- TRUE
- FALSE
- In some cases
- None of the given
The ________ of a node in a binary tree is defined as the height of its left subtree minus height of its right subtree.
- Height
- Balance
- Width
- None of the above
for every process executing, the last part of the memory is for ________ of the program.
- Data
- Code
- Stack
- Heap
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.