University Name : Madras University
Name of the Degree : B.Sc
Title of the Paper : Programming in Java
Month & Year of Examination: November & 2012
Subject Code : SAZ4A
Semester : IV
Year : Second Year
Time : Three hours
Maximum : 75 marks
PART A - (10 * 2 = 20 marks)
Answer any TEN questions.
All questions carry equal marks.
1. What is meant by object-oriented programming?
2. List the constants in Java.
3. What are constructors?
4. What are Variable Size Arrays? Give an example.
5. How does string class differ from the string buffer class?
6. What are Packages?
7. Define: Multithreading.
8. What is synchronization?
9. What is an Exception?
10. Define: Applets.
11. Define: TCP
12. Write a note on: Push Button Control.
PART B - (5 * 5 = 25 marks)
Answer any FIVE questions.
All questions carry equal marks.
13. Write short notes on: Java Tokens.
14. Discuss briefly on type casting with examples.
15. Write about Defining a class and Adding Methods in Java with examples.
16. Write short notes on: Java API Packages.
17. Discuss briefly on Thread Priority with example.
18. Explain the syntax of Exception Handling Code with example.
19. Write about working with graphics with examples.
PART C - (3 * 10 = 30 marks)
Answer any THREE questions.
All questions carry equal marks.
20. Explain the features of Java.
21. Write a Java program to do addition of two input matrices.
22. Explain about Creating Packages and Accessing a Package with examples.
23. Describe the usage of ByteStream classes with examples.
24. Explain the usage of MenuBar, Menu and Menu Item classes with examples.
Name of the Degree : B.Sc
Title of the Paper : Programming in Java
Month & Year of Examination: November & 2012
Subject Code : SAZ4A
Semester : IV
Year : Second Year
Time : Three hours
Maximum : 75 marks
PART A - (10 * 2 = 20 marks)
Answer any TEN questions.
All questions carry equal marks.
1. What is meant by object-oriented programming?
2. List the constants in Java.
3. What are constructors?
4. What are Variable Size Arrays? Give an example.
5. How does string class differ from the string buffer class?
6. What are Packages?
7. Define: Multithreading.
8. What is synchronization?
9. What is an Exception?
10. Define: Applets.
11. Define: TCP
12. Write a note on: Push Button Control.
PART B - (5 * 5 = 25 marks)
Answer any FIVE questions.
All questions carry equal marks.
13. Write short notes on: Java Tokens.
14. Discuss briefly on type casting with examples.
15. Write about Defining a class and Adding Methods in Java with examples.
16. Write short notes on: Java API Packages.
17. Discuss briefly on Thread Priority with example.
18. Explain the syntax of Exception Handling Code with example.
19. Write about working with graphics with examples.
PART C - (3 * 10 = 30 marks)
Answer any THREE questions.
All questions carry equal marks.
20. Explain the features of Java.
21. Write a Java program to do addition of two input matrices.
22. Explain about Creating Packages and Accessing a Package with examples.
23. Describe the usage of ByteStream classes with examples.
24. Explain the usage of MenuBar, Menu and Menu Item classes with examples.
No comments:
Post a Comment