Skip to content
VUBuddy

CS201 Final Term Guess Paper 2023

Introduction to Programming PDF 573 KBUpdated 23 Oct 2026
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
Download free · 573 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 1, 2, 3 of 21. Download the file for all 21 pages.

(WordPress) Course Available · CS201 Final term Quiz File 2023 · 7/31/2023 2:51:38 PM

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__________________.

  1. Classes
  2. Function (Page 371)
  3. Operators
  4. Reference

Q3. Which of the following function is used to increase the size of already allocated memory chunk? (1 marks)

  1. malloc
  2. calloc
  3. realloc (Page 285)
  4. free

Q4. Which of the following is NOT a preprocessor directive? (1 marks)

  1. #error
  2. #define
  3. #line
  4. #ndefine (Page 272)

Q5. The stream objects cin and cout are included in which header file? (1 marks)

  1. iostream.h (Page 15)
  2. fstream.h
  3. istream.h
  4. ostream.h

Q6. – Please choose one Overloaded delete operator function takes the same parameter as an argument returned by new operator (1 marks)

function.

  1. True (Page 414)
  2. False

Q7. When an array of object is created dynamically then there is no way to provide parameterized constructors (1 marks)

for array of objects.

  1. True (Page 414)
  2. False
All CS201 files →
CS201 Introduction to Programming All CS201 handouts, past papers, quizzes and MCQs in one place. Open course page

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
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.