Exam Details
Subject | object oriented programming using c++ | |
Paper | ||
Exam / Course | m.sc. computer science | |
Department | ||
Organization | solapur university | |
Position | ||
Exam Date | April, 2017 | |
City, State | maharashtra, solapur |
Question Paper
M.Sc. (Computer Science) (Semester (CBCS) Examination, 2017
OBJECT ORIENTED PROGRAMMING USING
Day Date: Tuesday, 18-04-2017 Max. Marks: 70
Time: 10.30 AM to 01.00 PM
N.B. Q.1 and Q.2 is compulsory.
Attempt any three questions from Q. 3 to 7.
Figures to the right indicate full marks.
Q.1 Choose correct alternatives: 10
Constructors are called when?
a method is declared a class is declared
an object is declared None of these
Function overloading in is
a group function with the same name
all have the same members and type of arguments
Functions with same name and same numbers and type of
arguments
None of these
The process of building new classes from existing one is called
polymorphism structure inheritance cascading
Use of virtual function implies
overloading overriding
static binding dynamic binding
It is possible to declare as a friend
a member function a global function
a class all of these
Identify the operator that is not used with pointers
Exception handling is targeted at
run time error compile time error
logical error all of these
To enter a comment in a program you begin the comment
with
A function that is called automatically each time an object is
destroyed in a
Constructed Destructor Destroyer Terminator
Page 1 of 2
SLR-RG 329
10) Redirection redirects
a stream from a file to the screen
a file from a device to a stream
a device from the screen to a file
the screen from a device to a stream
State whether true or false: 04
A protected member of a base class cannot be accessed from a
member function of the derived class.
Data members of a class cannot be initialized in the class
definition.
The Operator can be overloaded.
In looping for loop is also known as entry controlled loop.
Q.2 Write short notes on the following: 08
Function Template.
Operator overloading.
Explain the following term: 06
Default argument.
Structure and classes.
Q.3 Answer the following:
What are manipulators? Explain with example endl and setw
manipulators.
What is meant by inheritance? Explain single inheritance with
example.
07
07
Q.4 Answer the following:
What is a constructor? Explain parameterized constructor with
example.
Write a program to overload unary minus operator.
07
07
Q.5 Answer the following:
Write a program to implement multi-level inheritance in which
take 'STUDENT' as base class and derive the class and
'RESULT' (Assume your own data variables).
Explain Virtual base class with example.
07
07
Q.6 Answer the following:
What is exception handler? What are the keywords used to handle
an exception in
What is meant by virtual function? Explain rules for virtual functions.
07
07
Q.7 Answer the following:
What is a stream? Explain the features of I/O system supported by
Write an object oriented program in to read a set of numbers
and store it as one dimensional array and find out largest and
smallest numbers.
OBJECT ORIENTED PROGRAMMING USING
Day Date: Tuesday, 18-04-2017 Max. Marks: 70
Time: 10.30 AM to 01.00 PM
N.B. Q.1 and Q.2 is compulsory.
Attempt any three questions from Q. 3 to 7.
Figures to the right indicate full marks.
Q.1 Choose correct alternatives: 10
Constructors are called when?
a method is declared a class is declared
an object is declared None of these
Function overloading in is
a group function with the same name
all have the same members and type of arguments
Functions with same name and same numbers and type of
arguments
None of these
The process of building new classes from existing one is called
polymorphism structure inheritance cascading
Use of virtual function implies
overloading overriding
static binding dynamic binding
It is possible to declare as a friend
a member function a global function
a class all of these
Identify the operator that is not used with pointers
Exception handling is targeted at
run time error compile time error
logical error all of these
To enter a comment in a program you begin the comment
with
A function that is called automatically each time an object is
destroyed in a
Constructed Destructor Destroyer Terminator
Page 1 of 2
SLR-RG 329
10) Redirection redirects
a stream from a file to the screen
a file from a device to a stream
a device from the screen to a file
the screen from a device to a stream
State whether true or false: 04
A protected member of a base class cannot be accessed from a
member function of the derived class.
Data members of a class cannot be initialized in the class
definition.
The Operator can be overloaded.
In looping for loop is also known as entry controlled loop.
Q.2 Write short notes on the following: 08
Function Template.
Operator overloading.
Explain the following term: 06
Default argument.
Structure and classes.
Q.3 Answer the following:
What are manipulators? Explain with example endl and setw
manipulators.
What is meant by inheritance? Explain single inheritance with
example.
07
07
Q.4 Answer the following:
What is a constructor? Explain parameterized constructor with
example.
Write a program to overload unary minus operator.
07
07
Q.5 Answer the following:
Write a program to implement multi-level inheritance in which
take 'STUDENT' as base class and derive the class and
'RESULT' (Assume your own data variables).
Explain Virtual base class with example.
07
07
Q.6 Answer the following:
What is exception handler? What are the keywords used to handle
an exception in
What is meant by virtual function? Explain rules for virtual functions.
07
07
Q.7 Answer the following:
What is a stream? Explain the features of I/O system supported by
Write an object oriented program in to read a set of numbers
and store it as one dimensional array and find out largest and
smallest numbers.
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