You are here: Home > Computer Science CSE
All posts from

R05220402 Oop Through Java B.Tech Question Paper : djriet.edu.in

Name of the College : Dasari Jhansi Rani Institute Of Engineering And Technology
University : JNTUK
Department : Computer Science And Engineering
Subject Code/Name : R05220402 – Oop Through Java
Year : 2008
Degree : B.Tech
Year/Sem : II/II
Website : djriet.edu.in
Document Type : Model Question Paper

Oop Through Java II Year II Sem Regular Apr/May 2008 : https://www.pdfquestion.in/uploads/djriet.edu.in/2977-R05220402-OOP-THROUGH-JAVA.pdf
Oop Through Java II Year Supple Aug/Sep 2008 : https://www.pdfquestion.in/uploads/djriet.edu.in/2977–R05220402-OOP-THROUGH-JAVA.pdf
Oop Through Java II Year I Sem Supple Nov  2008 : https://www.pdfquestion.in/uploads/djriet.edu.in/2977__RR210502-OBJECT-ORIENTED-PROGRAMMING-THROUGH-JAVA.pdf

DJRIET OOP Through Java Question Paper

II B.Tech II Semester Regular Examinations, Apr/May 2008 :
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 :

Related : Dasari Jhansi Rani Institute Of Engineering And Technology RR220503 Operating Systems & Systems Programming B.Tech Question Paper : www.pdfquestion.in/2975.html

Set – I

All Questions carry equal marks :
1. (a) Describe the genesis of java. Also write brief overview of java
(b) Write a program that will read an unspecified number of integers and will determine how many positive and negative values have been read. Your program ends when the input is 0. [8+8]
2. (a) What is a constructor? What are its special properties?
(b) How do we invoke a constructor?
(c) What are objects? How are they created from a class? [6+4+6]
3. (a) Explain about final classes,final methods and final variables?
(b) Explain about the abstract class with example program? [8+8]
4. Prove that the fields in an interface are implicitly static and final. [16]
5. (a) Why thread is called light weight task and process heavy weight task.
(b) What are the different things shared by different threads of a single process. What are the benefits of sharing?


(c) Is multithreading suitable for all types of applications. If yes explain any such application. If no, explain any application for which multithreading is not desired. [4+4+8]
6. What are the methods supported by KeyListener interface and MouseListener interface. Explain each of them with examples. [8+8]
7. Explain the functionality of JComponent with example. Differentiate JComponent and JPanel. [8+8]
8. (a) What are accessor methods?
(b) How will you create strings and stringbuffers? How will you modify them?

Set – II

1. (a) Describe the genesis of java. Also write brief overview of java.
(b) Write a program to convert the given temperature in Fahrenheit to Celsius using the following conversion formula C = (F – 32)/1.8 And display the values in a tabular form. [8+8]
2. (a) What is the purpose of using a method? How do you declare a method? How do you invoke a method?
(b) What is method overloading? Can you define two methods that have same name but different parameter types? Can you define two methods in a class that have identical method names and parameter profile with different return value types or different modifier ? [8+8]
3. Add a new method in the base class of Shapes.java that prints a message, but don’t override it in the derived classes. Explain what happens. Now override it in one of the derived classes but not the others, and Explain what happens. Finally, override it in all the derived classes, Explain in detail about each situation. [16]
4. (a) What is a package? How do we design a package?
(b) How do we add a class or interface to a package? [8+8]
5. (a) Define multithreading. Give an example of an application that needs multithreading.
(b) How multithreading in single processor system is different from multithreading in multiprocessor system. Explain. [6+10]
6. Write a java program which creates human face. [16]
7. What are various JFC containers? List them according to their functionality. Explain each of them with examples. [16]
8. (a) Discuss briefly about the following TCP, UDP, URL
(b) What is InetAddress? How to create an InetAddress? What is its use? [8+8]

Leave a Reply

How to add comment : 1) Type your comment below. 2) Type your name. 3) Post comment.

www.pdfquestion.in © 2021

Contact Us   Privacy Policy   SiteMap