The document outlines the structure and content of the End Term Examination for the Fourth Semester BCA course in July 2023, focusing on Java Programming. It includes various questions on topics such as final keywords, thread states, constructor overloading, multithreading, and exception handling. Students are required to attempt five questions, including a compulsory question, within a 3-hour time frame for a maximum of 75 marks.
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)
4 views2 pages
End Term Examination: (BATCH 2021 0NWARDS)
The document outlines the structure and content of the End Term Examination for the Fourth Semester BCA course in July 2023, focusing on Java Programming. It includes various questions on topics such as final keywords, thread states, constructor overloading, multithreading, and exception handling. Students are required to attempt five questions, including a compulsory question, within a 3-hour time frame for a maximum of 75 marks.
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/ 2
(Please write your Exam RollNo.) Exam Roll No.
o421
END TERM ExAMINATION
FoURTH SEMESTER (BCA] JULY 2023 Paper Code: BCA-202 Subject: Java Programming (BATCH 2021 0NWARDS) Time: 3 Hours Maximum Marks: 75 Note: Attempt flve questions in all including Q. No. 1 which is compulsory.
Angwer the following (2.5x10=25)
Discuss three usage of final keywords. b Mention various states of thread. Give suitable example. e How the constructor is overloaded in Java? How multithreading is achieved in Java. Explain its advantages and disadvantages. e) Why Java is called type safe language as compared toC++. What are the roles of Java compiler and interpreter? Explain Why the main function is declared as "Public static void main (String args |)"? How does java byte code differ from other machine level codes? What is the use of this, final and super keyword in Java. Ä Discuss process of synchronization of a thread with suitable example. a) What is constructor? Does Java provide default constructor? Explain your answer with suitable example. (8.5) b) Explain in details the features of Java. (4) Q3 a) Explain the concept of abstract classes in Java with suitable example. How abstract classes differ from interface. (9.5) b) What are interfaces? What are their benefits? Give the general form of a class that implements interfaces. (3) Q4 a) Explain different access modifiers available in Java. (6) b) Differentiate between checked and unchecked exception. Write a program to illustrate user defined exception. (6.5) Q5 a) Explain the life cycle of threads. Also explain different ways of creating threads in java. (6.5) b) Write a program to print the table of any no. inside the applet. (6)
a) Discuss various Layout Managers available in AWT. (6.5)
b) Differentiate between Swing and AWT. (6)
Q7 a) How is method overloading different from mnethod overriding? Give
suitable example. (5) b) Write short notes on the following: (7.5) Adapter class ii) Applet and application program ii) Check box and choice list P.T.0.
Bca-202 [-2-]
What is JDBC? Explain all JDBC drivers in detail.
b) Write short notes on Java Servlet. (7.5) (5) a Explain the following term with respect to exception handling. (8.5) i) Try ii) Catch ii) Finally iv) Throw b) Differentiate between JDBC and ODBC. (4) *****t****k