Exam Details

Subject object oriented programming using c++
Paper
Exam / Course m.sc. computer science
Department
Organization solapur university
Position
Exam Date 16, November, 2017
City, State maharashtra, solapur


Question Paper

M.Sc. (Semester (CBCS) Examination Oct/Nov-2017
Computer Science
OBJECT ORIENTED PROGRAMMING USING
Day Date: Thursday, 16-11-2017 Max. Marks: 70
Time: 10.30 AM to 01.00 PM
Instructions: Question no. 1 and 2 are compulsory.
Attempt any 3 questions from Q. no. 3 to Q. no. 7
Figures to the right indicate full marks.
Q.1 Choose correct alternatives. 10
What does your class can hold?
Data Function
Both a b None of these
Which of the following is used to terminate the function declaration?


are the basic run-time entities in an object-oriented
system.
Class Inheritance
Operator Object
The operator is known operator.
Extraction Insertion
Increment Bit-wise
is a superset of language.
HTML VB
C BASIC
Which of the following correctly declares an array?
int array; int array[10];
arrary{10}; array
Which of the following is not a type of constructor?
Copy Default
Friend Parameterized
Which of the following approach is adapted by
Top down Bottom-up
Right-left Left-right
Which concept means waiting until runtime to determine which
function to call?
Data hiding Dynamic casting
Dynamic binding Dynamic loading
10) Which among following is not a valid visibility mode in program?
Private Public
Protected Limited
Page 2 of 2
SLR-MG-287
State True or False. 04
Constants refer to fixed values that do not change during the
execution of a program.
A reference variable provides an alias for previously defined variable.
does not allow function overloading.
A virtual function cannot be a friend of another class.
Q.2 Write short notes of the following. 08
i. Enumerated type
ii. inline function
Answer the following 06
i. What is algorithm? Explain the characteristics of algorithm.
ii. What is structure? Explain the difference between structure and
union.
Q.3 Answer the following.
Write is Array of objects? Explain with suitable example. 07
Write a program to solve quadratic equation. Where if discriminate
negative then print roots are imaginary and either discriminate zero or
positive then calculate roots.
07
Q.4 Answer the following.
What is constructor? Explain the use of parameterized constructor with
example.
07
Write a program print the Transpose of matrix of order 3 X 3. 07
Q.5 Answer the following.
What is operator overloading? Explain the procedure to overload the
operator with syntax and suitable example.
07
What is inheritance? Explain Single inheritance with suitable example. 07
Q.6 Answer the following.
What is virtual function? Explain the rules for virtual functions. 07
Write a program to implement function overloading (Assume your
own data).
07
Q.7 Answer the following.
What is stream? Describe briefly he features of I/O system supported by

07
Explain the procedure of opening and closing the file with syntax and
example.


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