0% found this document useful (0 votes)
6 views3 pages

23ADX08 JavaProgramming QB

The document is a question bank for a Java Programming course at Erode Sengunthar Engineering College, covering various topics such as Java basics, object-oriented programming, exception handling, I/O, generics, and JavaFX. It includes both Part A and Part B questions, with varying Bloom's taxonomy levels for assessment. The questions are designed to evaluate students' understanding and application of Java programming concepts and techniques.
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)
6 views3 pages

23ADX08 JavaProgramming QB

The document is a question bank for a Java Programming course at Erode Sengunthar Engineering College, covering various topics such as Java basics, object-oriented programming, exception handling, I/O, generics, and JavaFX. It includes both Part A and Part B questions, with varying Bloom's taxonomy levels for assessment. The questions are designed to evaluate students' understanding and application of Java programming concepts and techniques.
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

ERODE SENGUNTHAR

ENGINEERING COLLEGE
(An Autonomous Institution)
Approved by AICTE, New Delhi, Permanently Affiliated to Anna University- Chennai,
Accredited by National Board of Accreditation (NBA), New Delhi &
National Assessment and Accreditation Council (NAAC), Bangalore with ‘A’ Grade
PERUNDURAI -638 057, TAMILNADU, INDIA

DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND DATA SCIENCE


23ADX08 – JAVA PROGRAMMING
QUESTION BANK
UNIT 1- INTRODUCTION TO JAVA PROGRAMMING
PART A
[Link] QUESTION MARK BLOOMS
S LEVEL
1. Name the access modifiers in Java. 2 RE
2. What are inline function? Give example. 2 UN
3. List the Features of Object Oriented Programming. 2 RE
4. Justify why Java Language is Platform Independent. 3 EV
PART – B
Analyze the statement “Java is portable” with respect to the role
1. AN
of JVM, JRE, and JDK in program execution. 14
Compare and contrast for, while, and do-while loops in Java
2. 14 AN
with examples demonstrating their typical use cases.
Critically evaluate the effectiveness of Java operators
3. (arithmetic, relational, logical, and bitwise) in solving real-world 14 EV
problems with suitable examples.
Develop a Java Program to demonstrate method overloading and
4. 14 AP
method overriding

UNIT 2 – OOPS INTRODUCTION AND 4 PILLERS


[Link] QUESTION MARK BLOOMS
S LEVEL
1. Identify method overriding with an example. 2 AP
Demonstrate how a subclass can call a constructor defined by
2. 2 AP
it’s superclass?
3. Mention the use of constructor overloading. 2 UN
4. Define inheritance. 2 RE
PART B
Select Encapsulation in Java using getter and setter methods
1. with an example program to manage employee details. 14 AP
Explain the characteristics of single, multilevel, hierarchical, and
hybrid inheritance in Java, and describe which types are not
2. directly supported along with the reasons 14 UN
Write a Java program to create and use default, parameterized,
3. 14 AP
and copy constructors for a class named Book.
Explain abstraction in Java through the use of abstract classes
4. and interfaces, describing their structural and functional UN
14
differences and giving examples
UNIT 3 – EXCEPTION HANDLING AND MULTI THREADTING
PART A
[Link] QUESTION MARK BLOOMS
S LEVEL
1. Outline the differences between unchecked exceptions and
2 UN
checked exceptions.
2. Summarize the need for handling exceptions in java? 2 UN
3. What is thread pool? 2 UN
4. Name the methods used by java for inter process communication
2 EV
to avoid pooling.

PART B
Develop a Java program to demonstrate multiple catch clauses
1. by handling ArithmeticException and ArrayIndexOutOfBounds 14 AP
Exception in a single program.
Examine how separate catch blocks for FileNotFoundException
and IOException influence exception handling in Java when
2. 14 AN
reading a file. Analyze the program’s flow by implementing and
testing a Java program that demonstrates these differences
Present an outline of Java’s Multi threading [Link] ouline
3. 14 AP
the two ways to create a thread.
Apply how thread synchronization is managed in java with
4. 14 AP
example code.
UNIT 4 – I/O, GENERICS AND STRING HANDLING
PART A
1. What are Streams? 2 UN
2. Why Parameterized types are important 2 AN
3. List any four methods associated with basic string class 2 RE
4. What is String buffer class 2 UN
PART B
1. Develop a Java program to copy the contents of one file 7 CR
([Link]) to another file ([Link]) while simultaneously
converting all lowercase letters to uppercase. Justify the use of
specific I/O classes in your implementation.
2. Write a generic method named findMax that takes an array of 7 AP
Comparable objects and returns the maximum element.
Demonstrate its usage with an array of integers and an array of
strings.
3. Compare and analyse the String and StringBuffer classes in Java 7 AN
with respect to mutability, performance, and use cases. Support
your answer with short code examples to demonstrate
differences in behavior.
4. Discuss about generic classes and generic methods in Java 7 UN
5. Present an Outline of FileInputStream and FileOutputStream Class. 7 UN
6. Develop a Java Program for parameterized bounds. 7 CR
7. Apply the String handling functions to compare the two string and 7 AP
reverse the string
8. Name and outline the constructors define by StringBuffer with code 7 RE
fragment
UNIT 5 – JAVA FX EVENT HANDLING, CONTROLS AND COMPONENT
PART – A
1. What is JavaFX? 2 UN
2. Write a note on HBox and VBox 2 CR
3. Why JavaFx preferred to building internet application? 2 UN
4. List the Features of JavaFX 2 RE
PART – B
1. Discuss Life cycle of a Java FX Application 7 AN
2. Explain JavaFX Application Structure 7 UN
3. Analyse the difference between Event Handling using Lambda 7 AN
Expressions and using EventHandler interfaces in JavaFX.
Provide suitable code examples to highlight performance,
readability, and flexibility differences.
4. Examine the differences between ComboBox, ChoiceBox, and 7 AN
ListView controls in JavaFX with respect to functionality, data
handling, and user interaction. Support your analysis with small
code examples.
5. Develop a JavaFX GUI layout for a student registration form 7 CR
using a combination of GridPane and HBox/VBox layouts. The
form should contain labels, text fields, a ComboBox, and a
submit button. Explain how you structured the layout hierarchy
for responsiveness.
6. Design a JavaFX application with a MenuBar containing “File”, 7 CR
“Edit”, and “Help” menus. Include relevant MenuItems (e.g.,
New, Open, Exit) and attach event handlers to perform
appropriate actions (e.g., showing alerts or closing the app).
Explain how the menu system is integrated into the stage and
scene.
7. Create a JavaFX application that allows the user to select 7 CR
multiple hobbies using CheckBoxes, select gender using
RadioButtons, and choose a country from a ComboBox. When a
button is clicked, display all the selected values in a TextArea.
Provide the full code and explain how event handling is applied.

8. What is a Button? Name and outline types of buttons JavaFX 7


Provides with visual presentation RE

Course Coordinator HOD/AI&DS

You might also like