Download Model question papers & previous years question papers

Posted Date: 14 Dec 2007      Posted By:: Jagadeesan. D    Member Level: Silver  Points: 5 (₹ 1)

2007 Anna University Chennai B.E. Computer Science CS1204 – Object Oriented Programming Question paper



Course: B.E. Computer Science   University/board: Anna University Chennai





B.E / B.Tech. DEGREE EXAMINATION, NOV / DEC -2007.

Third Semester

Computer Science & Engineering

CS1204 – Object Oriented Programming

Part – A (10 x 2 = 20 Marks)

1. What is object oriented paradigm?
2. What is the use of the scope resolution operator :: in C++?
3. What are operators of C++ that cannot be overloaded?
4. How does constructor differ from normal functions?
5. What is the default access mode for class members?
6. What is an I/O stream?
7. What is the type of class for which objects cannot be created?
8. What type of inheritance is supported in Java?
9. What is java virtual machine?
10. What is multithreading?
Part – B (5 x 16 = 80 Marks)

11. (a) (i) Explain object-oriented paradigm with all its essential elements.
(ii) State the merits and demerits of object oriented methodology.
Or
(b) Explain the following concepts of object oriented programming in detail with an
example.
(i) Data abstraction
(ii) Inheritance
(iii) Polymorphism
(iv) Objects.
12. (a) (i) Write a C++ program to extract the elements placed in the odd position of the
array.
(ii) State the rules to be followed while overloading an operator. Write a program to illustrate overloading.
Or
(b) (i) Discuss about polymorphism and its advantages.
(ii) Write a C++ program that will give the conditions of environment required,
food habits and unique characteristics of pet animals fish and dog. Define a
base called pet that describe any common household pet; two derived classes called fish and dog with items specific to that type of animals. Write pure virtual functions in the base class for operations that are common to both types of animals. Write a program to test the usage of classes.
13. (a) (i) Explain the 4 functions seekg, seekp, tellg, tellp used for setting pointers during file operation and show how they are derived from fstream class.
(ii) Write a program to append to the contents of a file.
Or
(b) (i) Write a program to write the text in a file. Display the contents of file in
reverse order.
(ii) What are the keywords used in C++ for exception handling? Describe their
usage with suitable example.
14. (a) (i) Explain the interface concept in Java.
(ii) Write a Java Program to compute the area of rectangle and square using interface.




Or
(b) (i) Compare the features of C++ Versus Java.
(ii) Give an example that fits the following inheritance hierarchy.
Write a Java program to implement this example.
15. (a) Explain about exception handling in Java with suitable examples.
Or
(b) What is a thread? State how synchronization is dealt while using multithreading.



16. (a) Explain how to create a toolbox for your application.
Or
(b) Explain SDI and MDI applications in detail.
17. (a) Write down the steps of MFC OLE drag and drop processing with a neat diagram.
Or
(b) (i) Explain the steps involved in the creation of active X control. (Marks -8)
(ii) Highlight the features of COM (Marks -8)
18. (a) Explain how database connectivity can be achieved using ODBC. Write necessary coding and also write coding to query the database.
Or
(b) Write an MFC Automation client program.






Return to question paper search

Next Question Paper: CS1253 - Visual Programming

Previous Question Paper: power systems-1

Related Question Papers:


  • CS1352 – Principles of Complier Design - VI Sem


  • MG1351 – PRINCIPLES OF MANAGEMENT


  • MG1351 – PRINCIPLES OF MANAGEMENT


  • CS044 – MULTIMEDIA


  • CS044 – MULTIMEDIA


  • Categories


    Submit Previous Years University Question Papers and make money from adsense revenue sharing program

    Are you preparing for a university examination? Download model question papers and practise before you write the exam.


    Looking for University or College admissions in India for 2023 - 2024 Academic Year?

    APPLY NOW
    Top Contributors
    TodayLast 7 Daysmore...

    Awards & Gifts
     
    Promoted by: SpiderWorks Technologies Pvt Ltd, Kochi - India. © All Rights Reserved.