Total Pages – 2
BSC 5th Semester Examination, 2026
Programming in Java
(Practical)
PAPER – COSHDSE1
Full Marks: 20 Time: 2 Hours
The figures in the margin indicate full marks.
Candidates are required to give their answers
in their own words as far as practicable.
GROUP-A
Answer any one question from the following on a lottery basis .
15 X 1=15
1. Write a program in Java to override a function.
2. Write a program in Java to show multiple inheritances.
3. Write a program in Java to generate n prime numbers.
4. Write a program in Java to print a multiplication table
using a function MUL ().The function should be written
in a package built by you.
5. Write a Java Program that uses Try/ Catch Block?
6. Write a Java Program to print Fibonacci’s Series?
[Turn Over]
(2)
7. Write a Java Program whether entered string or word or
format is a palindrome or not?
8. WAP to create Arithmetic Math Calculator Using Applet
Class ant Event Handling.
9. WAP to draw the line, Rectangle, oval, text using the
graphics method.
10. WAP to create a frame Window Using Frame Class.
[Laboratory Note Book : 2, Viva-Voce : 3]
___________________________