CS201 Final Term MCQs by VU Topper RM
- Type
- Final term past paper
- Course
- CS201 Introduction to Programming
- Size
- PDF 739 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 2, 3, 4 of 38. Download the file for all 38 pages.
Q1. Vu-Topper RM (1 marks)
A structure is a collection of _____________under a single name. A. Array B. Pointer C. Datatype
D. Variables Page 229
Q2. Vu-Topper RM (1 marks)
The memory allocation functions return a chunk of memory with a pointer of type_______________. A. Ptr
B. Void Page 281
C. Float D. Integer
Q3. Vu-Topper RM (1 marks)
A file opened with the help of ______________ can be used for both input and output.
A. Fstream Page 220
B. Ofstream C. Iostream D. Ifstream
Q4. Vu-Topper RM (1 marks)
Macros are categorized into _________ type(s). A. One
B. Two Page 275
C. Five D. Three
Q5. Vu-Topper RM (1 marks)
All the preprocessors directives starts with ________. A. - B. &
C. # Page 279
D. $
Q6. Vu-Topper RM (1 marks)
When we include the header file in the angle brackets the compiler searches for it in ______________. A. All the drives B. Current folder
C. Current directory Page 269
D. Specific directory
Q7. Vu-Topper RM (1 marks)
For accessing data members we use _________ operator
A. .dot
B. Plus+ C. Division / D. multiplication *
Q8. Vu-Topper RM (1 marks)
The dynamic memory allocation uses ___________ whereas static memory allocation uses _________. A. stack , lists B. array , stack
C. Heap,stack
D. classes , array
Q9. Vu-Topper RM (1 marks)
A file opened with ________________ is used for input and cannot be used for output.
A. Ifstream Page 220
B. Ostream C. Istream D. Fstream
Q10. Vu-Topper RM (1 marks)
The data, contained in the structure, is defined in the ______________. A. None B. Parenthesis
C. Curly braces Page 229
D. Inverted commas
Q11. Vu-Topper RM (1 marks)
student s[100]; means that ‘s’ is an array of hundred students of type ‘student’ structure. What will be the correct statement to access the ‘name’ data element of the fifty sixth student from the array?
Correct answer: s.name[55];
Q12. Vu-Topper RM (1 marks)
Which of the following code segment represents a left shift operator?
Related CS201 files
All CS201 files →- CS201 Final Term MCQs by Miss Mehwish Final term PDF 3.1 MB
- CS201 Final Term Past Papers File 2 by Waqar Siddhu Final term PDF 4.8 MB
- CS201 Final Term Solved MCQs Set 2 by Junaid Final term PDF 2 MB
- CS201 Final Term Solved Papers 4 by Waqar Siddhu Final term PDF 3.6 MB
- CS201 Handouts Handout PDF 8 MB
- CS201 Quiz 2 Set 2 Quiz PDF 3.5 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.