This document outlines the end-term examination for the Fourth Semester BCA in June 2024, focusing on Java Programming. It includes a paper code, duration, maximum marks, and instructions for attempting questions, with a compulsory question and selections from various units. The questions cover topics such as Java features, inheritance, exception handling, file handling, threading, and JDBC architecture.
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 ratings0% found this document useful (0 votes)
28 views1 page
4th Sem-1
This document outlines the end-term examination for the Fourth Semester BCA in June 2024, focusing on Java Programming. It includes a paper code, duration, maximum marks, and instructions for attempting questions, with a compulsory question and selections from various units. The questions cover topics such as Java features, inheritance, exception handling, file handling, threading, and JDBC architecture.
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
You are on page 1/ 1
END TERM EXAMINATION
FoURTH SEMESTER BCA] JUNE- 2024
|Paper Code: BCA-202 Subject: Java Programming Time: 3 Hours Maximum Marks: 75 |Note: Attempt five questions in all including Q.no. 1which is compulsory. Select one question from each untt. Ql Answer the following: (2.5 x 10=25) (a) What are the key differences between Java and C++? (b) Explain different types of access specifiers availablc in Java? (c) Explain the features of Java. (d) How Garbage Collection is achieved in Java? (e) State the purpose of Static block. () Explain checked and unchecked exceptions. (g) Explain Adapter Class. (h) What is the use of Super and final keyword? (i) Differentiate abstract class and interface. (i) What is the difference between int and integer. Unit -I Q2 (a) What is a constructor? Write a program to show constructor overloading. (6) (b) Write a program to show 5 string methods. What is a StringBuffer class? (6.5) Q3 Explain Java architecture in brief. What are the types of applications in Java? (12.5) Unit -II Q4 (a) What is inheritance? Write a program to show multilevel (b) Explain the usage of interface in Java? Give an inheritance. (6) interface. example of a class which implements Q5 (a) What is (6.5) package? How to use two different packages in a Java class? Give (b) Explain exception handling with suitable example. (6) throws? example. Differentiate between throw and Unit -III (6.5) Q6 (a) What are the byte and character streams in file {b) Write a program to read and write handling? (6) the content of a file in text mode. (6.5) Q7 Explain the life cycle of Thread and methods to implement thread with suitable code. Unit -V (12.5) Q8 (a) Create a login form using Swing Controls. (b) What are the different types of (6) Layout Managers? (6.5) Q9 Explain the JDBC Architecture. What is JDBC Driver and Connection statement? (12.5) k