PAVENDAR BHARATHIDASAN COLLEGE OF ARTS PAVENDAR BHARATHIDASAN COLLEGE OF ARTS
AND SCIENCE AND SCIENCE
INTERNAL TEST - PROGRAMMING IN JAVA INTERNAL TEST - PROGRAMMING IN JAVA
Class: I CS & BCA Subject code: 22SCCCS2 / 22SCCCA2 Class: I CS & BCA Subject code: 22SCCCS2 / 22SCCCA2
Time: 2hrs Maximum: 50 marks Time: 2hrs Maximum: 50 marks
PART-A PART-A
Fill in the blanks 1X5=5 Fill in the blanks 1X5=5
1. _________ in java are the statement that are not executed by 1. _________ in java are the statement that are not executed by
compiler and interpreter. compiler and interpreter.
2. The process of repeatedly executing a block of statement is 2. The process of repeatedly executing a block of statement is
knows as __________ knows as __________
a) Variable b) condition c) looping b) Variable b) condition c) looping
d)operators d)operators
3. The name o the _________________ method should be always 3. The name o the _________________ method should be always
same of the class. same of the class.
4. A collection of such related data shall be represent ________. 4. A collection of such related data shall be represent ________.
5. String are ______________ in java. 5. String are ______________ in java.
Answer the all the questions 5 X 2=10 Answer the all the questions 5 X 2=10
6. Define operator 6. Define operator
7. Define modifiers 7. Define modifiers
8. Define array 8. Define array
9. Define interface 9. Define interface
10. Define inheritances 10. Define inheritances
PART-B PART-B
Answer the any three questions 3 X 5=15 Answer the any three questions 3 X 5=15
11. Explain logical operator 11. Explain logical operator
12. Explain constructor 12. Explain constructor
13. Explain string array in java 13. Explain string array in java
14. Explain one dimensional array 14. Explain one dimensional array
15. Explain multi level inheritances 15. Explain multi level inheritances
PART-C PART-C
Answer the any two questions 2 X 10=20 Answer the any two questions 2 X 10=20
16. Explain modifiers in java 16. Explain modifiers in java
17. Explain package in java 17. Explain package in java
18. Explain interface 18. Explain interface