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

April 2013 (Summer Drive) Bachelor of Computer Application (BCA) - Semester 4 BC0047 - Java Programming - 4 Credits

This document outlines exam questions for a Java Programming course. The theoretical questions section is worth 40 marks and covers concepts like inheritance, exceptions, and stream classes through short answer questions. Students must write programs to demonstrate exception handling, use of data types, interfaces, and input/output streams. The practical questions section is worth 20 marks and involves writing programs to display Fibonacci numbers and changing an applet's background color with a button click.

Uploaded by

Pravesh Trivedi
Copyright
© Attribution Non-Commercial (BY-NC)
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)
143 views2 pages

April 2013 (Summer Drive) Bachelor of Computer Application (BCA) - Semester 4 BC0047 - Java Programming - 4 Credits

This document outlines exam questions for a Java Programming course. The theoretical questions section is worth 40 marks and covers concepts like inheritance, exceptions, and stream classes through short answer questions. Students must write programs to demonstrate exception handling, use of data types, interfaces, and input/output streams. The practical questions section is worth 20 marks and involves writing programs to display Fibonacci numbers and changing an applet's background color with a button click.

Uploaded by

Pravesh Trivedi
Copyright
© Attribution Non-Commercial (BY-NC)
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

April 2013 (Summer drive) Bachelor of Computer Application (BCA) Semester 4 BC0047 Java Programming 4 Credits

(Book ID: B0831)

(40 + 20 Marks)

Answer All the Questions. Theoretical Questions: [ 40 Marks]


1. Define and explain the following concepts with appropriate examples: [5 x 2 Marks] a) Superclass b) Subclass c) Inheritance d) Exceptions e) Stream classes 2. Write a program to explain the Exception Handling mechanisms in Java using the keywords: try, catch and finally. [5 Marks] 3. Write a Java program demonstrating the usage of all the primitive / standard data types. [5 Marks] 4. Explain the concept of interfaces in Java with a suitable example for the same. [10 Marks] 5. Explain the InputStream and OutputStream class hierarchies with suitable diagrams. [10 Marks]

Practical Questions: [ 2 x 10= 20 Marks]


1. Write a Java program to display the first 20 Fibonacci numbers. 2. Write an applet program to change the background color of an applet window as soon as you click on a button.

You might also like