Exam Details
Subject | object oriented programming using c++ | |
Paper | ||
Exam / Course | m.sc. computer science | |
Department | ||
Organization | solapur university | |
Position | ||
Exam Date | October, 2018 | |
City, State | maharashtra, solapur |
Question Paper
M.Sc. (Semester (CBCS) Examination Nov/Dec-2018
Computer Science
OBJECT ORIENTED PROGRAMMING USING
iI
Time 2½ Hours Max. Marks: 70
Instructions: All questions are compulsory.
Figures to the right indicate full marks.
Q.1 Multiple choice questions 14
was invented by
Donald drum Ken Thompson
Bjarne stroustrup None of these
Constructors are called when
a method is declared a class is declared
an object is declared none of these
In operator, operator is called as
an insertion operator an extraction operator
scope resolution operator none of the above
The process of building new classes from existing one is called
Polymorphism Structure
Inheritance Cascading
It is possible to declare as a friend
a member function a global function
a class All of these
The scope resolution operator is
a comma a semicolon
a colon two colons
What is the function overloading?
calling a function from another function
having more than one functions of same name
calling a function from itself
there is no such item in
The operator used to allocate memory is
Mem Allocate
New Create
By default fields in a class are
Public Private
Protected None of these
10) Which of the following operators cannot be overload?
→ 8
11) Exception handling is targeted at
Run time error Compile time error
Logical error All of these
Page 2 of 2
SLR-VG-208
12) Identify the operator that is not used with pointers
→
13) The compiler converts your instructions into
Edited code Object code
Source code Translated code
14) To enter a comment in a program, you begin the comment with
Q.2 Answer the following (Any four) 08
What is manipulator? List the merits of manipulator.
What is the use of continue statement in
What is a preprocessor in
Explain in brief Input Output stream
Explain in brief inline function.
Write notes on (Any Two) 06
Function overloading
Constructor
Default arguments
Q.3 Answer the following (Any two) 08
What is a friend function? What are the merits and demerits of using
friend function?
Explain the features of object oriented programming.
Write a program to illustrate the use of object as function argument.
Answer the following (Any one) 06
When do we declare a member of a class as static?
Explain array of objects with an example.
Q.4 Answer the following (any two) 10
How polymorphism is achieved at compile time and run time?
Write a program to show how the unary minus operator is overloaded.
Explain virtual base class with example.
Answer the following (Any one) 04
When do we declare a member of a class as static? Why it is
necessary?
Explain with example a pointer to derived classes.
d
Q.5 Answer the following (Any two) 14
What is Template? Explain function template with example.
What is meant by virtual function? Explain rules for virtual functions.
Write a program containing a possible exception, use a try block to throw it
and a catch block to handle it properly.
Computer Science
OBJECT ORIENTED PROGRAMMING USING
iI
Time 2½ Hours Max. Marks: 70
Instructions: All questions are compulsory.
Figures to the right indicate full marks.
Q.1 Multiple choice questions 14
was invented by
Donald drum Ken Thompson
Bjarne stroustrup None of these
Constructors are called when
a method is declared a class is declared
an object is declared none of these
In operator, operator is called as
an insertion operator an extraction operator
scope resolution operator none of the above
The process of building new classes from existing one is called
Polymorphism Structure
Inheritance Cascading
It is possible to declare as a friend
a member function a global function
a class All of these
The scope resolution operator is
a comma a semicolon
a colon two colons
What is the function overloading?
calling a function from another function
having more than one functions of same name
calling a function from itself
there is no such item in
The operator used to allocate memory is
Mem Allocate
New Create
By default fields in a class are
Public Private
Protected None of these
10) Which of the following operators cannot be overload?
→ 8
11) Exception handling is targeted at
Run time error Compile time error
Logical error All of these
Page 2 of 2
SLR-VG-208
12) Identify the operator that is not used with pointers
→
13) The compiler converts your instructions into
Edited code Object code
Source code Translated code
14) To enter a comment in a program, you begin the comment with
Q.2 Answer the following (Any four) 08
What is manipulator? List the merits of manipulator.
What is the use of continue statement in
What is a preprocessor in
Explain in brief Input Output stream
Explain in brief inline function.
Write notes on (Any Two) 06
Function overloading
Constructor
Default arguments
Q.3 Answer the following (Any two) 08
What is a friend function? What are the merits and demerits of using
friend function?
Explain the features of object oriented programming.
Write a program to illustrate the use of object as function argument.
Answer the following (Any one) 06
When do we declare a member of a class as static?
Explain array of objects with an example.
Q.4 Answer the following (any two) 10
How polymorphism is achieved at compile time and run time?
Write a program to show how the unary minus operator is overloaded.
Explain virtual base class with example.
Answer the following (Any one) 04
When do we declare a member of a class as static? Why it is
necessary?
Explain with example a pointer to derived classes.
d
Q.5 Answer the following (Any two) 14
What is Template? Explain function template with example.
What is meant by virtual function? Explain rules for virtual functions.
Write a program containing a possible exception, use a try block to throw it
and a catch block to handle it properly.
Other Question Papers
Subjects
- .net technology
- artifical intelligence
- computer communication network
- data mining and warehouse
- data structures
- dbms
- digital image processing
- distributed operating system
- finite automata
- internet of things
- java programming
- linux operating system (oet)
- mobile computing
- network security
- numerical analysis
- object oriented programming using c++
- office automation (oet)
- operating system
- operations research
- soft computing
- software engineering
- software testing
- uml