Skip to content
VUBuddy

CS301 Midterm Past Paper 2010

Data Structures PDF 91 KBUpdated 23 Oct 2026
Midterm past paper CS301 Midterm Past Paper 2010 PDF 91 KB
vubuddy.com
Type
Midterm past paper
Course
CS301 Data Structures
Size
PDF 91 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 91 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

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.

  1. Addition of new items in stack make the pointer ------------ by 2 :- a. Increment, bits b. Increment, bytes c. Decrement, bits

d. Decrement, bytes

  1. Next item in a linked list is known as:- a. Index b. Item c.

Node

d. Child

  1. What will be the postfix notation of 5+6/2. a. 56+/2 b. 562+/ c.

562/+

d. 5+62/

  1. 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.

  1. To check the depth of an AVL tree following time will be taken:- a.

Q1. 66 Log2n

  1. 1.44 Log2n

c. Log2 (n+1)-1 d. 1.66 Log2n (n+1)

  1. BST is a _______ Structure:- a. Linear

b. Non Linear

c. Circular d. None of Above

  1. 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.
  2. Each node in a BST has ______ Pointers:- a.

b. 2

c. d. 4

  1. Highest Operators Precedence is of the following operator:- a. Plus b. Minus c. Multiply

d. Exponentiation

  1. Following are the linear data structures:- a. Stacks b. Queues c.

Both a & b

d. None of the above

  1. 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.

  1. True
  2. False

Correct answer: True

  1. Tree data structure is a ________ a. Linear
  1. Non Linear

c. Circular d. None of Above

  1. What will be the valid postfix notation of A+B*C-D a. ABC+*D-

b. ABC*+D-

c. ABCD+-* d. AB+D*C

  1. 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

  1. 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;

  1. See the following BST and give its in order traversal. 5 Marsk
All CS301 files →
CS301 Data Structures All CS301 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.