B.C.A and B.Sc
Friday, 10 January 2014
Tuesday, 7 January 2014
Thursday, 28 November 2013
Java April - 2013 SAE4A
Month & Year of Examination: April - 2013
Subject Name: Programming in Java
Subject Code: SAE4A
Section – A (10 * 2 = 20 marks)
Answer any TWO questions.
All questions carry equal marks.
Each questions carry equal marks.
1.Define Encapsulation.
2.What are literals?
3.List down the data types in Java.
4.How to create objects? Give an example.
5.Define: method overloading.
6.When do we declare a method or class abstract?
7.Write a note on: Import statement.
8.How do we set priorities for threads?
9.Write the names of any Two common Java exceptions.
10.What are remote applets?
11.Define: Random Access Files.
12.Write the purpose of a layout manager.
Section – B (5 * 5 = 25 marks)
Answer any FIVE questions.
All questions carry equal marks.
13.Write about Java statements.
14.Write a Java program to illustrate the use of constructors.
15.Write short notes on any TWO commonly used StringBuffer methods.
16.Discuss briefly on creating packages with examples.
17.Write about Synchronization in Java with example.
18.With an example Java program explain how to throw our own exceptions.
19.Write short notes on: Java Utility classes.
Section – C (3 * 10 = 30 marks)
Answer any THREE questions.
All questions carry equal marks.
20.Explain the Basic Concepts of object oriented programming.
21.Write a Java Program to illustrate overriding methods.
22.Write a Java program to illustrate multithread programming.
23.Explain Applet Life Cycle.
24.Explain the usage of any Four AWT controls with examples.
Wednesday, 27 November 2013
JAVA April 2011 SAE4A /SAZ4A
University Name : Madras University
Name of the Degree : B.Sc
Title of the Paper : Programming in Java
Name of the Degree : B.Sc
Title of the Paper : Programming in Java
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 NOVE-2011 SAE4A / SAZ4A
University Name : Madras University
Name of the Degree : B.Sc
Title of the Paper : Programming in Java
Name of the Degree : B.Sc
Title of the Paper : Programming in Java
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 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
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
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
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.
Subscribe to:
Comments (Atom)