Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
16 views

Java 2

This document is an exam for a Java Programming course. It contains 11 questions split into 2 parts - Part A and Part B. Part A contains 10 short answer questions covering Java concepts like variables, packages, exceptions, threads, and GUI components. Part B contains longer questions asking students to explain concepts in more detail, like inheritance, interfaces, I/O, exceptions, threads, data structures, and swing components. Students must answer all of Part A and choose one question from each unit in Part B.

Uploaded by

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

Java 2

This document is an exam for a Java Programming course. It contains 11 questions split into 2 parts - Part A and Part B. Part A contains 10 short answer questions covering Java concepts like variables, packages, exceptions, threads, and GUI components. Part B contains longer questions asking students to explain concepts in more detail, like inheritance, interfaces, I/O, exceptions, threads, data structures, and swing components. Students must answer all of Part A and choose one question from each unit in Part B.

Uploaded by

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

Code No: 154BE R18

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD


B. Tech II Year II Semester Examinations, April/May - 2023
JAVA PROGRAMMING
JN
(Common to CSE, IT)
Time: 3 Hours Max. Marks: 75

Note: i) Question paper consists of Part A, Part B.


TU
ii) Part A is compulsory, which carries 25 marks. In Part A, Answer all questions.
iii) In Part B, Answer any one question from each unit. Each question carries 10 marks
and may have a, b as sub questions.
H
PART – A
(25 Marks)
U
1.a) What is variable? [2]
b) Explain the usage of ‘final’ keyword. [3]
se
c) Define a Package? [2]
d) Write a short note on Byte stream. [3]
e) Explain about built in exceptions. [2]
d
f) Write a short note on thread priorities. [3]
g) Discuss about Array deque. [2]
h) Write a short note on Scanner class. [3]
pa
i) What is adapter class? [2]
j) Write a short note on swing. [3]

PART – B
pe
(50 Marks)

2.a) Explain the ‘for’ loop with an example.


rs
b) Write a short note on any two string handling functions. [5+5]
OR
3. What is inheritance? Explain different types of inheritances. [10]
20
4. Explain the concept of interface with an example program. [10]
OR
5. Demonstrate the Reading console Input and Writing Console Output with an example.
23
[10]

6. Explain about the following:


a) Checked exceptions
b) Unchecked exceptions. [5+5]
OR
7.a) Write a short note on thread life cycle.
b) Discuss about thread based multitasking. [5+5]
8. Briefly explain about the following:
a) Linked List
b) Tree set. [5+5]
JN
OR
9. Write a short note on:
a) Priority Queue
b) Hashtable. [5+5]
TU
10. Briefly explain about the following:
a) Card Layout
b) JScroll Pane. [5+5]
H
OR
11.a) Explain any two swing controls.
b) Write a Java program to demonstrate the handling Mouse events. [5+5]
U
se
---ooOoo---
d
pa
pe
rs
20
23

You might also like