JAVA APRIL 2012
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.
JAVA 2011 and 2012
NOVE-2011 SAE4A / SAZ4A
PART-A
1. List any FOUR features of Java.
2. What are Literals?
3. List the Bitwise operators in Java.
4. Write a note on: General form of a method declaration.
5. What are Finalizer methods?
6. How to create an array in Java?
7. What are interfaces?
8. Write a note on: Setpriority( ) method.
9. Distinguish between local and remote applets.
10. What is a Random Access File?
11. What are Datagrams?
12. What is AWT?
PART-B
13. Explain in method overloading? Explain with an example java program.
14. Explain about Java Tokens with examples.
15. Discuss briefly about Wrapper classes with examples.
16. Explain about package with examples.
17. Write a java program to illustrate the use of thread methods.
18. Explain how exception handling mechanism can be used for debugging a program.
19. Explain about any ONE layout manager with example.
PART-C
20. A) Write short notes on: Classification of Java statements.
B) Discuss about type casting with examples.
21. Explain in detail, different forms of inheritance with examples.
22. Write a Java program to illustrate how to implement the ‘Runnable’ interface.
23. Explain the usage of any FIVE methods in the Graphics class with examples.
24. Discuss in detail, MenuBar, Menu and MenuItem classes.
JAVA April 2011
APRIL-2011 SAE4A /SAZ4A
PART-A
1. Define: Encapsulation
2. List the rules for identifiers in Java.
3. Write a note on: Increment and Decrement Operators.
4. Give the general form of switch statement.
5. Write the use of extends keywords.
6. What is an interface?
7. How do we start a thread?
8. What are Run-Time Errors?
9. How to draw lines in Java? Give an example.
10. Write a note on: Input Stream Class.
11. What is the significance of the accept() method of the ServerSocket class?
12. What is Border Layout?
PART-B
13. Discuss about Java constants with example.
14. Write short notes on: Data types in Java.
15. What are constructors? Discuss about the usage of constructors with examples.
16. Write a Java Program to print Alphabetical ordering of strings.
17. Write short notes on: Common Java Exceptions.
18. Discuss briefly about character stream classes.
19. What are the important methods in the URL class? Discuss briefly.
PART-C
20. Write a Java Program to find the sum of the following Harmonic series for a given value of n:
1+1/2+1/3+…….+1/n
21. What is meant by single inheritance? Explain this with an example Java Program.
22. Explain about creating packages and accessing a package with examples.
23. Explain about random access files in Java with example programs.
24. Explain the usage of any FOUR AWT controls with suitable examples.
JAVA nov 2010
NOVE-2010 SAZ4A/SAE4A
Part-A
- Define byte code.
- Write a note on the ? : operator in Java.
- Define method overloading.
- Write a note on declaration of Arrays.
- What are vectors?
- Define the term package.
- What are threads?
- Define exception.
- Write a note on draw_line( ) methods.
- Distinguish between input stream and output stream.
- Write a note on Proxy serves
- What is AWT?
Part-B
- Write short notes on Data types of Java.
- Discuss the basic formats of the while statement and the do statement with examples.
- Discuss the different levels of access protection available in Java.
- Write about wrapper classes in Java.
- Write short notes on life cycle of a thread.
- Discuss briefly about byte stream classes.
- Discuss about Inet Address class and its method.
Part-C
- Write a Java program to find the sum and average of N given numbers.
- Explain about any five commonly used string methods with examples.
- Discuss in detail, defining extending and implementing interface with example.
- Write Applets to do the following a) Drawing polygons b) Drawing a line graph.
- Explain about working with fonts in Java with suitable examples.
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.
thank you for your efforts. very helpful.
ReplyDeletethanks it helps me in my exam thanx for ur question bank
ReplyDelete