Skip to content
VUBuddy

CS201 Quiz 1 Set 2 by VUBuddy

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

CS201 SOLVED QUIZ 1

Effort by Sarim (VUANSWER)

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. Comma, Lecture 9

Semicolon;

Colon:

Brackets ()

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.