Midterm past paper
CS201 Midterm Past Papers by Junaid
PDF 1.2 MB
vubuddy.com
- Type
- Midterm past paper
- Course
- CS201 Introduction to Programming
- Size
- PDF 1.2 MB
- Updated
- 23 Oct 2026
Free download
0 of 3 used today
You get 3 free files a day on the website. Add the Chrome extension for 30 a day.
Preview text
Text from pages 2, 3, 4 of 23. Download the file for all 23 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 Past Papers by Tariq Midterm PDF 60 KB
- CS201 Midterm MCQs Set 3 by VU Topper RM Midterm PDF 926 KB
- CS201 Midterm Solved MCQs by Junaid Midterm PDF 1.3 MB
- CS201 Final Term Solved MCQs by Junaid Final term PDF 1.7 MB
- CS201 Highlighted Handouts Set 2 Highlighted PDF 5.2 MB
- CS201 Short Notes (Word) Quiz DOC 54 KB
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
Chrome extension
Free on the Chrome Web Store
- 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.