0% found this document useful (0 votes)
2 views1 page

Java Question Paper Model

This document is an examination paper for a subject at Anadhan Memorial Arts and Science College, affiliated with Annamalai University. It includes multiple-choice questions, short answer questions, and essay-type questions related to Java programming concepts. The total marks for the exam are 30, divided into three parts with varying question formats.

Uploaded by

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

Java Question Paper Model

This document is an examination paper for a subject at Anadhan Memorial Arts and Science College, affiliated with Annamalai University. It includes multiple-choice questions, short answer questions, and essay-type questions related to Java programming concepts. The total marks for the exam are 30, divided into three parts with varying question formats.

Uploaded by

elavarasi
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

ANADHAN MEMORIAL ARTS AND SCIENCE COLLEGE

(Affiliated to Annamalai University)


Vanniyar Palayam

Subject Name: ____________________ Date: __________

Subject Code: ____________________ Total Marks: 30

PART – A (6 × 1 = 6 Marks)
Answer All the Questions

1. Which keyword is used to declare a class in Java?


a) define b) object c) class d) public

2. An array stores ________.


a) Different data types only b) Same type of elements c) Only characters d) Only
numbers

3. A function that calls itself is called:


a) Constructor b) Recursive Function c) Inline Function d) Static Function

4. Which statement terminates a loop?


a) continue b) break c) switch d) case

5. Who is the Father of Java? Mention the year Java was introduced.

6. What is a Recursive Function?

PART – B (2 × 7 = 14 Marks)
1. Explain different data types with examples.

2. Explain arrays and array operations with examples.

3. Explain Arithmetic, Relational, Logical, and Assignment operators with examples.

PART – C (1 × 10 = 10 Marks)
1. Explain the control statements in Java with suitable examples.

OR

2. Explain the Java Character Set and Java Tokens in detail.

ALL THE BEST!

You might also like