Skip to content
VUBuddy

CS201 Midterm Solved Paper

Introduction to Programming PDF 449 KBUpdated 23 Oct 2026
Midterm past paper CS201 Midterm Solved Paper PDF 449 KB
vubuddy.com
Type
Midterm past paper
Course
CS201 Introduction to Programming
Size
PDF 449 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 449 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 1, 2, 3 of 13. Download the file for all 13 pages.

MIDTERM EXAMINATION

Spring 2009 CS201Introduction to Programming

Q1. A precise sequence of steps to solve a problem is called (1 marks)

  1. Statement
  2. Program
  3. Utility
  4. Routine

Q2. The Compiler of C language is written in (1 marks)

  1. Java Language
  2. UNIX
  3. FORTRON Language
  4. C Language

Q3. Initialization of variable at the time of definition is, (1 marks)

  1. Must
  2. Necessary
  3. Good Programming
  4. None of the given options

Q4. In if structure the block of statements is executed only, (1 marks)

  1. When the condition is false
  2. When it contain arithmetic operators
  3. When it contain logical operators
  4. When the condition is true

Q5. Which of the following function(s) is/are included in stdlib.h header file? (1 marks)

  1. double atof(const char *nptr)
  2. int atoi(const char *nptr)
  3. char *strcpy ( char *s1, const char *s2)
  4. 1 and 2 only

Q6. Dealing with structures and functions passing by reference is the most economical method (1 marks)

  1. True
  2. False

Q7. Pointer is a variable which store, (1 marks)

  1. Data
  2. Memory Address
  3. Data Type
  4. Values

Q8. Preprocessor program perform its function before ______ phase takes place. (1 marks)

  1. Editing
  2. Linking
  3. Compiling
  4. Loading

Q9. Which of the following can not be a variable name? (1 marks)

  1. area
  2. _area
  3. 10area
  4. area2

Q10. Which looping process is best, when the number of iterations is known? (1 marks)

  1. for
  2. while
  3. do-while
  4. all looping processes require that the iterations be known

Q11. Which character is inserted at the end of string to indicate the end of string? (1 marks)

  1. new line
All CS201 files →
CS201 Introduction to Programming All CS201 handouts, past papers, quizzes and MCQs in one place. Open course page

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
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.