CS201 Final Term Today Quizzes July 2021
- Type
- Final term past paper
- Course
- CS201 Introduction to Programming
- Size
- PDF 7.4 MB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extension for 30 a day.
Preview text
Text from pages 1, 2, 3 of 241. Download the file for all 241 pages.
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
- 06
- 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
Related CS201 files
All CS201 files →- CS201 Final Term Quiz MCQs 2021 Final term PDF 3.5 MB
- CS201 Final Term Current Paper 2020 Set 2 by VUBuddy Final term PDF 453 KB
- CS201 Final Term Current Paper 2020 by VUBuddy Final term PDF 480 KB
- CS201 Final Term Current Papers Fall 2020 Final term PDF 49 KB
- CS201 Highlighted Handouts Set 5 Highlighted PDF 7 MB
- CS201 Solved Grand Quiz Spring 2021 by Riz Mughal Quiz PDF 936 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.