0% found this document useful (0 votes)
8 views4 pages

Java Programming Exam Questions Guide

Uploaded by

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

Java Programming Exam Questions Guide

Uploaded by

rajamanikyam444
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

BCS5BO8 - JAVA PROGRAMMING

QUESTIONS FROM PREVIOUS YEAR QUESTION PAPERS

Unit I – OOPS Concepts


1.​ Define OOP. (2)​

2.​ What is Object? (2)​

3.​ What is a class? (2) (Repeated)​

4.​ What is polymorphism? (2) (Repeated)​

5.​ What is mean by state in OOPS? Explain. (2)​

6.​ List out various characteristics of Object-Oriented languages. (3)​

7.​ Compare and contrast between Object Oriented and Procedure Oriented programming.
(5) (Repeated)​

8.​ What are the features of object orientation? (5)​

9.​ List the applications of object-oriented programming. (5)​

10.​Features of object orientation - attributes, state, identity, operation, behaviour →​


Indirectly covered by: “What are the features of object orientation?” (5)​

Unit II – Core Java Basics


1.​ What is Java? (2)​

2.​ Explain how Java is platform independent. (3/2) (Repeated)​

3.​ What is JVM? (2) (Repeated)​


4.​ What is bytecode? (2)​

5.​ What is an Array? (2)​

6.​ What is Method Overloading? (2)​

7.​ Differentiate between Method Overloading and Method Overriding. (5/10) (Repeated)​

8.​ What is the use of keyword ‘extends’ in Java? (2)​

9.​ Explain various type of access specifiers in Java. (5)​

10.​What do you mean by constructor in Java? (3/2) (Repeated)​

11.​Define JDK. (2)​

12.​Explain interfaces in Java. (10)​

13.​Explain arrays in Java. (10)​

14.​What is the use of break statement? (2) (Repeated)​

15.​Differentiate between return and continue. (5)​

16.​What are the uses of final keyword? (5)​

Unit III – Exceptions, I/O, Threads


1.​ What is Exception? (2)​

2.​ Explain Exception Handling in Java. (10)​

3.​ What is the Exception Hierarchy in Java? (5)​

4.​ Explain how user defined exceptions are handled in Java with example. (11)​

5.​ What is the difference between throw and throws? (5)​

6.​ Why is finally block used? (2)​


7.​ When an exception occurs but not handled by the catch block, what can we do? (2)​

8.​ Write a Java program to perform different types of Exception Handling. (5)​

9.​ Write a note on Buffered Streams. (3)​

10.​Write Java program to copy content of a file to another. (5)​

11.​How to create a File Object? (2)​

12.​What is the File Class? (3)​

13.​Explain detail JDBC interfaces and classes in Java. (5) (Also fits Unit IV – JDBC,
repeated across units)​

14.​What is JDBC? (2)​

15.​What are character streams in Java? (5)​

16.​Differentiate between Process and Thread. (3)​

17.​What is Processes? Explain. (2)​

18.​What is ‘runnable’ interface? (2)​

19.​What are the advantages of using Threads? (5)​

Unit IV – Database Connectivity & Applets


1.​ What are the JDBC statements? (3)​

2.​ What are the different required Steps for creating a new Database using JDBC
application? (2)​

3.​ Introduction to JDBC interfaces/classes. (5) (Repeated)​

4.​ Write a note on File Class, Buffered Streams, Dynamic method dispatch. (10)​
- File Class (3)​
- Buffered Streams (3)​
- Dynamic method dispatch (4)​
5.​ What is Applet? (3/2) (Repeated)​

6.​ Briefly explain the life cycle of Applets. (3)​

7.​ Write a Java program to create an Applet which displays human face. (5)​

8.​ Explain various types of applets. (5)​

9.​ What are the parameters of Applet tag? (5)​

Unit V – Events & GUI (AWT)


1.​ What is an Event? (2)​

2.​ Write short note on event handling in Java. (3)​

3.​ What is an event classes in AWT ? Explain ActionEvent. (2)​

4.​ What is delegation event model? (5)​

5.​ Explain AWT hierarchy. (5)​

6.​ What are the various AWT components? (3)​

7.​ What is AWT? (2)​

8.​ What is FontMetrics? (2)​

9.​ How to create and use Graphics in Java program? Write a program to draw a Polygon.
(5)​

You might also like