Skip to content
VUBuddy

CS201 Midterm MCQs Set 2 by VU Topper RM

Introduction to Programming PDF 690 KBUpdated 23 Oct 2026
Midterm past paper CS201 Midterm MCQs Set 2 by VU Topper RM PDF 690 KB
vubuddy.com
Type
Midterm past paper
Course
CS201 Introduction to Programming
Size
PDF 690 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 690 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 29. Download the file for all 29 pages.

Q1. Vu-Topper RM (1 marks)

To read command line argument the main() function itself must be given— A. 1

B. 2

C. 3 D. 4

Q2. Vu-Topper RM (1 marks)

eof is used to check for the ________ of file when a file is being read. A. Start

B. End

C. Middle D. Name

Q3. Vu-Topper RM (1 marks)

The ASCHI code of null character is __________.

A. 000

B. 010 C. 111 D. 110

Q4. Vu-Topper RM (1 marks)

__________ contains functions for manipulations of character data.

A. Ctype.h

B. Iostream.h C. String.h D. None of the given

Q5. Vu-Topper RM (1 marks)

At the design phase, we try to break up the problem into __________. A. Small units

B. Functional units

C. Non-functional units D. None of the given

Q6. Vu-Topper RM (1 marks)

From the following; hich one is the correct syntax of an array declaration: array size 5 and it is of float data type?

  1. float [5] name;
  2. name [5] float;
  3. float name[5];
  4. None of the given options

Correct answer: float name[5];

Q7. Vu-Topper RM (1 marks)

char name [] =" Hello World"; In the above statement, a memory of __________ charaters will be allocated. A. 13 B. 11

C. 12

D. 10

Q8. Vu-Topper RM (1 marks)

Each array declaration must provide the information about all these things expect __________. A. Name of the array B. Type of data stored in the array

C. The location of the first element to be stored

D. Number of elements of the array

Q9. Vu-Topper RM (1 marks)

When we access a multidimensional array, each array index is surrounded by __________. A. Single quotes '' B. Double quotes ""

C. Brackets []

D. Commas ,,

Q10. Vu-Topper RM (1 marks)

In the case of pointer to pointer or __________, the first pointer contains the address of the second pointer, which contains the address of the variable, which contains the desired value. A. Different B. Float and double C. Single dereference

D. Double dereference Page 175

Q11. Vu-Topper RM (1 marks)

Whenever some number is added in an array name, it will jump as many __________ as the added number.

A. Rows

B. Value C. Column D. None of the given

Q12. Vu-Topper RM (1 marks)

The statement cout << yptr will show the __________the yptr points to. A. Value B. Variable C. None of given

D. Memory Address

Q13. Vu-Topper RM (1 marks)

char **argv can be read as__________________.

A. Pointer to Pimter B. Pointer to Char

C. Pointer to Pointer to Char Page 177

D. None of given

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.