CS-16 Object Oriented System Dec 2002
Question Paper of CS-16 Object Oriented System Dec 2002
Q.l (a) Define the following terms with examples
(i) Short-circuit evaluation
(ii) Operator overloading
(iii) Friend classes and
(iv) User defined types functions
Qusl(b) Design a CALCULATOR class. The class should include functionalities like addition subtraction, multiplication and division etc.
Observe the following while designing classes
-Clearly indicate Public and private elements.
-Design Constructors and explain their purpose.
-Identify data structures and methods which can be inherited.
-Implementation should be in C++.