CS201 Final Term Solved MCQs by Moaaz
- Type
- Final term past paper
- Course
- CS201 Introduction to Programming
- Size
- PDF 2.4 MB
- 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 44. Download the file for all 44 pages.
Latest Solved Mcqs from Final term Papers
July 11,2011
asad Asad Ali
Latest Mcqs
Q1. All A template function must have at least ---------- generic data type (1 marks)
Q2. Which of the following statement is best regarding declaration of friend function? (1 marks)
Q3. Which one of the following is the declaration of overloaded pre-increment operator implemented as member function? (1 marks)
Correct answer: Class-name operator ++() ;
(Page 389)
Q4. Class is a user defined___________. (1 marks)
Correct answer: data type (Page 317)
Q5. How many bytes will the pointer intPtr of type int move in the following statement? intPtr += 3 ; (1 marks)
Correct answer: 12 bytes
Q6. Which of the following is the correct C++ syntax to allocate space dynamically for an array of 10 int? (1 marks)
Correct answer: new int[10] ;
Q7. A Pointer is a special variable that contain (1 marks)
Correct answer: Memory Address (Page 267)
Q8. Reference Value Type Data The code is written to __________ the program. (1 marks)
Correct answer: implement
Final Term Spring 2010
Operator overloading can be performed through__________________.
Correct answer: Function (Page 371)
Q2. When a value is referred by a normal variable then it is known as, (1 marks)
Correct answer: Direct Reference (page 143)
When a value is referred by a normal variable is known as direct reference
Q3. Which of the following function is used to increase the size of already allocated memory chunk? (1 marks)
Correct answer: realloc (Page 285)
Q4. Which of the following is NOT a preprocessor directive? (1 marks)
Correct answer: #ndefine (Page 272)
Q5. The stream objects cin and cout are included in which header file? (1 marks)
Correct answer: iostream.h (Page 15)
Q6. Overloaded delete operator function takes the same parameter as an argument returned by new operator function. (1 marks)
Correct answer: True (Page 414)
The same pointer that is returned by the new operator, is passed as an argument to the delete operator. These rules apply to both, if operators (new and delete) are overloaded as member or non-member operators (as global operators).
Q7. When an array of object is created dynamically then there is no way to provide parameterized constructors for array of objects. (1 marks)
Correct answer: True (Page 414)
Related CS201 files
All CS201 files →- CS201 Final Term Important Topics by VUBuddy Final term PDF 346 KB
- CS201 Final Term Current Papers Fall 2020 Final term PDF 49 KB
- CS201 Midterm Solved Subjective with References by Moaaz Midterm PDF 1.3 MB
- CS201 Midterm Solved MCQs with References by Moaaz and Asad Midterm PDF 270 KB
- CS201 Highlighted Handouts by VU Topper RM Highlighted PDF 5.4 MB
- CS201 GDB Solution 2024 GDB PDF 603 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.