CS-16 Object Oriented System June -2001
Question Paper of Semester no. v CS-16 Object Oriented System June -2001
Qusl(a) For each of the following systems
1. Chess Player
2. Remote controlled Machine
3. Electronic type writer
4. Software to mail Merge
5. Telephone answering Machine.
Identify the relative importance of three aspects of modeling:
i. Object Modeling
ii. Dynamic Modeling
iii. Functional Modeling
Explain your answer.
Ql(b) Print out which statements in the following C++ Code fragment violate the access control mechanism for class X of class Y:
class X
{
private:
intl;
void pvt _X();
protected: int j;
void prot _xO;
public: int k;
void pub _X(int, int);
};
class Y: public X
{
char C;
};
Xx;
Yy;
x.i=10;
x.k=15;
y.prot_X();
y.pub_X(5,10);
};
Qnsl© Define the following terms with examples:
i. Abstract Data Type
ii. Polymorphism
iii. Inheritance
iv. Templates

