Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

THENI KAMMAVAR COLLEGE OF ART AND SCIENCE

KODUVILARPATTI
FIRST INTERNAL EXAMINATION
CLASS: II BCA
SUBJECT: PROGRAMMING IN JAVA
SUBJECT CODE:

1.

2.

3.
4.

5.

TIME : 2HRS
MARK: 50
DATE: 24-01-2014

PART A ( 5 X 1 = 5)
________________ is a highly optimized set of instructions designed to
be executed by JVM.
a. ASCII code
b. Byte code
c. Bit code d. Machine code
A ________________ is an identifier that denotes a storage location used
to store a data value.
a. Variable
b. Constant
c. Token
d. Structure
Objects in java are created in java using the _____________ operator.
a. Create
b. Open
c. Size of d. New
______________ keyword can be used inside any method to refer to the
current object.
a. At
b. With
c. Width
d. This
_____________ has the same name as the class name.
a. Over loading b. Constructor
c. Over Riding
d. Destructor.

PART B ( 5 X 5 = 25 )
6. Why java is important to the internet? Explain
7. Discuss about the lexical issues in java with example.
8. Discuss about using command Line argument with an example program.
9. Write a program to demonstrate the Boolean logical operator
10. Explain how to introduce nested and inner classes with examples.
11. Why java is called as platform independent
12. Write a program in java to illustrate about constructor
PART C ( 2 x 10 = 20 )
13.Explain about the java buzzword.
14.Write a program to illustrate overloading method.
15.Write a program to arrange the N number in ascending order.

You might also like