CS201 Final Term Quiz 3 July 2023 Part 4 by Miss Mehwish
- Type
- Final term past paper
- Course
- CS201 Introduction to Programming
- Size
- PDF 659 KB
- Updated
- 23 Oct 2026
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 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. How many bits form a byte?
Correct option: d) 8
Q2. Which of the following code segment represents a left shift operator? Options:
Correct option: B) result = number << 1; result = number << 1;
Q3. The dynamic memory allocation uses ___________ whereas static memory allocation uses
Correct option: d) heap, stack
Q4. In _____________, we have different data members and all of these have their own memory space. Options:
Correct option: a) union
Q5. With the use of dynamic allocation of memory, the system resources can be _______________. Options:
Correct option: b) used efficiently
Q6. Initializing the data member within the class is _____________. Options:
Correct option: b) not an error
Q7. "a = a | b;" can be written as ________________.
Correct option: d) a |= b;
Q8. We should not use variable names that start with ____________ because in C++, there are lots of internal constants and symbolic names that start with it.
Correct option: c) double underscore
Q9. The original value remains unchanged in _____________. Options:
Related CS201 files
All CS201 files →- CS201 Final Term Quiz 3 July 2023 Part 3 by Miss Mehwish Final term PDF 665 KB
- CS201 Final Term Quiz 3 July 2023 Part 5 by Miss Mehwish Final term PDF 658 KB
- CS201 Final Term Quiz 3 July 2023 Set 2 by Miss Mehwish Final term PDF 462 KB
- CS201 Final Term Guess Paper 2023 Final term PDF 573 KB
- CS201 Highlighted Handouts by Mickey Ch Highlighted PDF 5.1 MB
- CS201 Quiz by Hafsa Raja Quiz PDF 3.1 MB
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.