- Type
- Midterm past paper
- Course
- CS301 Data Structures
- Size
- PDF 91 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 2. Download the file for all 2 pages.
CS301 DATA STRUCTURE Mid Term Examination - May 2010
16 MCQs of one number each. All MCQs less one & long Questions recalled and are reproduced here.
- Addition of new items in stack make the pointer ------------ by 2 :- a. Increment, bits b. Increment, bytes c. Decrement, bits
d. Decrement, bytes
- Next item in a linked list is known as:- a. Index b. Item c.
Node
d. Child
- What will be the postfix notation of 5+6/2. a. 56+/2 b. 562+/ c.
562/+
d. 5+62/
- In an AVL tree to delete a parent with two childs in a straight line following rotations will be required:- a. Single
b. Double
c. Triple d. None.
- To check the depth of an AVL tree following time will be taken:- a.
Q1. 66 Log2n
c. Log2 (n+1)-1 d. 1.66 Log2n (n+1)
- BST is a _______ Structure:- a. Linear
b. Non Linear
c. Circular d. None of Above
- After creation of an arry:- a. Size can be increase but can not be decreased. b. Size can be decreased but can not be increased. c. Size can neither be increased nor be decreased. d. Size can be increased and can also be decreased.
- Each node in a BST has ______ Pointers:- a.
b. 2
c. d. 4
- Highest Operators Precedence is of the following operator:- a. Plus b. Minus c. Multiply
d. Exponentiation
- Following are the linear data structures:- a. Stacks b. Queues c.
Both a & b
d. None of the above
- Each entry which points to a null value in a Singly Linked List is known as:- a. Node b. First Node c.
Last Node
d. Head Node
Q12. Non recursive calls are faster than the Recursive calls.
Correct answer: True
- Tree data structure is a ________ a. Linear
c. Circular d. None of Above
- What will be the valid postfix notation of A+B*C-D a. ABC+*D-
b. ABC*+D-
c. ABCD+-* d. AB+D*C
- When an operator is used in between two operands this is which type of notation a. Prefix b. Postfix c.
Infix
d. None of the Above
Q16. Give two uses of Queues?
2 Marks
- Define Reference Variable, Dangling Reference & Const 3 Marks
Q18. What is the use of Reference Variable, Give example? (3 marks)
Q19. Write does the following instruction do?
5 Marks a. Int x; Int* y = &x; b. Int x; Int &y = &x; c. Int x; Int y = x;
- See the following BST and give its in order traversal. 5 Marsk
Related CS301 files
All CS301 files →- CS301 Midterm Solved Quiz 1 and 2 Fall 2012 Midterm DOC 1.1 MB
- CS301 Midterm Solved Quiz 1 Fall 2012 Midterm PDF 154 KB
- CS301 Midterm Solved Quiz 2 Fall 2014 Midterm PDF 417 KB
- CS301 Midterm Solved Quiz 1 and 2 Fall 2015 Midterm DOCX 2.2 MB
- CS301 Highlighted Handouts by Qalb-e-Momin Highlighted PDF 7.1 MB
- CS301 Solved Quiz 1 and 2 with References Quiz DOCX 15 KB
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.