Exam Details
Subject | object oriented programming using c++ | |
Paper | ||
Exam / Course | m.c.a.science | |
Department | ||
Organization | solapur university | |
Position | ||
Exam Date | November, 2017 | |
City, State | maharashtra, solapur |
Question Paper
M.C.A. (Semester-II) (CBCS) Examination Oct/Nov2017
Science
OBJECT ORIENTED PROGRAMMING USING
Day Date: Friday, 17-11-2017 Max. Marks: 70
Time: 10:30 AM to 01.00 PM
Instructions: Q.1 and Q.2 are compulsory Questions.
Attempt any Three Questions from Q .No 3 to No.7.
Figures to the right indicate full marks.
Q.1 Choose the correct alternatives: 10
Which of the following concepts means determining at runtime what
method to invoke?
Data hiding Dynamic Typing
Dynamic binding Dynamic loading
Which of the following cannot be friend?
Function Class
Object Operator function
Which of the following concepts provides facility of using object of one
class inside another class?
Encapsulation Abstraction
Composition Inheritance
Which of the following is correct about function overloading?
The types of arguments are different
The order of argument is different
The number of argument is same
Both A and B
Which of the following options is correct?
Friend function can access public data members of the class
Friend function can access protected data members of the class
Friend function can access private data members of the class.
All of the above
Which of the following operator is overloaded for object cout?
Which one is not a correct variable type in
float real
int double
Which of the following function are performed by a constructor?
Construct a new class Construct a new object
Construct a new function Initialize objects
Page 2 of 2
SLR-SM-12
Which of the following problem causes an exception?
Missing semicolon in statement in main
A problem in calling function
A syntax error
A run-time error
10) #include
main(
int
Printf("%d",
5 6
7 Compilation error
Fill in the blanks: 04
is not a operator in
A class is call as abstract base class if it has a pure virtual function.
Two or more function may have the same name, as long as their
parameter lists are same.
The two types of polymorphism are: Public Protected.
Q.2. Write short notes on the following. 08
Pure Virtual Function
Manipulators in
Answer the following: 06
Explain inline function with suitable example.
Explain with example the array of objects.
Q.3 Answer the following: 14
Write a program to check whether an integer is a prime or composite
number.
What are the copy constructors and explain their need?
Q.4 Answer the following: 14
What is the difference between a class and a structure?
Write a note on static member and member function. Write a program to
create the object of Student class and display total no. of students created.
Q.5 Answer the following: 14
Explain put( and get( function with suitable example.
Write a program to compute the square root of a number. The input
value must be tested for validity. If it is negative, the user defined function
mysqrt( should raise an exception.
Q.6 Answer the following: 14
What is template? Explain function template with suitable example.
Write a program in to generate Fibonacci series by overloading prefix
operator.
Q.7 Answer the following: 14
Explain dynamic memory allocation in
Explain Exception handling mechanism with one example.
Science
OBJECT ORIENTED PROGRAMMING USING
Day Date: Friday, 17-11-2017 Max. Marks: 70
Time: 10:30 AM to 01.00 PM
Instructions: Q.1 and Q.2 are compulsory Questions.
Attempt any Three Questions from Q .No 3 to No.7.
Figures to the right indicate full marks.
Q.1 Choose the correct alternatives: 10
Which of the following concepts means determining at runtime what
method to invoke?
Data hiding Dynamic Typing
Dynamic binding Dynamic loading
Which of the following cannot be friend?
Function Class
Object Operator function
Which of the following concepts provides facility of using object of one
class inside another class?
Encapsulation Abstraction
Composition Inheritance
Which of the following is correct about function overloading?
The types of arguments are different
The order of argument is different
The number of argument is same
Both A and B
Which of the following options is correct?
Friend function can access public data members of the class
Friend function can access protected data members of the class
Friend function can access private data members of the class.
All of the above
Which of the following operator is overloaded for object cout?
Which one is not a correct variable type in
float real
int double
Which of the following function are performed by a constructor?
Construct a new class Construct a new object
Construct a new function Initialize objects
Page 2 of 2
SLR-SM-12
Which of the following problem causes an exception?
Missing semicolon in statement in main
A problem in calling function
A syntax error
A run-time error
10) #include
main(
int
Printf("%d",
5 6
7 Compilation error
Fill in the blanks: 04
is not a operator in
A class is call as abstract base class if it has a pure virtual function.
Two or more function may have the same name, as long as their
parameter lists are same.
The two types of polymorphism are: Public Protected.
Q.2. Write short notes on the following. 08
Pure Virtual Function
Manipulators in
Answer the following: 06
Explain inline function with suitable example.
Explain with example the array of objects.
Q.3 Answer the following: 14
Write a program to check whether an integer is a prime or composite
number.
What are the copy constructors and explain their need?
Q.4 Answer the following: 14
What is the difference between a class and a structure?
Write a note on static member and member function. Write a program to
create the object of Student class and display total no. of students created.
Q.5 Answer the following: 14
Explain put( and get( function with suitable example.
Write a program to compute the square root of a number. The input
value must be tested for validity. If it is negative, the user defined function
mysqrt( should raise an exception.
Q.6 Answer the following: 14
What is template? Explain function template with suitable example.
Write a program in to generate Fibonacci series by overloading prefix
operator.
Q.7 Answer the following: 14
Explain dynamic memory allocation in
Explain Exception handling mechanism with one example.
Other Question Papers
Subjects
- .net
- artificial intelligence
- computer communication network
- computer graphics
- computer oriented statistics
- data mining and warehouse
- data structures
- database management system
- digital circuits and microprocessors
- digital image processing
- discrete mathematical structures
- distributed operating system
- finite automata
- introduction to computers
- java programming
- management
- mobile computing
- network security
- numerical analysis
- object oriented programming using c++
- opeartions research
- operating system
- pattern recognition mobile computing
- programming using - c
- programming with php
- software engineering
- system software
- uml
- web design techniques
- web technology