D90101
D90101
FIFTH SEMESTER B.C.A. DEGREE EXAMINATION
NOVEMBER 2020
(CUCBCSS-UG)
B.C.A.
BCA 5B 07- JAVA PROGRAMMING
(2017 Admissions)
Time : Three Hours Maximum 80 Marks
Section A
Answer all questions.
Each question carries 1 mark.
1. What is a JVM?
2. What is meant by Encapsulation ?
3. What is finalize () method ?
4. What is the importance of finally block?
5. Which are the data types available in Java ?
6. Define constructor.
7. Define the terms : try, catch.
8. Write the usage of import statement.
9. What is the use of paint() method in Applet ?
10. Write a method to fill a rectangle with red color.
(10 x 1 = 10 marks)
Section B
Answer at least five questions.
Each question carries 3 marks.
All questions can be attended.
Overall Ceiling 15.
11. List any two built in packages from java API along with their use.
12. What is difference between multiprocessing & multithreading?
13. What is the difference between constructor and method ?
14. What is synchronization ? How do we achieve it ?
15. How do we add a class or interface to a package ?
16. Give the difference between method overloading and method overriding.
17. Give a note on interfaces.
18. What is Synchronization ?
(5 x 3 = 15 marks)
Section C
Answer at least five questions.
Each question carries 5 marks.
All questions can be attended.
Overall Ceiling 25.
19. Explain about event handling.
20. Write a note on inner classes.
21. Write a program to find the sum of n numbers in java.
22. Explain about the characteristics of OOPs.
23. How can we create a Polygon using Graphics class ?
24. Explain<PARAM> tag of applet with suitable example.
25. Describe the history of java.
26. Write the steps to create an applet program.
27. Explain about Stream classes in Java.
(5 × 5 = 25 marks)
Section D
Answer any three questions.
Each question carries 10 marks.
28. Write a JDBC program to update the balance in an account. Assume the suitable database table.
29. What is inheritance ? Explain the member access mechanism in inheritance with an example.
30. a) Explain the need of defining multiple catch clauses with example.
b) What is meant by nested try statement ? When will they be used ? Explain with example.
31. Which are the different methods to create a thread ? Explain with example.
32. Explain about different control statements in java.
(3 x 10 = 30 marks)
നിങ്ങൾക്ക് ഉപകാരപ്പെട്ടെങ്കിൽ നിങ്ങളുടെ കൂട്ടുകാർക്ക് കൂടി ഷെയർ ചെയ്യുക
Share This