- Type
- Quiz
- Course
- CS201 Introduction to Programming
- Size
- PDF 433 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
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 ()
Related CS201 files
All CS201 files →- CS201 Highlighted Handouts Set 5 Highlighted PDF 7 MB
- CS201 Midterm Solved Quiz 1 2015 Midterm DOCX 20 KB
- CS201 Quiz 1 Set 3 Quiz PDF 1.1 MB
- CS201 Grand Quiz by Waqas Ahmed Quiz PDF 41.3 MB
- CS201 Quiz 2 Updated June 2023 by Attiq Kundi Quiz PDF 3.3 MB
- CS201 Mega Solved Short Questions Quiz PDF 555 KB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.