0% found this document useful (0 votes)
5 views2 pages

November 2017

This document is an examination paper for the Fifth Semester B.Sc. Degree in Computer Science, focusing on Java programming. It consists of multiple parts, including multiple-choice questions, short answer questions, and essay questions, covering various topics related to Java and its features. The exam is structured to assess students' understanding of Java concepts, programming skills, and application of knowledge in practical scenarios.

Uploaded by

ansafofficial3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views2 pages

November 2017

This document is an examination paper for the Fifth Semester B.Sc. Degree in Computer Science, focusing on Java programming. It consists of multiple parts, including multiple-choice questions, short answer questions, and essay questions, covering various topics related to Java and its features. The exam is structured to assess students' understanding of Java concepts, programming skills, and application of knowledge in practical scenarios.

Uploaded by

ansafofficial3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

C30339 (Pages: 2) Name........................................

Reg. No •..........•...•..•..................
FIF•rtt SEMESTER B.Sc. DEGREE EXAMINATION, NOVEMBER 2017
(CUCBCSS-UG)
Computer Science
BCS 5B O�AVA PROGRAMMING
Time : Three Hours Maximum : 80 Marks
Part A
Answer all questions.
1 mark each.
1. JVM is an interpreter of
(a) Source code. (b) Machine code.
(c) Byte code. (d) Executable code.
2. The check.box object generates
(a) Action Event. (b) Adjustment Event .
(c) Item Event. (d) None ofthese.
3. initializes an object immediately upon creation.
(a) New. (b) Finalize. (d)
(c) This. Constructor.
4. In Java size of float is bytes.
(a) 4. (b) 8.
(c) 16. (d) 32.
5. Ifa class declared as , it cannot be inherited.
(a) Abstract. (b) Final.
(c) Extends. (d) None ofthese.
6. --- is the default layout manager.
7. The keyword to declare a constant that cannot be changed is ---
8. --- is an instance of class.
9. --- is a method to name a label.
10. All exceptions are subclasses of---
(10 x 1 = 10 marks)

Turn over
2 C 30339

PartB
Answer all
questions. 2 marks
each.
11. What is a thread?
12. Write the constru ctors of list class.
13. What do you mean by dynamic method dispatch method?
14. Explain finally with example.
15. What is an event listener?
(5 x 2 = 10 marks)
Part C (Short Essay)
Answer any five
questions. 4 marks each.
16. Explain life cycle of thread.
17. Explain choice control.
18. Explain Buffered writer class.
19. Write a Java program to implement Applet concept.
20. Explain interfaces with syntax and example.
21. Write a Java program to draw oval, rectangle, circle, arc etc.
22. Explain various AWT controls.
23. With an example, explain how to create a chi ld thread by implementing runnable
interface.
(5 X 4 = 20 marks)
Part D (Essay)
Answer any five questions.
8 marks each.
24. Explain important features of Java.
25. Explain four layout managers.
26. Discuss different stages in the life cycle of an applet.
27. Describe multiple and multilevel inheritance.
28. Write a program using while loop to reverse the digit for any number.
29. Write a program to design a digital clock.
30. Create an applet containing three buttons labeled red, green, and blue. The background colour is
initially set to white.
31. Explain in detail the different types of operator in Java.
(5 x 8 = 40 marks)

You might also like