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

2020 java

The document outlines the structure of a fifth semester examination for a B.A./B.Sc. degree in Computer Science, specifically focusing on Java Programming. It includes multiple sections with varying question formats, including multiple choice, short answer, and programming tasks, covering topics such as data types, exception handling, and JDBC. The exam is designed to assess students' understanding of Java concepts and programming skills.
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)
2 views2 pages

2020 java

The document outlines the structure of a fifth semester examination for a B.A./B.Sc. degree in Computer Science, specifically focusing on Java Programming. It includes multiple sections with varying question formats, including multiple choice, short answer, and programming tasks, covering topics such as data types, exception handling, and JDBC. The exam is designed to assess students' understanding of Java concepts and programming skills.
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

D 90139 (Pages: 2) Name....

Reg. No.
FIFTH SEMESTER B.A./[Link]. DEGREE EXAMINATION
NOVEMBER 20200

(CUCBCSS-UG)
Computer Science

BCS 5B 08-JAVA PROGRAMMING

(2017 Admissions)

Time: Three Hours Maximum: 80 Marks


Section A

,
Answer all questions.
Each question carries 1 mark.

1. What do you mean by data types in Java ?


2. What is Byte code ?
3. What is ternary operator in Java?
4. What is dot operator?

5. What is method overloading?


6. What is JDBC ?
7. What is AWT?
8. What is character stream classes?
9. What is a File class?
10. What is adapter class?
(10 x 1 10 marks)
Section B

Answer at least four questions.


Each question carries 4 marks.
All questions can be attended
Overall Ceiling 16.
11. Compare and contrast procedure-oriented programming and object-oriented programming
12. Explain switch statement with example.

Turn over
D 0139

13 Explain the exception handiing mechanism in Java


14 How will you ereate and execute applets in Java?

1& Explain the structure of AWT

(44 16 marks)
Seetion C

Aneuer at inast four queation


Kach question carries 7 arha
All queetiona can be atiendod
Owrall Cealing 28
16. Explnin the featuree of Otjoct Orientation

17 Explain primitive and nen- primitive data types in Java

18. What de you mean by Dynamic Method Dispatch ? Give an eaAmpile

19. What are constructors ? Explain its sigmificance

20 What is finally block 7 When and how is it used Give suitabde esampå

21 Explain the differences between applet progratn, and applacation prugrams

22 Describe the steps for creating packages in Java


23. Kxplain the major tasks of input and output stream classes
(47 28 marks)
Section D
Ansuer any two qurstions
Kach question carries 13 marks
2 4 . What is polymorphism ? Explain its types with suitable etamples

25. Write a Java program to add two complex numbers using operator
overkading
26. Explain the different types ofJDBC statements with examples
27. Write an applet proram that receives three nuneric values as input from the user and then
dhsplays the largest of the three on the sereen

28. Deseribe the life cyce of a thread


2x 13 26 marks

You might also like