Exam Details
Subject | object oriented programming and c++ | |
Paper | ||
Exam / Course | b.sc. (cs)/b.sc. (cs) (lateral) | |
Department | ||
Organization | Alagappa University Distance Education | |
Position | ||
Exam Date | May, 2016 | |
City, State | tamil nadu, karaikudi |
Question Paper
DISTANCE EDUCATION
B.Sc. (Computer Science)/B.Sc. (Computer Science) (Lateral)
DEGREE EXAMINATION, MAY 2016.
OBJECT ORIENTED PROGRAMMING AND
(2007 onwards)
Time Three hours Maximum 100 marks
Answer any FIVE questions.
All questions carry equal marks.
20 100)
1. Write a detailed note on various data types
supported by with example.
Discuss the basic concepts of object oriented
programming in detail.
2. Explain the concept of declaring and defining
member function in a class with an example.
Describe the working of Inline function with simple
example program.
3. Illustrate the working of any four string
manipulation functions with examples.
Explain the use of constructor and destructor with
examples.
4. Write a note on function overloading concept with
an example.
Write a program to demonstrate the concept of
binary operator overloading.
Sub. Code
23
DE-3398
2
wk12
5. Explain the different types of inheritance in detail.
Write a program to prepare the pay bill using
inheritance.
6. Explain the concept of virtual function with a
sample program.
Define a class complex. Using this class, overload
operator to add two complex numbers.
7. What is a pointer? Explain the use of this pointer
with example program.
With a suitable example show how a friend function
can act as a bridge between two classes.
8. What is virtual base class? Explain with simple
program.
Discuss the static and dynamic binding with
examples.
B.Sc. (Computer Science)/B.Sc. (Computer Science) (Lateral)
DEGREE EXAMINATION, MAY 2016.
OBJECT ORIENTED PROGRAMMING AND
(2007 onwards)
Time Three hours Maximum 100 marks
Answer any FIVE questions.
All questions carry equal marks.
20 100)
1. Write a detailed note on various data types
supported by with example.
Discuss the basic concepts of object oriented
programming in detail.
2. Explain the concept of declaring and defining
member function in a class with an example.
Describe the working of Inline function with simple
example program.
3. Illustrate the working of any four string
manipulation functions with examples.
Explain the use of constructor and destructor with
examples.
4. Write a note on function overloading concept with
an example.
Write a program to demonstrate the concept of
binary operator overloading.
Sub. Code
23
DE-3398
2
wk12
5. Explain the different types of inheritance in detail.
Write a program to prepare the pay bill using
inheritance.
6. Explain the concept of virtual function with a
sample program.
Define a class complex. Using this class, overload
operator to add two complex numbers.
7. What is a pointer? Explain the use of this pointer
with example program.
With a suitable example show how a friend function
can act as a bridge between two classes.
8. What is virtual base class? Explain with simple
program.
Discuss the static and dynamic binding with
examples.
Other Question Papers
Subjects
- application programs
- computer graphics
- internet programming
- lab ii — (c++ programming)
- lab iii — application programs
- lab iv (visual basic and oracle)
- lab v — java programming
- object oriented programming and c++
- operating systems
- rdbms
- visual programming