CS201 Solved Paper 3 Spring 2009 with References by ZS Team
- Type
- Quiz
- Course
- CS201 Introduction to Programming
- Size
- PDF 132 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, 3 of 5. Download the file for all 5 pages.
MIDTERM EXAMINATION
Spring 2009 CS201Introduction to Programming
Solved by vuZs Team
Q1. Please choose one_______ (1 marks)
There are mainly------------------- types of software
Correct answer: Two
Software is categorized into two main categories o System Software o Application Software
Q2. Please choose one____ (1 marks)
In C/C++ the #include is called,
Correct answer: Preprocessor Directive
Q3. Please choose one___________ (1 marks)
&& is------------------ operator.
Correct answer: Logical
we use logical operators ( && and || ) for AND and OR respectively with relational operators.
Q4. Please choose one_______ (1 marks)
In flow chart, the symbol used for decision making is,
Correct answer: Diamond
Q5. Please choose one______ (1 marks)
The correct syntax of do-while loop is,
Correct answer: do { statements; } while (condition);
Q6. Please choose one___________ (1 marks)
C++ views each file as a sequential stream of________________ .
Correct answer: Bytes
Q7. Please choose one__________________ (1 marks)
If the elements of an array are already sorted then the useful search algorithm is,
Correct answer: Binary search
In binary search algorithm, the ‘divide and conquer’ strategy is applied. This plies only to sorted arrays in ascending or descending order.
Q8. Please choose one___________ (1 marks)
The address operator (&) can be used with,
Correct answer: Variable
Q9. Please choose one_______________ (1 marks)
When a pointer is incremented, it actually jumps the number of memory addresses
Correct answer: According to data type
Q10. Please choose one______________ (1 marks)
Each pass through a loop is called a/an
Correct answer: iteration
Q11. Please choose one_____________ (1 marks)
Call by reference mechanism should be used in a program when there is i. large amount of data to be passed ii. small amount of data to be passed iii. need to change the passed data iv. no need to change the passed data Choose the appropriate option for the above case.
Correct answer: (i) and (iii) only
Q12. Please choose one________ (1 marks)
Which of the following is the starting index of an array in C++?
Q13. Please choose one________ (1 marks)
The return type of a function that do not return any value must be __________
Correct answer: void
Q14. Please choose one_________ (1 marks)
Which of the following is an extension of header file?
Related CS201 files
All CS201 files →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.