Exam Details
Subject | object oriented programming using c++ | |
Paper | ||
Exam / Course | m.c.a | |
Department | ||
Organization | solapur university | |
Position | ||
Exam Date | December, 2018 | |
City, State | maharashtra, solapur |
Question Paper
M.C.A. (Semester II) (CBCS) Examination Nov/Dec-2018
Science
OBJECT ORIENTED PROGRAMMING USING C
Time: 2½ Hours Max. Marks: 70
Instructions: Question No. 1 and 2 are compulsory.
2) Attempt any 3 questions from Q. no. 3 to Q. no. 7.
3) Figures to the right indicate full marks.
Q.1 Choose correct alternatives. 10
1) Which one is not a correct variable type in C float real
c) int double
2) What is the only function all C programs must contain?
a) start() system()
c) main() program()
3) Which of the following is not a type of constructor?
a) Copy constructor Friend constructor
c) Default constructor Parameterized constructor
4) Which of the following is not the member of class?
a) Static function Friend function
c) Const function Virtual function
5) How many types of polymorphisms are supported by C 1 2
c) 3 4
6) Which of the following ways are legal to access a class data member
using this pointer?
a) this->x this. x
c) *this. x *this-x
7) When a class serves as base class for many derived classes, the situation
is called
a) Polymorphism Hierarchical inheritance
c) Hybrid inheritance Multipath inheritance
8) In OOP, which concept provides the idea of reusability? Z
a) Inheritance Encapsulation
c) Data hiding Polymorphism
9) Variables declared outside a block are called Global Universal
c) Stellar External
10) What is correct about the static data member of a class?
a) A static member function can access only static data members of a
class
b) A static data member is shared among all the objects of the class
c) A static data member can be accessed directly from main( Both a and b
b) Fill in the blanks. 04
1) variable stores the memory address of another variable.
2) A is a special member function used to initialize the data
member of a class.
3) The default access for members of a class is An identifier should not be a Write short notes on the following. 08
1) Default arguments
2) Inline function
b) Answer the following. 06
1) Explain the use of scope resolution operation with example.
2) Explain types of memory management operators.
Q.3 Answer the following. 14
a) What do you mean by operator overloading? Explain with suitable example.
b) Explain various concepts of Object Oriented Programming.
Q.4 Answer the following. 14
a) What is function overloading? Explain with suitable example.
b) Write a C program to implement single inheritance
Q.5 Answer the following. 14
a) Explain the difference between structure and class in detail.
b) Write a C program to demonstrate Friend function.
Q.6 Answer the following. 14
a) What is arrays of objects? Explain with suitable example.
b) Write C program to implement parameterized constructor.
Q.7 Answer the following. 14
a) What are the different data types used in C What are exceptions? How they are handled in C
Science
OBJECT ORIENTED PROGRAMMING USING C
Time: 2½ Hours Max. Marks: 70
Instructions: Question No. 1 and 2 are compulsory.
2) Attempt any 3 questions from Q. no. 3 to Q. no. 7.
3) Figures to the right indicate full marks.
Q.1 Choose correct alternatives. 10
1) Which one is not a correct variable type in C float real
c) int double
2) What is the only function all C programs must contain?
a) start() system()
c) main() program()
3) Which of the following is not a type of constructor?
a) Copy constructor Friend constructor
c) Default constructor Parameterized constructor
4) Which of the following is not the member of class?
a) Static function Friend function
c) Const function Virtual function
5) How many types of polymorphisms are supported by C 1 2
c) 3 4
6) Which of the following ways are legal to access a class data member
using this pointer?
a) this->x this. x
c) *this. x *this-x
7) When a class serves as base class for many derived classes, the situation
is called
a) Polymorphism Hierarchical inheritance
c) Hybrid inheritance Multipath inheritance
8) In OOP, which concept provides the idea of reusability? Z
a) Inheritance Encapsulation
c) Data hiding Polymorphism
9) Variables declared outside a block are called Global Universal
c) Stellar External
10) What is correct about the static data member of a class?
a) A static member function can access only static data members of a
class
b) A static data member is shared among all the objects of the class
c) A static data member can be accessed directly from main( Both a and b
b) Fill in the blanks. 04
1) variable stores the memory address of another variable.
2) A is a special member function used to initialize the data
member of a class.
3) The default access for members of a class is An identifier should not be a Write short notes on the following. 08
1) Default arguments
2) Inline function
b) Answer the following. 06
1) Explain the use of scope resolution operation with example.
2) Explain types of memory management operators.
Q.3 Answer the following. 14
a) What do you mean by operator overloading? Explain with suitable example.
b) Explain various concepts of Object Oriented Programming.
Q.4 Answer the following. 14
a) What is function overloading? Explain with suitable example.
b) Write a C program to implement single inheritance
Q.5 Answer the following. 14
a) Explain the difference between structure and class in detail.
b) Write a C program to demonstrate Friend function.
Q.6 Answer the following. 14
a) What is arrays of objects? Explain with suitable example.
b) Write C program to implement parameterized constructor.
Q.7 Answer the following. 14
a) What are the different data types used in C What are exceptions? How they are handled in C
Other Question Papers
Subjects
- .net
- artificial intelligence
- computer communication network
- computer graphics
- computer oriented statistics
- data mining and warehouse
- data structures
- dbms
- digital circuits and microprocessors
- digital image processing
- discrete mathematical structures
- distributed operating system
- finite automata
- fundamentals of web designing
- java programming
- management
- mobile computing
- network security
- numerical analysis
- object oriented programming using c++
- office automation (oet)
- operating system
- programming with php
- software engineering
- system software
- uml
- web design techniques