Final term past paper
CS201 Final Term Guess Paper 2023
PDF 573 KB
vubuddy.com
- Type
- Final term past paper
- Course
- CS201 Introduction to Programming
- Size
- PDF 573 KB
- Updated
- 23 Oct 2026
Free download
0 of 3 used today
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 21. Download the file for all 21 pages.
Q1. All A template function must have at least ---------- generic data type (1 marks)
- Zero
- One (Page 499)
- Two
- Three
Q2. Which of the following statement is best regarding declaration of friend function? (1 marks)
- Friend function must be declared after public keyword
- Friend function must be declared after private keyword.
- Friend function must be declared at the top within class definition.
- It can be declared anywhere in class as these are not affected by the public and private keywords. (Page 346)
Q3. Which one of the following is the declaration of overloaded pre- increment operator implemented as (1 marks)
member function?
- Class-name operator +() ;
- Class-name operator +(int) ;
- Class-name operator ++() ; (Page 389)
- Class-name operator ++(int) ;
Q4. Class is a user defined___________. (1 marks)
- data type (Page 317)
- memory referee
- value
Q5. How many bytes will the pointer intPtr of type int move in the following statement? intPtr += 3 ; (1 marks)
- 3 bytes
- 6 bytes
- 12 bytes
- 24 bytes
Q6. Which of the following is the correct C++ syntax to allocate space dynamically for an array of 10 int? (1 marks)
- . new int(10) ;
- . new int[10] ;
- . int new(10) ;
- . int new[10];
Q7. A Pointer is a special variable that contain (1 marks)
- . Data values
- . Memory Address (Page 267)
- . Both data and values
Q8. Reference Value Type Data The code is written to __________ the program. (1 marks)
- . implement
- . design
- . analysis
Operator overloading can be performed through__________________.
Q3. Which of the following function is used to increase the size of already allocated memory chunk? (1 marks)
Q4. Which of the following is NOT a preprocessor directive? (1 marks)
Q5. The stream objects cin and cout are included in which header file? (1 marks)
Q6. – Please choose one Overloaded delete operator function takes the same parameter as an argument returned by new operator (1 marks)
function.
Q7. When an array of object is created dynamically then there is no way to provide parameterized constructors (1 marks)
for array of objects.
Related CS201 files
All CS201 files →- CS201 Final Term Quiz 3 July 2023 Part 5 by Miss Mehwish Final term PDF 658 KB
- CS201 Final Term Quiz 3 July 2023 Part 4 by Miss Mehwish Final term PDF 659 KB
- CS201 Final Term Quiz 2023 Final term PDF 646 KB
- CS201 Final Term Quiz 3 July 2023 Part 3 by Miss Mehwish Final term PDF 665 KB
- CS201 Highlighted Handouts by VUBuddy Highlighted PDF 3.8 MB
- CS201 Solved Grand Quiz 2020 by Sonu Ilyas Quiz PDF 10.8 MB
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
Chrome extension
Free on the Chrome Web Store
- 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.