Skip to content
VUBuddy

CS201 Final Term Today Quizzes July 2021

Introduction to Programming PDF 7.4 MBUpdated 23 Oct 2026
Final term past paper CS201 Final Term Today Quizzes July 2021 PDF 7.4 MB
vubuddy.com
Type
Final term past paper
Course
CS201 Introduction to Programming
Size
PDF 7.4 MB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 7.4 MB

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, 3 of 241. Download the file for all 241 pages.

CS201 QUIZ-1 BY Attiq Kundi · CS201 Final Term all MCQS · CS504 100 % CORRECT MCSQ · AND Many MoRe · Humari Mehnat k liye Ager ho sakay to Humaray · “Knowledge For Us”

Q1. < and > both are _________ operators.

Arithmetic Relational

Logical

Mathematical

Q2. Find out the logical error in following lines

of code. If (x = 10) cout “x is 10”;

10 should be enclosed in quotations There is no semicolon at the end of if condition

Assignment operator should not be used

for Comparison

Variable x should not be inside parenthesis

Q3. What will be the result of the expression

j = i++; if initially j = 0 and i = 5?

Q4. Default mechanism of calling a function by passing it array is call by ________ and in

case of passing variable is call by ___.

Reference, Reference

Reference, value

Value, Reference Value, Value

Q5. When the break statement is encountered

in a loop’s body, it transfers the control ________from the current loop.

Inside

Outside

Q6. ________statement is used to terminate the processing of a particular case and exit

from switch structure.

If Goto

Break

Continue

Q7. If we pass more than one arguments to a function then they are separated by____.

Comma, Lecture 9 Semicolon;

Colon: Brackets ()

Q8. What will be the value of the variable output in the given piece of code?

double output = 0; output = (2 + 2) * 4 + 2 / (4 – 2);

Q9. If we assign 2.06721 to an integer variable x, what will be the output if we print x using cout statement?

  1. 1
  2. 06
  3. 07

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

() PG32

Q11. What will be the size of following array? int arr[29];

30 PAGE 105-106

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.