0% found this document useful (0 votes)
4 views3 pages

Javaiinternal DS

The document outlines the structure of the First Internal Examination for II B.Sc. Data Science students at Auxilium Arts and Science College, focusing on Java Programming. It includes multiple-choice questions, short answer questions, and detailed questions covering various Java concepts such as data types, keywords, method overriding, and exception handling. The exam is divided into three parts: Part A for multiple-choice, Part B for short answers, and Part C for detailed explanations.

Uploaded by

priyaganesh12345
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)
4 views3 pages

Javaiinternal DS

The document outlines the structure of the First Internal Examination for II B.Sc. Data Science students at Auxilium Arts and Science College, focusing on Java Programming. It includes multiple-choice questions, short answer questions, and detailed questions covering various Java concepts such as data types, keywords, method overriding, and exception handling. The exam is divided into three parts: Part A for multiple-choice, Part B for short answers, and Part C for detailed explanations.

Uploaded by

priyaganesh12345
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

AUXILIUM ARTS AND SCIENCE COLLEGE FOR WOMEN, Chittampatti, Madurai

DEPARTMENT OF DATA SCIENCE


FIRST INTERNAL EXAMINATION

Class: II [Link]. DATA SCIENCE (IV SEMESTER) Date:


Subject: JAVA PROGRAMMING Max. Marks: 50
PART – A
I. Choose the Correct answer (9 X 1 = 9)

1. Which Component is used to compile, debug and execute the java program
a)JRE b)JIT c)JDK d)JVM
2. Java programs are _________ independent.
(a) platform (b) procedural (c) high level (d) secure
3. The _______ refers to the validity of a variable.
(a) scope (b) variable (c) float (d) method
4. The ––––––––– statement is valid for array declaration.
(a) int number (); (b) float number (); (c) float number []; (d) count int []
5. A package is a collection of _______
(a) keywords (b) classes and interfaces (c) editing tools (d) view
6. Which of these keywords is used to prevent the inheritance
(a) Super (b) Constant (c)class (d)final
7. Which of these keywords is used to throw the exception manually?
(a)try (b)finally (c)throw (d)catch

AUXILIUM ARTS AND SCIENCE COLLEGE FOR WOMEN, Chittampatti, Madurai


DEPARTMENT OF DATASCIENCE
FIRST INTERNAL EXAMINATION

Class: II [Link]. DATA SCIENCE (IV SEMESTER) Date:


Subject: JAVA PROGRAMMING Max. Marks: 50

PART – A
I. Choose the Correct answer (9 X 1 = 9

1. Which Component is used to compile, debug and execute the java program
a)JRE b)JIT c)JDK d)JVM
2. Java programs are _________ independent.
(a) platform (b) procedural (c) high level (d) secure
3. The _______ refers to the validity of a variable.
(a) scope (b) variable (c) float (d) method
4. The ––––––––– statement is valid for array declaration.
(a) int number (); (b) float number (); (c) float number []; (d) count int []
5. A package is a collection of _______
(a) keywords (b) classes and interfaces (c) editing tools (d) view
6. Which of these keywords is used to prevent the inheritance
(a) Super (b) Constant (c)class (d)final
7. Which of these keywords is used to throw the exception manually?
(a)try (b)finally (c)throw (d)catch
8. Which of these are selection statement in java?
(a) if (b)continue (c)break (d)for

9. Which of the following is the bitwise OR operator


(a)- (b)^ (c)>> (d)%

PART – B

II. Answer ALL questions, choosing either (a) or (b) (3 ×7 = 21)


10. a. What are the data types used in Java
(OR)
b. Explain if keyword in java.
11. a. How to use final keyword in java
(OR)
b .Discuss about java buzzwords.
12. a. Define: 1) Static keyword 2) Super keyword.
(OR)
b. Define package with example program.
PART – C

III. Answer the following ANY TWO Questions (2 X 10 = 20)

13. Discuss in detail about method overriding in java.


14. What is constructor explain with example.
[Link] exception handling with example program.

8. Which of these are selection statement in java?


(a) if (b)continue (c)break (d)for

9. Which of the following is the bitwise OR operator


(a)- (b)^ (c)>> (d)%

PART – B

II. Answer ALL questions, choosing either (a) or (b) (3 ×7 = 21)


10. a. What are the data types used in Java
(OR)
b. Explain if keyword in java.
11. a. How to use final keyword in java
(OR)
b .Discuss about java buzzwords.
12. a. Define: 1) Static keyword 2) Super keyword.
(OR)
b. Define package with example program.
PART – C

III. Answer the following ANY TWO Questions (2 X 10 = 20)

13. Discuss in detail about method overriding in java.


14. What is constructor explain with example.
[Link] exception handling with example program.

You might also like