Skip to content
VUBuddy

CS201 Quiz 1 Set 5

Introduction to Programming PDF 857 KBUpdated 23 Oct 2026
Quiz CS201 Quiz 1 Set 5 PDF 857 KB
vubuddy.com
Type
Quiz
Course
CS201 Introduction to Programming
Size
PDF 857 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 857 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 1, 2 of 2. Download the file for all 2 pages.

Q1. If we pass more than one arguments to a function then they are separated by ___________.

  1. Colon :
  2. Double quotes "
  3. Semicolon ;
  4. Comma ,

Correct answer: Comma ,

Q2. __________ will be used for clarity and to force the order of evaluation in an expression.

  1. ' '
  2. " "
  3. ()
  4. []

Correct answer: ()

Q3. Which of the following is not a valid variable name in C++?

  1. nameOfStudent
  2. _studentName
  3. NameOfStudent

Q4. While loop becomes infinite in which scenario _______.

  1. Condition contains arithmetic operators
  2. When the condition is always False
  3. When the condition is always True
  4. Condition contains logical operators

Correct answer: When the condition is always True

Q5. ______ is a substitute of multiple if statement.

  1. If..elseif statement
  2. Break statement
  3. Continue statement
  4. Default statement

Correct answer: If..elseif statement

Q6. Which of the following is the right syntax to declare a variable in C++?

  1. DataType = VariableName;
  2. DataType VariableName;
  3. (DataType) VariableName;
  4. VariableName Datatype;

Correct answer: DataType VariableName;

Q7. ______ Loop executes atleast one times.

  1. While
  2. Inner
  3. For
  4. Do while

Correct answer: Do while

Q8. We use __________ to include all those functions in our program which are located in different files.

  1. Compiler
  2. Debugger
  3. Linker
  4. Loader

Correct answer: Linker

Q9. Which of the following is the correct operator to compare the values of two variables?

  1. ==
  2. =
  3. *=
  4. :=

Correct answer: ==

Q10. Telling a computer what to do, is called ________.

  1. Compiling
  2. Implementing
  3. Programming
  4. Designing

Correct answer: Programming

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.