SUGUNA COLLEGE OF ARTS AND SCIENCE
(Affiliated to Bharathiar University, Coimbatore)
Nehru Nagar, Kalapatti Road, Civil Aerodrome (po), Coimbatore-641014.
Department of Computer Science
Continuous Internal Assessment – II (September 2023)
Course Name: JAVA Programming Date:
Class: II [Link](CS) & II BCA Time: 2 hrs
[Link]
Section – A (6*1=6 Marks)
Multiple choice Questions
1. It is a group of contiguous or related data items that there share a common name
a) Linked List b) Array c) class d) method
2. Identify the vector class package.
a) [Link].* b) [Link].* c) [Link].* d) [Link].*
3. Which state of thread is used to prevent to entering from runnable state?
a) Dead state b) Blocked state c) New born state d) Running state
4. Which one is the correct Runtime Error?
a) Missing semicolon b) Accessing a character that is out of bounds of a string
c) Bad references to objects d) Undeclared variable
5. Which statement pass a single parameter as reference to exception object?.
a) throws b) finally c) try d) catch
6. Identify which class is perform all output operation of applet.
a) Applet b) Graphics b) ActionEvent d) applet
Section – B ( 3 * 3 = 9 Marks)
Answer All the Questions
7. a) Write note on String class. (OR)
b) Write a java program to sort the set of names in alphabetical order.
8. a) How will you create an array and access array element? Explain. (OR)
b) Explain the concepts of applet tag.
9. a) Write a java applet program to draw line and arc. (OR)
b) When will you implement multiple catch statement? Explain.
Section – C ( 3 * 5 = 15 Marks)
Answer All the Questions
10. a) How multiple inheritance is achieved in java? Explain. (OR)
b) How will you declare and access user defined package in java? Explain.
11. a) Explain with example getting user input data. (OR)
b) Discuss on java graphics methods.
12. a) Discuss on Exception handling. (OR)
b) Describe the concepts of Applet Life cycle.