- Type
- Quiz
- Course
- CS201 Introduction to Programming
- Size
- PDF 857 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 of 2. Download the file for all 2 pages.
Q1. Which operator has the highest precedence? (*, -, /, +)
Correct answer: * and / both have the same highest precedence
Q2. How many times the following loop will execute? int j = 3; while(j > 0) { cout << "Statements" << endl; j -= 2;
Correct answer: 2
Q3. ______ Loop executes atleast one times.
Correct answer: Do while
Q4. Identify the logical error in the following if condition If ((i < 5) && (i > 15))
Correct answer: Condition is always false
Q5. What will be the values of variables x and y after executing the following code if x = 33 and y = 19? if(x % y != 0) { x++; y--; }
Correct answer: x = 34, y = 18
Q6. < , <= , > , >= are called __________ operators.
Correct answer: Relational
Q7. If x = 11, and x %= 3, then value of x will be ___________.
Correct answer: 2
Q8. In the following nested For Loop, which loop will run most number of times? for( int i = 0; i < 5; i++) { for(int k = 0; k < 5; k++) { ……... } }
Correct answer: Inner loop
Q9. Find the syntax error in the following piece of code? if ( x > y); cout<<” x is greater than y “; else cout<<”y is greater than x”;
Correct answer: Semicolon should not be after the if statement
Q10. Which of the following is not the subcategory of the system software?
Correct answer: Application software
Related CS201 files
All CS201 files →- CS201 Highlighted Handouts Set 3 by VU Topper RM Highlighted PDF 5.1 MB
- CS201 Final Term Past Papers Spring 2022 Final term RAR 2.6 MB
- CS201 GDB Solution 2024 GDB PDF 603 KB
- CS201 Quiz 2 Set 2 Quiz PDF 3.5 MB
- CS201 Quiz 3 by Attiq Kundi Quiz CPP 2 KB
- CS201 Short Notes Best Way to Pass Quiz PDF 120 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.