CS201P Final Term Quiz 10 July 2023 by Miss Mehwish
- Type
- Final term past paper
- Course
- CS201P Introduction to Programming (Practical)
- Size
- PDF 543 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 4. Download the file for all 4 pages.
We also provide Past papers for Mids. and Finals Cross Check your answers before submitting directly from the file. We are not responsible for 100% correction as human error exists
Q1. The statement `char arr[10];` is an example of a type of ____________ memory allocation. Options:
Correct option: Static
Q2. Which function is automatically called when an object of a class is initiated? Options:
Correct option: Constructor
Q3. What will be the output of the following code?
```cpp void sampleFunction(int = 5, float = 4.1, char = 'A'); int main() { sampleFunction(50, 3.2);
void sampleFunction(int one, float two, char three) { cout << one << ", " << two << ", " << three;
a) 50, 3.2, A b) 5, 4.1, A c) 50, 4.1, A d) 5, 3.2, A
Correct option: 50, 3.2, A
Q4. In C++, the name of the _________ is the same as that of a class with a preceding tilde (~) sign.
Correct option: Destructor
Q5. Which is not a preprocessor directive of C-language? Options:
Correct option: #startif
Q6. Representing logical depiction of the solution to the problem is known as a ______________. Options:
Correct option: Flowchart
Q7. _________ is a user-defined data type.
Related CS201P files
All CS201P files →- CS201P Final Term Quiz 8 July 2023 by Miss Mehwish Final term PDF 537 KB
- CS201P Final Term Quiz 12 File 3 July 2023 by Miss Mehwish Final term PDF 575 KB
- CS201P Final Term Past Papers 2022-23 by VU Stars Final term PDF 3.6 MB
- CS201P Final Term MCQs Spring 2024 Final term PDF 1 MB
- CS201P Final Term Past Papers 2024 by Qalb-e-Momin Final term PDF 27 MB
- CS201P Lab 9-10 Quiz Quiz PDF 607 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.