Skip to content
VUBuddy

CS201P Quiz 9 Updated Aug 2022 by Attiq Kundi

Introduction to Programming (Practical) PDF 659 KBUpdated 23 Oct 2026
Quiz CS201P Quiz 9 Updated Aug 2022 by Attiq Kundi PDF 659 KB
vubuddy.com
Type
Quiz
Course
CS201P Introduction to Programming (Practical)
Size
PDF 659 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 659 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 12. Download the file for all 12 pages.

CS201- P · Quiz Lab No.09 · BY Attiq Kundi · “Knowledge For Us” · For More Solutions · (Updated at 12-08-2022) · Subcribe

Kareen Taa kay Apki Mazeed Help hoti rahay or humie b Hosla Milta Rahay

Regards

Attiq’s Group

------------ is a user-defined data type.

Class

A constructor with arguments is known as:

Parameterized constructor

We cannot declare a function as a a friend of -------------- classes

istream or ostream

Automatic variable are created constantly and destroyed

All the time

______are a conditional complication process that is used to replace a piece of code by its definition in a programe

function

calloc () functions allocates multiple blocks of memory and each block have-------------?

same size

in C++ sizeof operator is used to determine---------------

the size that a data type represents

which of the following header file deals with stream extraction?

iostream.h

Type to use getch() function without including #include header file in the program is a ------ error

compilation

in C++ the name of the ---------- is the same as that of a class with a preceding tild (~) sign.

Destructor

which of the following option returns the state of end file?

cin.eof()

If the memory in the free store is not sufficient enough to fulfill the request , malloc () function return----

Null

in C/C++ language . memory at runtime is allocated from - -----------

Stack

When overloading assignment (=) operator, which of the following syntax is correct?

void operator(=) const string &other:

***7

For overloading minus (-) operator, which member operator function will be correct?

complex operator-(complex c)

In C++ which operator is used far memory allocated ?

New

The Statement char array [10]; is an example of a type of -- ------------ memory allocation

static

which of the following option not a source of the output steam?

file

A square matrix has-----------

Equal number of rows and columns

The statement *double** elements; * says that *elements* is a / an ------ to double.

Array of pointers

A matrix is nothing but a --------- of numbers

Two- dimensional array

A programmer can ------- the simple matrix class to handle the integer, float, or double data type as elements of the given matrix.

Hide

in C and C++ language, every expression has a --------- of its own?

Value

The cycle of testing and --------- continues until the program is working perfectly without any problem.

Bug fixing

Default scope for members of structures is -------- and default visibility for class members is ----

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.