Exam Details
Subject | c++ and object oriented programming | |
Paper | paper 19 | |
Exam / Course | b.c.a | |
Department | ||
Organization | Nalanda Open University | |
Position | ||
Exam Date | 2016 | |
City, State | bihar, patna |
Question Paper
Nalanda Open University
Annual Examination 2016
Bachelor in Computer Application Part-III
Paper-XIX And Object Oriented Programming
Time: 3.00 Hrs. Full Marks: 100 (80 20)
(Answer any four questions. All questions carry equal marks.)
l. What are objects? How do objects interact with each other and with the
external interfaces? Describe with the help of a diagram.
2. Create a class student containing data members as Roll-no, Stu_name,
Stu_address, Stu_class, Stu_dob, Stu_percentage. Include member
functions to accomplish the following:
Accept student details from the user.
Calculate the student age from his birth year.
Assign grade to the student as follows:
Grade percentage criteria
A Percentage 3 90%
B 90 percentage 80%
C 80 percentage 70%
D -70 percentage 60%
E percentage 60
Write appropriate main function for the above.
3. What is Inheritance? What are the different visibility modes observed while
deriving a class from a base class. Write a program in to implement
multiple inheritance.
4. Write a program in to overload the operator to concatenate two
strings.
5. What are virtual functions and pure virtual functions? Explain their utility
with the help of an example.
Annual Examination 2016
Bachelor in Computer Application Part-III
Paper-XIX And Object Oriented Programming
Time: 3.00 Hrs. Full Marks: 100 (80 20)
(Answer any four questions. All questions carry equal marks.)
l. What are objects? How do objects interact with each other and with the
external interfaces? Describe with the help of a diagram.
2. Create a class student containing data members as Roll-no, Stu_name,
Stu_address, Stu_class, Stu_dob, Stu_percentage. Include member
functions to accomplish the following:
Accept student details from the user.
Calculate the student age from his birth year.
Assign grade to the student as follows:
Grade percentage criteria
A Percentage 3 90%
B 90 percentage 80%
C 80 percentage 70%
D -70 percentage 60%
E percentage 60
Write appropriate main function for the above.
3. What is Inheritance? What are the different visibility modes observed while
deriving a class from a base class. Write a program in to implement
multiple inheritance.
4. Write a program in to overload the operator to concatenate two
strings.
5. What are virtual functions and pure virtual functions? Explain their utility
with the help of an example.
Other Question Papers
Subjects
- c programming and data structure
- c++ and object oriented programming
- communicative english
- computer fundamentals and pc software (cs-611)]
- computer networks
- computer organisation
- database management system
- element of system analysis and design
- foundation course in english for computing
- foundation course in humanities and social sciences
- foundation course in social and environmental science
- fundamental course in science and technology
- fundamental of it
- intranet administration
- introduction to computer organization
- introduction to internet programming
- introduction to software engineering
- introduction to system software
- multimedia
- pc software and office automation
- pc software skills, cs - 612
- programming methodology using c
- rdbms lab
- system analysis and design
- tcp/ip programming
- theory of computer science
- windows programming