Community Sites
Create your own community website and start earning today !
It's Free !
 
Communities Members BookmarksPolls Fresher Jobs Funny Photos B.Tech Projects New Member FAQ  



My Profile
Active Members
TodayLast 7 Days more...



Awards & Gifts
Online Exams

Fresher Jobs


Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi

Resources


Find educational articles, blogs, discussion threads and other resources.

Colleges


Find details about any college in India or search for courses.

website counter




Download Model question papers & previous years question papers

Posted By: jegadesh       Member Level: Gold       Posted Date: 08 Dec 2007

2006 Anna University B.E Computer Science CS1204 – OBJECT ORIENTED PROGRAMMING Question paper



Course: B.E Computer Science   University: Anna University




B.E. /B/Tech. DEGREE EXAMINATION,
NOVEMBER/DECEMBER 2006
Third Semester
Computer Science and Engineering
CS1204 – OBJECT ORIENTED PROGRAMMING
(Common to Information Technology and B.E. (Part – Time) Second Semester
Regulation 2005)
(Regulation 2004)
Time: Three hours Maximum: 100 Marks Answer ALL
questions
PART A – (10 ´ 2 = 20 marks)
1. Name the mechanism that binds together code and the data it manipulates.
2. What is the application of the scope resolution operator: in C++?
3. What are the two parts of a class specification?
4. What is an operator function? Describe the syntax of an operator function.
5. Why is it necessary to include the file iostream in all our programs?
6. Name the two ways in which a file can be opened.
7. What is default for methods in Java?
8. What is the need for Java virtual machine?
9. What is a package?
10. What is an exception?
PART B – (5 ´ 16 = 80 marks)
11. (a) Explain the following concepts of object oriented programming:
(i) Data abstraction
(ii) Inheritance
(iii) Polymorphism and
(iv) Objects
In detail with an example. (16)
(b) (i) List out any five merits of object oriented methodology.

(ii) Compare and contrast the following control structures with
example.
If ….else statement and switch statement and do ….. while and the while
statement.
12. (a) Write a program to overload = operator. Assign values of data members of one
object to another object of the same type.
Or
(b) Write a C++ program using inheritance to implement the following.
A newspaper agent pays two variant rates for the delivery of newspapers. A
delivery boy can earn RS. 2 on a morning delivery but only Rs. 1.50 on an evening
delivery. Boys are salaried either for a morning delivery or for an evening paper round
but not for both. Read(Input) the code for round (0 for morning and 1 for evening) and
the number of total paper rounds in one week done by a boy and compute his earning and
display it.
13. (a) Write a program to write and read data in a file using object I/O functions write
( ) and read ( ). Declare class with data members name [2]
m int bill no, int _amount
debited and int received _ amount and in balance. Add 10 records and display the list of
persons with balances. The user should have a facility to modify the existing records.
(16)
Or
(b) (i) Describe the various file modes and its syntax. (6)
(ii) Discuss the need for exception with try, catch and throw keywords. (10)
14. (a) Write short notes on the following:
Final class, abstract class, modifier final, inner classes.
Or
(b) (i) State the rules for creating an identifier in Java.
(ii) Discuss about the reference variable array and the primitive data types byte,
long, double. (10)
15. (a) Discuss how interface is implemented in Java with an example. (16)
Or
(b) What is a thread? State how synchronization is dealt while using multithreading.
(16)





Return to question paper search

Next Question Paper: CS1204 – OBJECT ORIENTED PROGRAMMING

Previous Question Paper: GE1301-PROFESSIONAL ETHICS AND HUMAN VALUES

Related Question Papers:


  • PROGRAMMING AND DATA STRUCTURES


  • CS1301 – DATABASE MANAGEMENT SYSTEMS


  • Advance Digital Signal Processing


  • EC 1362 Microprosser and Microcontroller


  • CS 1251 - COMPUTER ARCHITECTURE


  • 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.







    Watch TV Channels
  • Watch Asianet TV online
  • Kairali TV in Internet
  • Surya TV online
  • Amritha TV Channel

  • Contact Us    Privacy Policy    Terms Of Use   

    SpiderWorks Technologies Pvt Ltd. 2006 - 2007 All Rights Reserved.