Semester : SEMESTER 5
Subject : Web Programming Using PHP
Year : 2021
Term : NOVEMBER
Branch : COMPUTER SCIENCE
Scheme : 2020 Full Time
Course Code : BCS 5B 09
Page:2
10.
11.
12.
19.
14.
15.
16.
18.
19.
20.
21.
22.
23.
14147
2 D 10135
Say True or False :
The finally block is executed when an exception is thrown, even if no catch matches it.
Say True or False :
The suspend () method is used to terminate a thread.
(10 x 1 = 10 marks)
Part B
Answer all questions.
Each question carries 2 marks.
Differentiate between break and continue statements in Java.
What is object ? How it differs from class ?
Explain the use of try . . . catch block in Java.
What are the typical uses of JDBC ?
How will you create and execute applets in Java ?
(5 x 2 = 10 marks)
Part C
Answer any five questions.
Each question carries 4 marks.
Explain switch statement with example.
Differentiate between method overloading and method overriding with example.
Distinguish between interface and polymorphism.
What is thread? Explain how it is implemented in Java.
Explain how do you represent a URL in Java.
Explain the structure of AWT.
Describe the steps for creating packages in Java.
Explain the major tasks of input and output stream classes.
(5 x 4 = 20 marks)
14147