- Type
- Quiz
- Course
- CS301 Data Structures
- Size
- PDF 857 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.
Q1. Consider the following expression: P= A*B+C-D In the above expression “-” is a _________ operator.
Correct answer: Binary
Q2. Consider the linked list having data [6, 72, 35, 65, 25] stored in it. While current pointer is pointing to memory location having 35 stored in it. What will be the resultant linked list after calling add(18) function on the given linked list.
Correct answer: 6, 72, 35, 18, 65, 25
Q3. Consider the linked list implementation of a stack. Which of the following node is considered as Top of the stack?
Correct answer: First node
Q4. In singly linked list a node consists of two parts:
Correct answer: Object and pointer
Q5. Which of the following function don’t belongs to the stack class?
Correct answer: crash()
Q6. A software solution is said to be efficient if it solves the problem _________________ .
Correct answer: within its resource constraints.
Q7. Consider we have performed the following operations on a stack of size 5. Push(10); Push(20); Push(30); Pop(); Pop(); Push(40); Push(50); Pop(); After the completion of all operations, the number of element present on stack are _____.
Correct answer: 2
Q8. The usage of the class of a data structure causes the code of the program
Correct answer: Simplifies
Q9. _______ is a collection of elements arranged in a linear order.
Correct answer: Stack
Q10. In singly linked list a node comprises of ___________ field/s.
Correct answer: Two
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.