Adv Java Programming - Final Qs Bank
Adv Java Programming - Final Qs Bank
S. No Questions
Unit-1
1. Summarize the Java buzzwords and four editions of Java with suitable example.
2. Write a java program to define a class student with data members like name, rollno, age, gender, sub1,
and sub2. Defines appropriate methods to initialize and displays the values of data members also
calculates total marks, percentage and grade by the ‘n’ number of students.
Note: get the values at run time with corresponding objects. Write the sample output with all the
operations.
3. Implement the calculator operation using Interface. Create an Interface named arithmetic has declared
methods add, sub, mul, div and mod with their method signature as access modifier is public by default,
void return type and two int / float arguments as their parameters.
Write the sample output with all the above operations.
4. Implement the stack operations using Interfaces with 10 different values to get in run time.
5. Implement the matrix addition, subtraction and multiplication using Arrays.
6. Summarize the types of Inheritance with different examples for each type.
7. Discuss the Common Scenarios of Java Exceptions with suitable example.
8. Summarize the Java Built-in Exceptions with suitable example.
9. Demonstrate with diagram for Thread Life Cycle model and its Life Cycle methods with suitable example.
10. Classify how many ways to create a thread. Write all the types with suitable example with output.
Unit-2
1. Implement Event Handling operations using the classes like ActionListner, MouseListner and
MouseMotionListener.
2. Identify the GUI features and Technology in details.
3. List and explain the need for Java Foundation Classes (JFC) with suitable example.
4. Describe the Common Elements of Graphical User Interfaces in details with neat diagram.
5. Create a student marks card using Java Bean class.
6. Create a new Bean class for any applications using BDK.
7. Describes the JFC architecture with neat diagram in details.
Unit-3
1. Identify the need for Database Applications with JDBC Layout.
2. Summarize with neat sketch for Relational Database in details.
3. Describe the best practices for programming for Databases in details.
4. Classify the types of JDBC drivers with neat diagram and advantages and disadvantages of each driver.
5. Implement the steps to connect Ms-Access database using JDBC driver with employee details and output.
6. List and explain the SQL to Java Type Mapping in details.
7. Implement to display Date & Time using SQL Data Types.
8. Describe the need for java.sql API package in details.
9. Identify the need Coding Transactions in database. Classify the important functions in Transaction
Management in details.