- Type
- Quiz
- Course
- CS201 Introduction to Programming
- Size
- PDF 353 KB
- 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 11. Download the file for all 11 pages.
CS201 updated quiz 2021 Searching file for quiz 1 ORANGE MONKEY TEAM
98% confirm
- Special name which is substituted in code by its definition and as a result we get an expanded code is called
- The compiler generates ___________ automatically.
Initializing the data members in the definition of the class is a syntax error
- ___________ for parameters is also done for inline functions.
Automatic type checking
- An instance of a class is called ______________.
Object
- 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
- ____________ 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
- Default constructor takes __________.
No parameters
- 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 ________ so the program running on one operating system can run
Accessibility
- 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
- C++ was developed by _____________.
Bejame stroustrup
23. For converting a void type pointer ptr into integer type, the correct syntax is:
int* ptr
- A pointer with value NULL is defined in the header files ___________ and ________.
Stdlib.h stddef.h
- Constructor is a special function, called whenever we __________.
Instantiate an object of a class
- Constructor is itself a _________ of C++ and _________.
Q27. What is the other name of a variable?
Identifier
- In shifting operations if zero is inserted at the left most bit, the negative number will become a _________ number.
Positive
- A class is _________.
User defined Data type
- Bugs can occur due to _______.
- The heap memory structure _______.
Related CS201 files
All CS201 files →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.