Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
34 views

Java Programming

This document outlines the sections and questions of an exam on programming in Java. It is divided into three sections: Section A contains 10 multiple choice questions; Section B contains 5 questions with internal choices worth 7 marks each; Section C contains 3 questions worth 15 marks each, with question 16 being compulsory. The questions cover a range of Java topics, including data types, the Java Virtual Machine, arrays, threads, exceptions, applets, graphics, I/O, and GUI components like menus.

Uploaded by

Aju Ajesh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Java Programming

This document outlines the sections and questions of an exam on programming in Java. It is divided into three sections: Section A contains 10 multiple choice questions; Section B contains 5 questions with internal choices worth 7 marks each; Section C contains 3 questions worth 15 marks each, with question 16 being compulsory. The questions cover a range of Java topics, including data types, the Java Virtual Machine, arrays, threads, exceptions, applets, graphics, I/O, and GUI components like menus.

Uploaded by

Aju Ajesh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Reg. No.

U/1221/11-17/37521

PROGRAMMING IN JAVA

Time : Three hours Maximum : 100 marks

SECTION A — (10 × 2 = 20 marks)

Answer ALL the questions.


1. What are the various data types supported by Java?
2. Define JVM.
3. List the wrapper classes for converting simple types.
4. How do you compute the length of array?
5. What are Java API packages?
6. How to block a thread? Give an example.
7. Define character stream class.
8. What is meant by Remote Applet?
9. Define proxy server.
10. What is TCP/IP?

SECTION B — (5  7 = 35 marks)

Answer ALL the questions with internal choice.


11. (a) Discuss briefly on: Java Tokens.
Or
(b) Write a Java program to demonstrate the use
of switch statement.

12. (a) Illustrate different types of arrays with example.


Or
(b) Explain the different access modifiers available
in Java.

13. (a) Write a Java program for creating threads


using the Thread class.
Or
(b) Discuss about Defining and extending
Interfaces with examples.

14. (a) Write short notes on: Applet life cycle.


Or
(b) Discus briefly the syntax of Exception Handling
Code.

15. (a) Write about working with Graphics with


examples.
Or
(b) Discuss briefly about any two AWT controls.

SECTION C — (3  15 = 45 marks)

Answer ALL the questions.


Qn. No. 16 is a Compulsory question.

16. Discuss about while and do-while statement in detail.


2 U/1221/11-17/37521
17. (a) Explain about method overloading with suitable
example.
Or
(b) Explain about creating and accessing the
package with example.

18. (a) Write a Java program to read characters from


the console using Buffered Reader.
Or
(b) Discuss about Menus and Menu bars in detail.

———————

3 U/1221/11-17/37521

You might also like