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

Java Programming - 2022

The document is an examination paper for the BCA 5B 07 Java Programming course, conducted in November 2022. It consists of four parts: short answers, paragraphs, essays, and detailed questions, covering various Java programming concepts such as JDBC, applets, multithreading, and AWT. The paper is structured to assess students' understanding of Java through a mix of theoretical and practical questions.
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)
18 views2 pages

Java Programming - 2022

The document is an examination paper for the BCA 5B 07 Java Programming course, conducted in November 2022. It consists of four parts: short answers, paragraphs, essays, and detailed questions, covering various Java programming concepts such as JDBC, applets, multithreading, and AWT. The paper is structured to assess students' understanding of Java through a mix of theoretical and practical questions.
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

1

256254

6
D 30082 (Pages : 2) Name.........................................

Reg. No.....................................

1
FIFTH SEMESTER (CUCBCSS–UG) DEGREE EXAMINATION
NOVEMBER 2022

1
B.C.A.

BCA 5B 07—JAVA PROGRAMMING

(2017—2018 Admissions)
Time : Three Hours Maximum : 80 Marks

Part A

Write short answer on all questions.

1
Each question carries 1 mark.

1. Expand JDBC.

6
2. How can you view applets ?

3. Which is the default layout manager ?

1
4. Which is the method by which we can relinquish the control to another thread of equal priority ?

5. How runtime polymorphism is achieved in Java ?

1
6. What is the extension of bytecode file ?

7. Which is the method for drawing polygon in AWT ?

8. Name the interface used for creating threads in Java.

9. Which is the built-in method available in ItemListener for processing ItemEvent ?

10. What is super ?

1
(10 × 1 = 10 marks)

Part B

Write a paragraph on all questions.

6
Each question carries 2 marks.

11. Why the main method is declared static ?

1
12. What is the purpose of this operator ?

13. Which are the various access modifiers in Java ?

1
Turn over

256254
1
256254

6
2 D 30082

14. Differentiate throw and throws.

1
15. What is synchronization ?

16. What are the advantages of multithreading ?

1
17. Explain the concept of single and multi-dimensional arrays in Java.

18. What is an Event ?


(8 × 2 = 16 marks)
Part C

Write short essay on any six questions.


Each question carries 4 marks.

1
19. Explain how multiple inheritance is implemented in Java.

20. Explain various types of literals with examples.

6
21. Explain with an example, how constructors are used in Java.

22. Explain the concept of abstract classes and abstract methods in Java.

1
23. Explain multiple catch clauses in exception handling.

24. Differentiate drawArc() and fillArc() methods in AWT.

1
25. Explain the constructors for TextArea.

26. Explain nested classes in Java.

27. Explain the GridLayout manager.

(6 × 4 = 24 marks)

Part D

1
Write essays on any three questions.
Each question carries 10 marks.

28. Explain various operators used in Java.

6
29. Explain JDBC architecture and JDBC components with a diagram.

30. Write an AWT program to implement keyboard events.

1
31. Explain the life cycle of an applet.

32. Explain various built-in packages. Write a package to check whether a number is prime. Import

1
the package to check whether the sum of diagonal elements of an array is a prime number.

(3 × 10 = 30 marks)

256254

You might also like