Skip to content
VUBuddy

CS201 Final Term Past Papers Set 2

Introduction to Programming PDF 545 KBUpdated 23 Oct 2026
Final term past paper CS201 Final Term Past Papers Set 2 PDF 545 KB
vubuddy.com
Type
Final term past paper
Course
CS201 Introduction to Programming
Size
PDF 545 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 545 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 19. Download the file for all 19 pages.

CS201 updated quiz 2021 · Searching file for quiz 1 · ORANGE MONKEY TEAM · 98% confirm

  1. Special name which is substituted in code by its definition and as a result we get an expanded code is called

Macro · 2. A=a+1, can be written as · A+=1 · 3. The compiler generates

automatically.

Constructors · 4. The data members of the class are initialized · • Explicitly write keyword private in the class definition · • Separate the interface and implementation · • The default constructor has no arguments · • Constructor has the same name as of class

• Initializing the data members in the definition of the class is a syntax error

5. for parameters is also done for inline functions.

Automatic type checking · 6. An instance of a class is called · Object

7. With the use of dynamic allocation of memory, the system resources can be

Used efficiently

8. When we include the header file in the angle brackets the compiler searches for it in

9. is a special type of pointer we have to cast it before we use it.

Void · 10. Multiplicative, additive and assignment operators are · operators Binary

11. The memory allocation functions return a chunk of memory with a pointer of type

Void · 12. Default constructor takes · No parameters · 13. In a class we can have

constructor(s).

Only one

Q14. Which one of the following is mandatory preprocessor directive for c++?

#include <isotream?

15. Header files provide

Accessibility

16. We should not use such variable names that are starting with

because in C++ these are lots of internal constants and symbolic names that start with it.

Double underscore

Q17. Which of the following code segment represents a left shift operator?

Result= number<<1

Q18. Which of the following code segment represent a bitwise And operator?

Q19. Which of the following code segment represent a bitwise OR operator?

I

20. Which of the following code segment represent a Bitwise Exclusive OR operator

21. Which of the following code segment represent a NOT operator

22. C++ was developed by

Bejame stroustrup

23. For converting a void type pointer ptr into integer type, the correct syntax is:

int* ptr

24. A pointer with value NULL is defined in the header files

and · Stdlib.h stddef.h · 25. Constructor is a special function, called whenever we · Instantiate an object of a class · 26. Constructor is itself a · of C++ and

Q27. What is the other name of a variable?

Identifier

  1. In shifting operations if zero is inserted at the left most bit, the negative number will become a number.

Positive · 29. A class is · User defined Data type · 30. Bugs can occur due to · 31. The heap memory structure · Constantly changes in size

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.