Java Exam Paper 2011
Java Exam Paper 2011
JAVA PROGRAMMING
Time allowed: Three hours
Maximum marks: 50
Attempt five questions in all, selecting at least one
question from each unit. All questions carry equal marks.
Unit - I
1. (a) Briefly define the operators used in JAVA.
(5)
(5)
(5)
(10)
4. Briefly define the concept of method overriding and also define the
solution to eliminate method overriding. Also give an example. (10)
Unit - III
5. (a) Define the memory representation of a 2-D array in JAVA. How
could you differentiate with the memory-representation of a 2-D
array in C++? Give an appropriate example.
(5)
Page 1 of 1
www.magix.in
Java2011
(5)
Unit - IV
7. What do you mean by thread in JAVA? How can you create a thread
in JAVA? Also give an example.
(10)
8. (a) Describe the uses of synchronized keyword with proper
example.
(b) Explain the following:
(i) isAlive( )
(ii) join( )
(iii) wait( )
(iv) notify( )
(v) notifyAll( )
(5)
(5)
Unit - V
9. (a) How can you connect a Data Base with JAVA? Also define its
connectivity process.
(5)
(b) What do you mean by JDBC? Define various types of JDBC
drivers and its components that are required for connecting a
Database.
(5)
10. (a) What is an Applet? Also define its life cycle.
(5)
Page 2 of 2
www.magix.in
Java2011