- Type
- Midterm past paper
- Course
- CS201 Introduction to Programming
- Size
- PDF 1.3 MB
- 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 2, 3, 4 of 47. Download the file for all 47 pages.
Q1. What is the other name of the variable?
Identifier
- Visual
- Static
- Constant
Q2. Which of the Following is true about streams?
- A &D
- A only
- C only
A & B
Q3. When No. of repetition is know then we use the ------ structure to perform repetition tasks.
- While loop
For loop
- Switch
Q4. Shifting the binary number is similar to shifting the------ number.
- Base 7
Decimal
- Hexadecimal
- octal
Q5. We can read, write and manipulate the same file using ---------------.
- Stdio.h
Fsteram. h
- Iomanp.h
- Iostream.h
Q6. In do while loop the , condition is checked ----------- one execution of loop.
- Before
- During
- At Any time
After
Q7. < , <=, >, >= are called ----- operators.
- Arithmetic
- Conational
- Logical
Relational
Q8. For breaking complex problem into smaller pieces we use ------------.
Function
- Loops
- If/else
- Break statement
Q9. In three – dimensional array. We use------- ‘for loop(s)’ to populate the array.
3
- 2
- 1
- 4
Q10. a = a +1: can be written as ---------------
- 1 + a = a:
- a+a+1
a+=1
- a+1
Q11. Continue statement usually force the immediate ------ iteration of the loop .
- last
- previous
- first
next
Q12. If a file is opened with ios: : out mode . then -----------------.
- We can write in this file
- Content of file discarded
A new file is created
- File is deleted
Related CS201 files
All CS201 files →- CS201 Midterm Solved MCQs Updated Midterm PDF 437 KB
- CS201 Midterm Questions Midterm PDF 186 KB
- CS201 Midterm Past Papers by Junaid Midterm PDF 1.2 MB
- CS201 Final Term Solved MCQs Set 2 by Junaid Final term PDF 2 MB
- CS201 Highlighted Handouts Set 2 Highlighted PDF 5.2 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.