Wednesday, 27 November 2013

JAVA SAE4A / SAZ4A APRIL 2012


University Name : Madras University
Name of the Degree : B.Sc
Title of the Paper : Programming in Java

APRIL-2012                                                                                                                         SAE4A / SAZ4A

PART-A

1. What are object? Give example.
2. Define: Token in Java.
3. What is type casting?
4. Write the purpose of new operator? Give an example.
5. Write a note on: Declaration of Arrays.
6. What is the use of parseInt( ) method? Give an example.
7. What is an Interface?
8. Define: Thread.
9. Write the purpose of Exception Handling.
10. What are input and output streams?
11. What is URL?
12. What are controls?

PART-B

13. Discuss briefly on Data Types in Java with examples.
14. Write a Java Program to find the value of n!, where n is a given integer.
                           ( Hint: n!= n*(n-1)*………*1 )
15. Write about method overloading with example.
16. Explain the usage of any two commonly used string methods with examples.
17. Discuss briefly on stopping and blocking threads.
18. Write about creation of files with examples.
19. Write about notes on: Socket Programming.

PART-C

20. Explain branching and looping statements in Java with suitable examples.
21. Write a Java program to illustrate single inheritance.
22. Explain Life Cycle of a thread.
23. Describe the usage of character stream classes and the File class.
24. Write a Java program to illustrate any one layout managers.

No comments:

Post a Comment