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.
|
Download Model question papers & previous years question papers
|
Posted By: yamini Member Level: Gold Posted Date: 10 May 2008
|
2007 Jawaharlal Nehru Technological University B.Tech Computer Science & Engineering II II CSE Oops through Java Aug/sep 2007 set IV Question paper
|
|
|
Code No: R05220402 Set No. 4 II B.Tech II Semester Supplimentary Examinations, Aug/Sep 2007 OOP THROUGH JAVA ( Common to Electronics & Communication Engineering, Computer Science & Engineering, Information Technology, Computer Science & Systems Engineering, Electronics & Telematics and Electronics & Computer Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ? ? ? ? ? 1. (a) java is freeform language. Comment (b) Describe in detail the steps involved in implementing a stand-alone program. (c) What are command line arguments? How are they useful? [4+6+6] 2. (a) What is the dierence between equality of objects and equality of objects and equality of references that refer to them? (b) What is the dierence between a public member and a private member of a class? (c) write an application that computes the value of ex by using the formula: ex = 1 + x/1! + x2/2! + x3/3! + .......... [4+4+8] 3. Create an inheritance hierarchy of Rodent: Mouse, Gerbil, Hamster, etc. In the base class, provide methods that are common to all Rodents, and override these in the derived classes to perform dierent behaviors depending on the specific type of Rodent. Create an array of Rodent, fill it with dierent specific types of Rodents, and call your base-class methods. Explain the output. [16] 4. Create three interfaces, each with two methods. Inherit a new interface from the three, adding a new method. Create a class by implementing the new interface and also inheriting from a concrete class. Now write four methods, each of which takes one of the four interfaces as an argument. In main( ), create an object of your class and pass it to each of the methods. [16] 5. (a) What is the meaning of rethrowing an exception? When it is useful. (b) What are the limitations of exception handling feature of java. [8+8] 6. (a) What is Delegation Event model? Explain it. What are its benefits? (b) Define Event. Give examples of events. Define event handler. How it handles events. [8+8] 7. Create an applet with two toolbars. One toolbar should be created using JButtons and a separator and another toolbar should be created using 3 custom Action classes. Add one to the ”north” and another to the ”south” sides of border layout. When the user clicks one of the buttons in the toolbar, it will print a message to the console stating that which button is being pressed from which toolbar. Add functionalities to the buttons such as New, Open, Close, Save, Cut, Copy, Paste. [16] 8. What do you mean by URL? How to create an URL? Explain several methods provided by URL? Give appropriate examples. [4+4+8]
Return to question paper search
|
|
|
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 onlineKairali TV in InternetSurya TV onlineAmritha TV Channel
|