Skip to content
VUBuddy

MTH304 Final Term Quiz 8 July 2023 by Miss Mehwish

Statics PDF 538 KBUpdated 23 Oct 2026
Final term past paper MTH304 Final Term Quiz 8 July 2023 by Miss Mehwish PDF 538 KB
vubuddy.com
Type
Final term past paper
Course
MTH304 Statics
Size
PDF 538 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 538 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, 4 of 5. Download the file for all 5 pages.

We also provide Past papers for Mids. and Finals Cross Check your answers before submitting directly from the file. We are not responsible for 100% correction as human error exists

Q1. What will be the output of the following program?

```cpp

class FirstNumber { private: int x; public: int y; FirstNumber() { x = 0; y = 10;

class SecondNumber : public FirstNumber { int z; public: int w; return 0;

a) Leaving the house, Entering the house, Entering the kitchen b) Entering the house, Entering the kitchen c) Entering the kitchen d) Entering the house, Leaving the house, Entering the kitchen

Correct option: a) Leaving the house, Entering the house, Entering the kitchen

Q3. Which of the following statement is dealing with the stream extraction operator? Options:

  1. cin << i;
  2. cin >> i >> j;
  3. cout << "i= " << i << "\n";
  4. cout >> j;

e) cout >> j;

Correct option: b) cin >> i >> j;

Q4. Which of the following operator can be overloaded? Options:

  1. ::
  2. .
All MTH304 files →
MTH304 Statics All MTH304 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.