| Want to join in a course? Need suggestions? Visit CollegeZones.com |
|
Home / Test Papers / IGNOU / CC16 Introduction To C++ CC16 Introduction To C++ December 2005 | Ask a question Print this page |
BACHELOR IN COMPUTER APPLICATIONS
Term-End Examination
December, 2005
CC16 (S) : INTRODUCTION TO C++
Time: 2 hours
Maximum Marks: 75
1. (a) Students across the country apply for the admission to BCA programme of a University. The following are the
eligibility conditions for admission:
(i) An applicant should be 10+2
(ii) She/he must have studied Mathematics in 10+2. If not, such students need to pursue an extra course "CI" in addition to the courses of BCA.
After the last date of receipt of applications for admission to BCA, the applications will be examined and the merit list would be finalised. As per the merit list, the offer letters for admission to BCA will be sent to the students by the University.
Design appropriate classes including constructors, destructors and necessary functions for the generation of merit list. Also, write suitable main() function. Make assumptions, wherever necessary. (15)
(b) With the help of an example program. explain the use of operator overloading in C++ programs. (5)
(c) Write a program in C++ that accepts the name of a file as input and prints the number of lines in it. Define necessary classes. (5)
(d) What is the difference between Multiple Inheritance and Multi-level Inheritance ? Give an example for each. (5)
2. (a) How is object-oriented programming different from procedural programming ? Explain the features of object-oriented programming languages. (7)
Write a program in C++ for addition of two matrices A and B. Write appropriate classes. (8)
3. (a) With the help of an example program, explain the concept of a virtual function. (6)
(b) Write a program in C++ that generates the "PAY-SLIPS" for employees of an organisation. Your class design should include at least one abstract class. (9)
4. (a) Write at least two advantages of Templates. Give an example. (5)
(b) Write a program in C++ that accepts an integer in decimal format and convert this to its octal equivalent. (10)
5. (a) Write the syntax for the declaration of a template in C++. Demonstrate its use with an example. (5)
(b) Define dynamic binding. Explain it with an example. (5)
(c) Write at least two differences between subclass and superclass. (5)
Business Schools - Engineering Colleges - Medical & Nursing Admissions - BEd in Distance mode - Journalism & Media Studies - Forensic Science
Enter a detailed keyword. Ex: Question Papers of IGNOU MCA Ist Semester