Java
Java
C20-CM-WD– 502
*
7636
BOARD DIPLOMA EXAMINATION (Inst.), (C-20)
JULY—2023
DCME – FIFTH SEMESTER EXAMINATION
JAVA PROGRAMING
Time : 3 hours ] [ Total Marks : 80
PART—A 3×10=30
8. Write any three most common types of exceptions that might occur in
Java.
What is an Applet?
*
/7636 1 [ Contd...
PART—B 8×5=40
*
(1) Answer
Instructions : all questions.
(2) Each question carries eight marks.
(3) Answers should be comprehensive and criterion for
valuation is the content but not the length of the answer.
11. (a) List and explain primitive data types of Java. 2+6
(OR)
(OR)
13. (a) Write a program to read and write lines of text through console
input and output streams. 8
(OR)
(b) Explain the ArrayList class by writing a program that uses add()
and remove() methods. 8
14. (a) Describe the concept of synchronization with an example program. 3+5
(OR)
(b) Write a program to make use of try and catch blocks to handle an
arithmetic exception. 8
*
/7636 2 [ Contd...
PART—C 10×1=10
*
Instructions : (1) Answer the following question.
(2) The question carries ten marks.
(3) Answer should be comprehensive and the criterion for
valuation is the content but not the length of the answer.
*
/7636 3 AA23(013)-PDF