0% found this document useful (0 votes)
0 views

Java

This document is an examination paper for Java Programming at Malla Reddy College of Engineering & Technology, detailing the structure and content of the exam. It consists of two parts: Part A with compulsory questions worth 25 marks, and Part B with five sections, each requiring one question from each unit, totaling 50 marks. The questions cover various Java concepts including variables, garbage collection, classes, interfaces, exception handling, and AWT components.

Uploaded by

Mrcet Exambranch
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views

Java

This document is an examination paper for Java Programming at Malla Reddy College of Engineering & Technology, detailing the structure and content of the exam. It consists of two parts: Part A with compulsory questions worth 25 marks, and Part B with five sections, each requiring one question from each unit, totaling 50 marks. The questions cover various Java concepts including variables, garbage collection, classes, interfaces, exception handling, and AWT components.

Uploaded by

Mrcet Exambranch
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

R15

Code No: R15A0507


MALLA REDDY COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous Institution – UGC, Govt. of India)
II B.Tech I Semester Supplementary Examinations, November 2017
Java Programming
(ME)
Roll No

Time: 3 hours Max. Marks: 75


Note: This question paper contains two parts A and B
Part A is compulsory which carriers 25 marks and Answer all questions.
Part B Consists of 5 SECTIONS (One SECTION for each UNIT). Answer FIVE
Questions, Choosing ONE Question from each SECTION and each Question carries
10 marks.

PART – A (25 Marks)


1. (a) Discuss scope and lifetime of variables. (2)
(b) Elucidate garbage collection in Java. (3)
(c) Differentiate a class and an interface. (3)
(d) Discuss the significance of a CLASSPATH. (2)
(e) List the benefits of exception handling. (2)
(f) Differentiate multithreading and multitasking. (3)
(g) Explain event delegation model. (3)
(h) Demonstrate AWT hierarchy. (2)
(i) List the differences between applets and an application. (3)
(j) What are the limitations of AWT. (2)

PART – B (50 Marks)


SECTION – I

2. a) Explain constructor and method overloading with an example. (10)


(OR)
3. a) Describe the buzz words of java. Also write brief overview of java. (5)
b) What are objects? How are they created from a class? (5)

SECTION – II

4. a) Demonstrate the use of super keyword with a suitable example. (5)


b) What is interface? Write a program to demonstrate how interfaces can be
extended. (5)
(OR)
5. a) What is package? How do you create a package? Explain about the access
protection in packages? (5)
b) What is a stream? What is the difference between byte streams and character streams?
How are they used to capture input from the user? (5)
SECTION – III

6. a) Illustrate an example for try catch block. (5)


b) Why thread is called light weight task and process heavy weight task. (5)
(OR)
7. Explain how threads with different priorities execute in environment which
supports priorities and which doesn’t support priorities. (10)

SECTION – IV

8. a) Explain about different event classes. (5)


b) Discuss any two Layout managers. (5)
(OR)

9. What are the methods supported by Mouse Listener interface? Explain each of them with
an example. (10)

SECTION – V

10. a) Write a simple applet program to display a string “India won by 6 wickets”. (5)
b) Discuss any two swing components. (5)
(OR)
11. Explain AWT class hierarchy with an example of AWT button. (10)

*******

You might also like