(Pages3) N-2955
Reg. No.
Name.
Third Semester [Link]./B.C.A. Degree Examination, March 2022
Career Related First Degree Programme Under CBCSS
Group 2(b) -
Computer Science/Computer Applications
Core Course
CS 1341/CP 1344: PROGRAMMING IN JAVA
(2019&2020Admission)
Time: 3 Hours Max. Marks : 80
PART A (Very Short Answer Questions)
Answer all questions. Each question carries 1 mark.
1. Name any one feature of Java.
2. Expand AWT.
Write two library Font class functions in Java.
3.
4. What is bytecode?
5. What is a class path?
6.
6. What is the use of import statement?
7 Write syntax of try catch statement?
8 What do you mean by abstract class?
P.T.O.
9 What is a thread?
10. What do you mean by exception?
(10x 1 10 Marks)
PART B (Brief Answer Questions)
Answer any eight questions. Each question carries 2 marks.
11. Write Java program to find sum of n
numbers using class.
on inner classes.
12 Write notes
13 Mention about array declaration in Java.
14. Write notes on features of Java.
15. What do you mean by logical operators?
What do you mean by applets? Write syntax to define an applet in Java.
16
17. What are the various Exception classes in Java?
18 Write note on any four String class methods?
19. Write about <applet> tag.
20. Write Java program to add two complex numbers.
21. What is the use of swing classes?
22.
22. Write Java program to implement method overriding.
23. Write notes on Event handlers in Java.
24. How to declare objects in Java?
25. What are the differences between exceotion and errors?
26. Mention about any four built in Java
26 classes?
(8 x 2 16 Marks)
N-2955
2
C (Short Essay Type Questions)
PART
Answer any six questions. Each question carries 4 marks.
27. Describe the operators in Java.
28. Explain any two AWT controls in Java.
29. Explain any four features of object-oriented programming language.
30 Write short note on packages.
31. Explain data types in Java.
32. Differentiate betweens object and class with example.
33. Write short note on the history of java.
34. Explain the concept of method overloading.
35. Explain final' keyword in Java.
36. Write notes on stream classes.
37. Write short note on graphics class in Java.
38. Explain the use of constructors in java.
(6x4 24 Marks)
PART D (Long Essays)
Answer any two questions. Each question carries 15 marks.
39 Briefly explain various layout managers in Java.
40. Explain various control statements in Java.
41. Discuss on the concept of interfaces in Java.
Java.
42. Explain exception handling in
with example.
43. Explain the use of 'super keyword
44. Write a Java program to implement concept of multithreading.
(2 x 15 3 0 Marks)
N-2955