- Type
- Final term past paper
- Course
- CS201 Introduction to Programming
- Size
- PDF 1.1 MB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extension for 30 a day.
Preview text
Text from pages 1, 2, 3 of 39. Download the file for all 39 pages.
Q1. All A template function must have at least ______ generic data type
Correct answer: One
Q2. Which one of the following is the declaration of overloaded pre-increment operator implemented as member function?
Correct answer: Class-name operator ++ ();
Q3. Class is a user defined ______.
Correct answer: Data type
Q4. How many bytes will the pointer intPtr of type int move in the following statement? intPtr += 3 ;
Correct answer: 12 bytes
Q5. A Pointer is a special variable that contain
Correct answer: Memory Address
Q6. Which of the following is the correct C++ syntax to allocate space dynamically for an array of 10 int?
Correct answer: new int[10] ;
Q7. Reference Value Type Data The code is written to ____ the program.
Correct answer: Implement
Q8. Operator overloading can be performed through _____.
Correct answer: Function
Q9. When a value is referred by a normal variable then it is known as,
Correct answer: Direct Reference
10. Which of the following function is used to increase the size of already allocated
memory chunk?
Correct answer: realloc
Q11. Which of the following is NOT a preprocessor directive?
Correct answer: #ndefine
Q12. The stream objects cin and cout are included in which header file?
Correct answer: iostream.h
Q13. Overloaded delete operator function takes the same parameter as an argument returned by new operator function.
Correct answer: True
Q14. Static variable which is defined in a function is initialized
Correct answer: Only once during its life time
Q15. When memory for a program is allocated at run time then it is called
Correct answer: dynamic memory allocation
Q16. When an array of object is created dynamically then there is no way to provide parameterized constructors for array of objects.
Correct answer: True
Related CS201 files
All CS201 files →- CS201 Final Term Solved File 8 by Team Hadi Final term PDF 2.6 MB
- CS201 Final Term Solved Subjective by Moaaz Final term PDF 505 KB
- CS201 Final Term Past Papers Set 2 by VU Stars Final term PDF 4.4 MB
- CS201 Final Term Solved MCQs by Moaaz Final term PDF 2.4 MB
- CS201 Highlighted Handouts by Qalb-e-Momin Highlighted PDF 6.2 MB
- CS201 Solved Quiz 2 Spring 2023 by Muhammad Zaman Quiz PDF 1.2 MB
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.