Friday, November 27, 2015
Total No. of Questions: 9
OBJECT ORIENTED PROGRAMMING IN C++
SUBJECT CODE: MCA-102
PAPER ID: B0129
Time: 3 Hrs. Max. Marks: 100
Note: Candidates are required to attempt one question from each section A, B, C, & D and the entire Section-E.
1. What is object? How it is different from a class? Explain various advantages of OOP approach over function approach.
2. a) What is implicit and explicit type conversion? Write C++ program to support your answer.
(b) What are the character and symbolic constants? Discuss its need in C++.
3. What is an array? Write a C++ program to explain how an array is passed as an argument to function.
4. Write notes on the following-
(a) Passing structure to a function in C++
(b) Recursion with its merit and demerits.
5. What is constructor? How it is different from destructor? Explain how default and copy constructions are implemented in C++.
6. What is public and private inheritance? Explain how various types of inheritance are implement in C++.
7. Explain the following:
(a) What is binary operator overloading? Explain how relational operators are overloaded in C++?
(b) Explain how exceptions are handled using Try-Catch block?
8. (a) Write a C++ program that reads a test file and count the number of vowel present in it.
(b) What is sure virtual function? Discuss its characteristics.
9. (i) List various features of iostream.h and iomanip.h header files.
(ii) List various rules for operator overloading.
(iii) What are different properties of private and protected variable?
(iv) Define virtual destructor.
(v) How whole loop is different from do-while loop?
(vi) What is use of static functions in C++?
(vii) What is operator precedence in C++?
(viii) List various features of pointers?
(ix) How exceptions are handled in C++?
(x) How static data member is defined in C++?
punjabtechnicaluniversity.blogspot.in Roll No......................... ... Total No. of Questions : 07] ...
Roll No……….. Total No. of Questions: 07 B.Com. (Sem.-1 st ) FINANCIAL ACCOUNTING Subject Code: BCOP-101 Paper ID: [B1101] ...
punjabtechnicaluniversity.blogspot.in Click Here for Syllabus of B-Tech 1st Year . http://ptu.ac.in/userfiles/file/engg_syllab/1st_and_...
Business Organisation and Management, Question Paper of B.Com 1st Semester,Download Previous Years Question Paper 2Roll No…….. Total No. of Questions: 07 B.Com (Sem.-1 st ) BUSINESS ORGANIATION AND MANAGEMENT Subject Code: BCOP-102 (2011 &a...
Roll No……. Total No. of Questions:07 B.COM (Sem.-1 st ) BUSINESS MATHEMATICS SUBJECT CODE: BCOP-104 (2011 Batch) PAPER ID: ...
punjabtechnicaluniversity.blogspot.in Roll No. ...................... Total No. of Questions : 13] ...
punjabtechnicaluniversity.blogspot.in Master Of Technology (M-Tech) Syllabus SYLLABUS FOR MASTER OF TECHNOLOGY (M-Tech) Br...
punjabtechnicaluniversity.blogspot.in Click Downlink for Dowload of Scheme and Syllabus of B.Com. Professional Batch 2011onwards ht...
B.Sc. IT (402) (S05) / 102 (New) (Sem. - 4th) BASIC MATHEMATICS – I, Punjab Technical University, PTU, Question paperpunjabtechnicaluniversity.blogspot.in Roll No. ................. Total No. of Questions : 13] ...
punjabtechnicaluniversity.blogspot.in Roll No . ............ Total No. of Questions : 07) ...