Skip to content
VUBuddy

CS201 Final Term Past Papers 2 with References

Introduction to Programming PDF 119 KBUpdated 23 Oct 2026
Final term past paper CS201 Final Term Past Papers 2 with References PDF 119 KB
vubuddy.com
Type
Final term past paper
Course
CS201 Introduction to Programming
Size
PDF 119 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 119 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 5. Download the file for all 5 pages.

FINALTERM EXAMINATION Fall 2009 (22 February 2010) CS201Introduction to Programming By VuAskari(MIT)

Q1. Operating system fals under the category of ______types of software (1 marks)

  1. System Software
  2. Application Software
  3. Device drivers
  4. None of the above

Q2. Header file fstream.h include definitions of stream classs_____ (1 marks)

  1. ifstream.h, ofstream.h
  2. cout, cin
  3. iomanip.h
  4. stdlib

Q3. setprecision is a parameter less manipulator. (1 marks)

  1. True
  2. False

Q4. A friend function of a class has access (1 marks)

  1. To all data member and functions of the class
  2. Only to other friend functions of the class
  3. Only to private data of the class
  4. Only to public data of the class

Q5. The declarator of Plus (+) member operator function is (1 marks)

  1. Class-Name operator + (Class-Name rhs)
  2. Operator Class-Name + ( )
  3. Operator Class-Name + ( rhs)
  4. Class-Name operator + ( )

Q6. We can change the arity (number of operands) through operator overloading. (1 marks)

  1. False
  2. True

Q7. Only operator compiler loads for users is: (1 marks)

  1. Delete operator
  2. Assignment Operator
  3. New Operator
  4. None of the above

Q8. cerr and clog are the objects of stream class (1 marks)

  1. True
  2. False

Q9. Loader loads the executable code from main memory to hard disk. (1 marks)

  1. True
  2. False

Q10. Pre processor Directive functions before_____ Phase. (1 marks)

  1. Compiler
  2. Execution
  3. Linking
  4. None of the given options

Q11. A template function can not have static variables. (1 marks)

  1. True
  2. False

Q12. Consider the following code segment. What will be the output of this code segment? (1 marks)

int arr[6] = {2, 3, 7, 4, 5, 6} ; int *ptr1 =&arr[1] ; int *ptr2 = &arr[4] ; cout << (ptr2-ptr1) ;

  1. 6
  2. 7
  3. 2
  4. 3

Q13. The UNIX system was developed in (1 marks)

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

Q14. Friend function of a class are _______ of a class. (1 marks)

  1. Non-member functions
  2. Friend functions
  3. Any function outside class
  4. None of the given options

Q15. The operator function overloaded for an Assignment operator (=) must be (1 marks)

  1. Non-member function of class
  2. Member function of class
  3. Friend function of class
  4. None of the given options

Q16. In the S2=S1, ___ is the object that is calling or driving the = operator. ___ object is being passed as an argument to the = operator. (1 marks)

  1. S1, S2
  2. S2,S1
  3. None of the Above

Q17. The static data members of a class are initialized _______ (1 marks)

  1. at file scope
  2. within class definition
  3. within member function
  4. within main function

Q18. We can do condition compilation with pre processor directives. (1 marks)

  1. True
  2. False

Q19. Self-assignment is dangerous especially at a time when we have memory manipulation in a class (1 marks)

  1. True
  2. False

Q20. A template function must have at least ---------- or more arguments (1 marks)

  1. Zero
  2. One
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.