Code No: R1622052 R16 SET - 1
II B. Tech II Semester Regular/Supplementary Examinations, November - 2020
JAVA PROGRAMMING
(Com to CSE, IT)
Time: 3 hours Max. Marks: 70
Note: 1. Question Paper consists of two parts (Part-A and Part-B)
2. Answer ALL the question in Part-A
3. Answer any FOUR Questions from Part-B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PART –A
1. a) What is the significance of Java’s byte code? (2M)
b) What is an Object? How to allocate memory for objects? (3M)
c) What is a daemon thread? (2M)
d) List out the characteristics of the static method. (3M)
e) How does Java support inter thread communication? (2M)
f) What is a layout? (2M)
PART -B
2. a) List and explain Java buzzwords. Which factors are making Java famous (7M)
Language?
b) What is the role and responsibility of JVM in program execution? (7M)
3. a) Explain the use of ‘this’ keyword with an example. (6M)
b) Write a Java program to accepts a file name as command line argument and (8M)
finds the length of the longest line in the file and displays an error message if
the file does not exist.
4. a) What is the importance of Exception Handling in Java? Define and distinguish (8M)
between checked and unchecked exceptions.
b) What is the importance of CLASSPATH? Discuss. (6M)
5. a) Why constructors do not have any return type? Explain it with proper example. (7M)
b) Explain the synchronization of multiple threads in Java with an example. (7M)
6. a) Explain the event-handling mechanism in java with an example. (7M)
b) How to pass the parameters to an Applet? Explain with example. (7M)
7. a) Write a short note on the following (7M)
i) JFrame ii) JTabbedPane
b) Write a program to create a frame for a simple arithmetic calculator using (7M)
swing components and layout mangers.
1 of 1
||''|''||''||''''''|