Seminar Topics - Scholarships - Admission/Entrance Exam Notifications
USA-UK-Australia-Germany-France-NewZealand Universities List
Engineering-MBA-MCA-Medical-Pharmacy-B.Ed-Law Colleges Information
www.andhracolleges.com The Complete Information About Colleges in Andhra Pradesh
Code No: 42/MCA
M.C.A IV Semester Supply Examinations, Apr/May -2008.
PROGRAMMING IN JAVA
Time: 3 hours
Max. Marks: 60
Answer any five questions
All questions carry equal marks
- - -
1.a) What is a variable? Describe the rules associated with the use of
variables in a JAVA program.
b) What are the various types of operators available in JAVA? List and
explain their purpose and use.
2.a) Write a program in JAVA to evaluate the following function:
b) What are constructors? Describe their purpose and use. Also write
an illustrative program in Java.
3.a) What is meant by method overloading? Explain the same with
suitable example program in Java.
b) What are packages? Explain the purpose and use of packages in
4.a) What is an interface? Describe the purpose and applications of
b) Describe the concept of multiple inheritance. Also write an
illustrative program in Java depicting the concept of multiple
5.a) What are various types of exceptions? List and explain the
exception handling statements of Java with suitable illustrations.
b) What is meant by synchronization? Describe its objectives.
c) Describe the concept of inter thread communication.
6.a) What are daemon threads? Explain with simple illustrations.
b) What are thread priorities?
c) Describe the differences between process and thread.
d) Describe the concept of event handling.
7.a) Describe the concept of applet. What is the lifecycle of an applet?
b) What are various types of applets? Explain the procedure of