CS201P Quiz 9 Updated Aug 2022 by Attiq Kundi
- Type
- Quiz
- Course
- CS201P Introduction to Programming (Practical)
- Size
- PDF 659 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 1, 2, 3 of 12. Download the file for all 12 pages.
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 ----
Related CS201P files
All CS201P files →- CS201P Midterm MCQs 2024 by Qalb-e-Momin Midterm PDF 7.8 MB
- CS201P Quiz 9 Solution by Lucky Quiz PDF 657 KB
- CS201P All Solved Quizzes 2023 by Prince Alvi Quiz PDF 13.3 MB
- CS201P Problem Statement Quiz PDF 509 KB
- CS201P Quiz 10 by Iqra Azhar Quiz PDF 638 KB
- CS201P Quiz Lab 11-12 Updated Aug 2022 by Attiq Kundi Quiz PDF 864 KB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.