- Type
- Midterm past paper
- Course
- CS301 Data Structures
- Size
- PDF 203 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, 3 of 9. Download the file for all 9 pages.
- The duration of this examination is 60 Mins.
- This examination is closed book, closed notes, closed neighbors; any one found cheating will get no grade.
- Unless stated otherwise, all questions carry a single mark.
- Most, but not all, of the examination consists of multiple-choice questions. Choose only one choice as your
Answer: a. If you believe that two (or more) of the choices are the correct ones for a particular question, choose the best one. b. On the other hand, if you believe that all of the choices provided for a particular question are the wrong ones, select the one that appears to you as being the least wrong.
- You are allowed to use any development environment like Dev C++ etc.
Q1. Marks: 2
Is it possible for a member function of a class to activate another member function of the same class?
Q2. Marks: 2
Which functions can carry out an assignment score=1.0; to the private ember variable score?
Q3. Marks: 2
In C++, when allocating an array of objects, what constructor is used to initialize all of the objects in the array?
Q4. Marks: 2
The list abstract data type (ADT) is used to work with ordered or unordered sequence of items such as numbers or strings. What of the following implementation of list ADT is best to answer questions such as " What is the item at position n?"
a. Lists implemented with an array. b. Doubly-linked lists. c. Singly-linked lists.
d. Doubly-linked or singly-linked lists are equally best
Q5. Marks: 5
How many asterisks are printed by the function call quiz(5)?
e. Some other number
Q6. Marks: 2
Suppose T is a binary tree with 14 nodes. What is the minimum possible depth of T?
Q7. Marks: 2
“Entries in a stack are Ordered". What is the meaning of this statement?
Q8. Marks: 2
Which of the following applications may use a stack?
Related CS301 files
All CS301 files →- CS301 Midterm Past Paper Fall 2003 Session 2 Midterm PDF 219 KB
- CS301 Midterm Past Paper Fall 2004 Midterm PDF 39 KB
- CS301 Midterm Past Paper Fall 2004 Set 2 Midterm PDF 26 KB
- CS301 Midterm Past Paper 2010 Midterm PDF 91 KB
- CS301 Highlighted Handouts by Mickey Ch Highlighted PDF 12 MB
- CS301 Quiz Nov 2025 Quiz PDF 35 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.