IndiaStudyCenter.com

Need help about a course?
Visit CollegeZones.com

Colleges & Universities | Distance Education | Admission Notifications | Entrance Exams | Course Syllabus | Question Papers
Home / Test Papers / Indira Gandhi National Open University / CS72 C++ and Object Oriented Programming
CS72 C++ and Object Oriented Programming December 2006
Ask a question
Print this page
IGNOU CS-72

CS-72 Test Papers

IGNOU - BCA

About IGNOU - BCA Course

IGNOU - BCA Syllabus

IGNOU - BCA Assignments

IGNOU - BCA Test Papers

IGNOU Programs

IGNOU

Courses, Admissions & Eligibility

January / July 2009 Admissions

Admission Procedure & Schedule

Colleges, Faculties & Departments

Who's Who at the University

Re-Admission Procedure

Study Centres in India

Partner Institutions outside India

Syllabus

IGNOU Test Papers (by Course)

IGNOU Test Papers (by Paper code)

Assignments

IGNOU Dec 2008 Examination Timetables

IGNOU Exam Timetables

Notifications, Circulars & Announcements 2008

Events, Seminars & Workshops

Examination Results

IGNOU Improvement tests

Test Papers / Previous Question Papers of Indira Gandhi National Open University CS72 C++ and Object Oriented Programming December 2006

BACHELOR IN COMPUTER APPLICATIONS
Term-End Examination

CS72: C++ AND OBJECT ORIENTED PROGRAMMING

Time: 2 hours
Maximum Marks: 60

Note : Question number 1 is compulsory. Answer any three questions from the rest.

December 2006

1. (a) Explain any five advantages of Object Oriented Programming. (5)

(b) Explain the need of inheritance and list any three advantages of it. (5)

(c) Explain the purpose of the following with a suitable example of each : (6) (i) Use Case Diagram
(ii) Interaction Diagram

(d) Write C++ code to create a class date. Using this class, calculate the age of a person as on the current date. (5)

(e) List the various restrictions with operator overloading. Write a C++ program to illustrate the overloading of increment operator. (9)

2. (a) Define the term exception handling. Write a program to raise an exception if an attempt is made to divide a number by zero. (6)
Give output of the following :
{
int a=10, b=20, d;
d=b++;
cout<<d<<b;
d=++a;
cout<<d<<a;

3. (a) Explain the purpose of function overloading. Write a C++ program that uses a function to check whether a given number is divisible by another number or not. Give proper comments whether the denominator number is a prime number or not. (8)

(b) Explain briefly static data members. (2)

4. (a) Define a friend function. Explain the relation of friend function with respect to Public, Private and Protected data members of the class. (5)

(b) Write a C++ program to find the sum of all digits in a five digit number. (For example, if given number is 12345 then the output is 1+2+3+4+5=15). (5)

5. Define the following with an example of each : (10)
(i) this pointer
(ii) Destructor
(iii) Typecasting
(iv) Abstract class
(v) Param eterized Constructor

Most popular pages

Business Schools - Engineering Colleges - Medical & Nursing Admissions - BEd in Distance mode - Journalism & Media Studies - IGNOU

Search this site

Enter a detailed keyword. Ex: Question Papers of Indira Gandhi National Open University MCA Ist Semester