Thapar University 2006 B.E Computer Science Object Oriented Programming - Question Paper
Thapar Institute of Engineering & Technology
B.Tech CS (2nd Year)
Final Term exam
CS003 (Object Oriented Programming)
Thapar Institute of Engineering and Technology, Patiala Computer Sc. And Engineering Dept. BEIM Computer Science Course no: CS003 Course Title: Object Oriented Programming Date 08/12/06 Time 2.00 pm - 5.00 pm Max Marks 36
Instructor: Vinod K Bhalla
Note : Examples should be in C++ only
Q1. Write short note on the following.
i) Static binding
ii) This pointer
iii) Friend functions
iv) streams (2*4)
Q2. How an exception is different from an error in C++? How an exception can be handled in C++? Give example. (7)
Q3. What are the advantages of using object oriented technologies over structured programming ? Discuss in detail. (7)
Q4. What are pure virtual functions? Explain the main features of virtual functions. (7)
Q5. Develop a class IntArray in C++ corresponding to integer array available in C++ along with all possible operations and methods (7)
Attachment: |
Earning: Approval pending. |