D70226
D70226
FIFTH SEMESTER B.Sc. DEGREE EXAMINATION, NOVEMBER 2019
(CUCBCSS-UG)
Computer Science
BCS 5B 08 JAVA PROGRAMMING
(2017 Admissions)
Time: Three Hours Maximum : 80 Marks
Part A
Answer all questions.
Each question carries 1 mark.
1. What is Boolean type in Java ?
2. What is JVM?
3. What is variable ?
4. What is the difference between m++ and ++m statements in Java ?
5. What are the two sections in class definition?
6. What is exception?
7. What is Applet ?
8. What is stream class ?
9. What is File class ?
10. What is the use of import statement in Java ?
(10 x 1 = 10 marks)
Part B
Answer all questions.
Each question carries 3 marks.
11. List the basic principles of Object Orientation?
12. Explain the structure and function of if..else statement with example.
13. Explain how exceptions are implemented in Java.
14. Explain the life cycle of an Applet.
15. What is Layout manager in AWT? Explain.
(5 x 3 = 15 marks)
Part C
Answer any five questions.
Each question carries 5 marks.
16. Explain how data and methods are organized in an object oriented program with suitable illustration.
17. Explain structure and function for statement in Java with examples.
18. Give an account on dynamic method dispatch in Java.
19. Discuss the different levels of access protection available in Java.
20. Write java program to add two matrices using operator overloading.
21. Discuss the steps involved in developing and running a local applet.
22. Write a note on Java API packages.
23. Explain the structure of AWT.
(5 × 5 = 25 marks)
Part D
Answer any three questions.
Each question carries 10 marks.
24. Describe the different forms of inheritance with examples.
25. What are constructors ? How they are invoked in Java ? Also explain the different
constructors. types of
26. Write an applet program that receives three numeric values as input from the user and then displays the largest of the three on the screen.
27. Explain the different steps in JDBC for connecting any database as back-end of Java program.
28. Describe the life cycle of a thread.
(3 x 10 = 30 marks)
നിങ്ങൾക്ക് ഉപകാരപ്പെട്ടെങ്കിൽ നിങ്ങളുടെ കൂട്ടുകാർക്ക് കൂടി ഷെയർ ചെയ്യുക
Share This