= Sach]
BSc. DEGREE EXAMINATION, NOVEMBER 2019
‘Second Semester
\UcS18201 - OBJECT ORIENTED PROGRAMMING USING CH
(arte cand ite daring th adem ear 20182019 ar)
‘Time: Three hours
Answer ALL Questions
PART A (10x2= 20 Marks)
‘What is a class?
‘Write down the evolution of C++.
Write the syntax of ‘iP statement
Define: Polymorphism,
5. What do you mean by function overloading?
List the operators that cannot be overloaded.
‘What are the advantages of inheritance?
‘What ae input and output streams?
‘What are derived and base classes?
10. Define ile
PART ~B (Sx 16=80 Marks)
11,8, What ae the key concepts of OOP? Explain.
oR)
b. Discuss the unformatted console UO operations.
Peto rewaucsint
‘Max. Matks: 100
BB.
a,
e202
‘What are tokens in C+? Explain.
(or)
Compare ‘while" loop and “do... while” loop statements in
cH,
‘What do you understand by constructor and destructor
used in C7 How are these functions different from other
saember functions?
(on)
How parameters are passed 10 functions? Explain through
anextmple,
Explain how is polymorphism achieved at compile time
and run ime
(or)
Discuss single inheritance and multiple inheritance.
How will you handle erots during file operations?
Explain
(oR)
List down the operations and explain the file stream
classes and methods that support file operations.