- Type
- Quiz
- Course
- CS201 Introduction to Programming
- Size
- PDF 15 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 3. Download the file for all 3 pages.
VU QUIZ REPORT
Subject: CS201
Quiz Completed: 1/7/2026, 10:18:14 PM Total Questions: 10
Once the _______________ are created, they exist for the life time of the program
A. global variables
B. local variables C. automatic variables D. non static variables
The return type of the overloaded new operator must be?
Correct answer: void pointer
When the compiler overloads the assignment (=) operator by default then A. Class members are not assigned properly B. Compiler does not allow default assignment operator C. Compiler does member wise assignment. D. Compiler does not do member wise assignment. _______ operators are the ones that require only one operand to work. A. Single B. Binary
C. Unary
D. Unit
What is meaning of bad bit in I/O operation: A. Bad data
B. Error in data
C. Lost data D. Wrong data
Selected Answer: B
What is the sequence of event(s) when deallocating memory of an object using delete operator?
Correct answer: Destructor is called first before deallocating memory
The only operator that the compiler overloads for user define data type by default is A. Minus (-) operator B. Equal (==) operator C. Plus (+) operator
D. Assignment (=) operator
What happens if new fails to allocate memory in C++?
Correct answer: It throws an exception
When operator function is implemented as member function then return type of function ________.
A. Can be any data type
B. Must be built-in data type C. Must be an object of same class D. Must be user-defined data type
free function is available in _______________ header file.
A. stdlib.h
B. string.h C. iostream.h D. conio.h
Related CS201 files
All CS201 files →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.