Skip to content
VUBuddy

CS201P Final Term MCQs by Miss Mehwish

Introduction to Programming (Practical) PDF 1.1 MBUpdated 23 Oct 2026
Final term past paper CS201P Final Term MCQs by Miss Mehwish PDF 1.1 MB
vubuddy.com
Type
Final term past paper
Course
CS201P Introduction to Programming (Practical)
Size
PDF 1.1 MB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 1.1 MB

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 19. Download the file for all 19 pages.

CS201p · Final Term (Live Quiz) · Past Papers for Mids./Finals are also Available

Q1. Complex cadd ( Complex c1, Complex c2 );

Which statement is true for the above code?

It accepts two complex numbers as parameters and returns back the resultant complex number.

Define the function named Complex. Class with name of Complex has been created. Creating object of class Complex with name cadd with parameters.

Q2. The data members that are visible only from inside the class and hidden from the outside are known as: Friend

Public Private ✔ Private and Public

Q3. In C++, which operator is used for memory allocation?

Allocate_memory Calloc Allocate New ✔

Q4. How many objects are created for the class Date?

Date myDates[10];

10 ✔

Q5. An entry in an online encyclopedia that refers to another entry whose title has been changed is an example of _________.

Reference pointer This pointer NULL Pointer Dangling pointer ✔

Q6. The correct syntax of the stream insertion operator is:

istream& istream::operator >> (char *text); ostream& ostream::operator << (char *text); ✔ istream* istream::operator >> (); ostream* ostream::operator << ();

Q7. For overloading the minus (-) operator, which member operator function will be correct? Complex operator – (Complex c) ✔

Complex (-) operator (Complex c) Complex operator (complex c1 - complex c2) Complex – operator (Complex c)

All CS201P files →
CS201P Introduction to Programming (Practical) All CS201P 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.