Skip to content
VUBuddy

CS301P Quiz 3

Data Structures (Practical) PDF 855 KBUpdated 23 Oct 2026
Quiz CS301P Quiz 3 PDF 855 KB
vubuddy.com
Type
Quiz
Course
CS301P Data Structures (Practical)
Size
PDF 855 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 855 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 page 1 of 1. Download the file for all 1 page.

VU TOOLKIT · CS301P - Quiz No.3 · Date: 30 April 2026

Q1. Which of the following is used in function calls?

  1. Tree
  2. Linked list
  3. Queue
  4. Stack

Correct answer: Stack

Q2. What value will be returned by the given function if the values of ‘a’ and ‘b’ are 6 and 5? int i_avg (int a, int

  1. { return (a++ + ++b) / 2; }
  2. 5
  3. 6
  4. 4
  5. 7

Q3. The result of the postfix expression 632*+ is ________________.

  1. 20
  2. 30
  3. 12
  4. 18

Correct answer: 12

Q4. The postfix expression for the infix expression 1-3-4 is :

  1. 13-4-
  2. -13-4
  3. 134--
  4. –134

Correct answer: 134--

Q5. Each operator in a postfix expression refers to the previous _______ operand(s).

  1. 0
  2. 2
  3. 3
  4. 1

Correct answer: 2

All CS301P files →
CS301P Data Structures (Practical) All CS301P 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.