Skip to content
VUBuddy

CS201 Final Term MCQs by VU Topper RM

Introduction to Programming PDF 739 KBUpdated 23 Oct 2026
Final term past paper CS201 Final Term MCQs by VU Topper RM PDF 739 KB
vubuddy.com
Type
Final term past paper
Course
CS201 Introduction to Programming
Size
PDF 739 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 739 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 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?

  1. s.name[56];
  2. s[55].name;
  3. s.name[55];
  4. s[56].name;

Correct answer: s.name[55];

Q12. Vu-Topper RM (1 marks)

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

  1. cout<<1;
  2. cin >> number ;
  3. result = number >> 1 ;
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.