Skip to content
VUBuddy

CS304 Quiz 4 by Iqra Azhar

Object Oriented Programming PDF 449 KBUpdated 23 Oct 2026
Quiz CS304 Quiz 4 by Iqra Azhar PDF 449 KB
vubuddy.com
Type
Quiz
Course
CS304 Object Oriented Programming
Size
PDF 449 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 449 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, 3 of 9. Download the file for all 9 pages.

Cs304 · Quiz No.4 Jan2026 · VU Zone | Iqra Azhar Official · Our Services

 Assignments (All Subjects)  Quizzes & GDBs (All Subjects)  Lecture Views Assistance  Online Book Shop  Seminar  Project Handling (All Types of Projects - CS, Management, English, Math, and more)  Internship /Organizational Reports (All Fields)  Web/App Development for Other Shops / Businesses

90% To 100% Marks

Q1. Which of the following is known as Dereference operator in C++?

  1. +
  2. ::
  3. &
  4. * Correct

Q2. Which of the following is correct way to define a template class X?

  1. typename <class T > class X { };
  2. template< typename T > class X { }; Correct
  3. class< typename T > class X { };
  4. template class X { };

Q3. ___________ binding means that target function for a call is selected at run time.

  1. Dynamic Correct
  2. Automatic
  3. Constant
  4. Static

Q4. Which of the following represents partial specialization?

  1. template< int , char >
  2. template< typename T, class W >
  3. template< class T, class U, int > Correct
  4. template< class T, type T>

Q5. In C++, a function is made pure virtual by adding ____________ at the end of its declaration.

  1. = 1
  2. = 0 Correct
  3. = -1
  4. = 2

Q6. Which casting in C++ involves a runtime check and returns a null pointer if the conversion is not possible?

  1. Static cast
  2. Dynamic cast Correct
  3. Const cast
  4. Reinterpret cast
All CS304 files →
CS304 Object Oriented Programming All CS304 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.