Members Bookmarks Fresher Jobs Strange Photos Academic 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.

Paid Surveys


website counter



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 II II CSE Oops through Java Aug/sep 2007 set I Question paper



Course: B.Tech   University: Jawaharlal Nehru Technological University




Code No: R05220402 Set No. 1
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) How does String class di er from the StringBu er class?
(b) Write program to do the following: [6+10]
i. To output the question “who is the inventor of java”?
ii. To accept an answer
iii. To print out “Good” and then stop, if the answer is correct.
iv. To output the message “try again”, if the answer is wrong
v. To display the correct answer when the answer is wrong even at the third
attempt.
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 di erent behaviors depending on the specific type of
Rodent. Create an array of Rodent, fill it with di erent specific types of Rodents,
and call your base-class methods. Explain the output. [16]
4. Write a program to create a class with a non default constructor and no default
constructor. Create a second class that has a method which returns a reference to
the first class. Create the object to return by making an anonymous inner class
that inherits from the first class. [16]
5. In JAVA, is exception handling implicit or explicit or both. Explain with the help
of example java programs. [16]
6. (a) How event driven programming is di erent from Procedure oriented program-
ming.
(b) Give overview of Java’s event handling mechanism. [6+10]
7. What are containers? List various containers. Explain the usage of JPanel with
example. [4+4+8]
8. (a) How does Random class generate pseudo random numbers?
(b) Write a program to generate a set of random numbers. Find its sum and
average. The program should also display * based on the random numbers
generated. [8+8]





Return to question paper search

Next Question Paper: II II CSE Oops through Java Aug/sep 2007 set I

Previous Question Paper: II II CSE Oops through Java Aug/sep 2007 set II

Related Question Papers:


  • COMPUTER ORGANIZATION setno3


  • E-COMMERCE


  • FLUID MECHANICS


  • ELECTRONIC MEASUREMENTS AND INSTRUMENTATION (Supplimentary Examinations, Aug/Sep 2007)


  • II II common for all(except ECE) environmental studies Aug/sep 2007 set I


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


    Contact Us    Privacy Policy    Terms Of Use   

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