0% found this document useful (0 votes)
94 views1 page

Java Question Bank For Mid-2

The document is a question bank for a Java Programming exam covering 5 units: 1. Exceptions - Questions on checked and unchecked exceptions, built-in exceptions, and try/catch keywords. 2. Threads - Questions on creating threads using Thread class, thread life cycle diagram, inter-thread communication, thread priority. 3. Java Utilities - Questions on Java.util package classes/interfaces, reading/writing files using BufferedReader/FileWriter. 4. Applets - Questions on creating applets, passing parameters, delegation event model, and handling mouse events. 5. GUI Components - Questions on adapter class, label, button, text components, layout managers, differences between Swing

Uploaded by

Dev Darsh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views1 page

Java Question Bank For Mid-2

The document is a question bank for a Java Programming exam covering 5 units: 1. Exceptions - Questions on checked and unchecked exceptions, built-in exceptions, and try/catch keywords. 2. Threads - Questions on creating threads using Thread class, thread life cycle diagram, inter-thread communication, thread priority. 3. Java Utilities - Questions on Java.util package classes/interfaces, reading/writing files using BufferedReader/FileWriter. 4. Applets - Questions on creating applets, passing parameters, delegation event model, and handling mouse events. 5. GUI Components - Questions on adapter class, label, button, text components, layout managers, differences between Swing

Uploaded by

Dev Darsh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

KALLAM HARANADHAREDDY INSTITUTE OF TECHNOLOGY

(AUTONOMOUS)
II B TECH II SEMESTER (R20) I MID DESCRPTIVE EXAMINATIONS, MAY-2022
QUESTION BANK - 2
Subject: Java Programming R20
Common to: ECE Only

Course Code: 20ESC2205

Q. Questions Total
CO BTL
No. Marks
Unit-III (PART-B)
Explain different types of Checked and Unchecked exceptions with
i CO3 2
1. examples? 14M
ii Write JAVA programs for any six Built-in exceptions? CO3 3
i Discuss usage of try, catch, throw, throws and finally keywords? CO3 2
2. 14M
ii Write a Java program for creating own exception subclass? CO3 3
Unit-IV
i Explain creating multiple threads using Thread class? CO4 2
3. 14M
ii Explain Thread Life Cycle with a neat diagram? CO4 2
i Explain Inter Thread Communication with an example? CO4 2
4. 14M
ii Define Thread priority? Write a Java Program for Thread Priority? CO4 1
i Describe Java.Util package and its classes and Interfaces? CO4 2
5. 14M
ii Write a Java Program to read from a file using BufferedReader class CO4 3
Explain BufferedOutputStream, BufferedWriter,and FileReader
i CO4 2
6. classeses with examples? 14M
ii Write a Java Program to write to a File using FileWriter class CO4 3
Unit-V
i Explain Creating applets with example programs? CO5 2
7. Discuss how to pass passing parameters to applets with an example 14M
ii CO5 2
program?
Define delegation event model. What are the different event classes
i CO5 1
8. explain? 14M
ii Write a Java Program for Handling Mouse Events? CO5 3
i Explain Adapter class with an example program? CO5 2
9. ii Explain Label, Button, TextField and TextArea components with CO5 2 14M
examples?
i Define LayoutManager? What are different LayoutManagers? Explain CO5 1
with examples?
10. 14M
ii Differentiate between swings and AWT ? Write a Java Program for CO5 3
creation of ImageIcon and JLabel?

You might also like