How To Exam?

a knowledge trading engine...


SRM University 2007 B.Tech Information Technology BANK : PROGRAMMING IN JAVA - exam paper

Wednesday, 30 January 2013 06:20Web
20. Define Polymorphism. elaborate the various kinds of polymorphism?
21. What is Dynamic method dispatch or run rime polymorphism?
22. List out the various levels of access protection in java.
23. How do we declare a nested class? provide an example.
24. What is a wrapper class? elaborate its applications?
25. What is meant by ‘Late binding’?













PART – B

1. How is interface used to support multiple inheritance? discuss with a program.
2. Describe the different levels of access protection available in packages and their implications with an example program.
3. Explain in detail about creating and accessing packages with an example program.
4. Explain ‘Dynamic method dispatch’ with 1 example program.
5. Describe Method overriding. discuss it with an example.
6. Write short notes on:
i) Upcasting
ii) Downcasting
7. Explain in detail about various kinds of Inheritance with an example program.
8. Compare and contrast Java and C++.
9. Explain in detail about Wrapper classes with an example.
10. Explain about Native methods with suitable examples.



























UNIT – IV


PART – A

1. What is an Exception?Draw the hierarchy of Exception.
2. What is the use of try and catch block?Give its syntax.
3. Define ‘Exception handling mechanism’.
4. List out the common kinds of exceptions in java.
5. Is it essential to catch all kinds of exceptions?
6. How many catch blocks can be used with 1 try block?
7. What is the use of ‘finally’ block? provide an example.
8. Why subclass exception should precede the superclass exception?
9. Define checked and unchecked exception.
10. What is the function of default exception handler?
11. List out the advantage and disadvantage of default exception handler.
12. What is a stream? Draw the hierarchy of stream class.
13. Distinguish ranging from Input stream and learner classes & Output stream and author classes.
14. What is a Thread? Which Interface must be implemented by all threads?
15. What are the ways to create a thread?
16. Describe the complete life cycle of a Thread.
17. How will you begin and stop a thread?
18. How do we set priorities for threads?
19. What is synchronization? When it is used?
20. What is a Deadlock ? elaborate the ways to avoid deadlock?


PART – B

1. Explain in detail about Exception Handling Mechanism with an example.
2. Explain various ways to create threads with an example.
3. Explain the InputStream class hierarchy with an example program.
4. Explain the OutputStream class hierarchy with an example program.
5. Explain the learner Stream class hierarchy with an example program.
6. Explain the author Stream class hierarchy with an example program.










UNIT – V

PART – A


1. What is an applet?
2. Differentiate local and remote applets.
3. How applets differs from application programs?
4. What are the various ways of running an applet?
5. Why the applet classes are declared as public?
6. List out the various stages in the life cycle of an applet.
7. Distinguish init() and start() methods.
8. Write a program to set the foreground and background color using applet.
9. What is an Event?
10. Write short notes on Event Handling mechanism.





PART – B

1. Explain in detail about Applet Life cycle.
2. Write a program to demonstrate the Life cycle of an applet.
3. Write a program to perform the subsequent operations by using applet.
(i) Draw a Line,Rectangle
(ii) Draw a oval and fill it
(iii) Draw a polygon
(iv) Set the background and foreground color.
4. Explain in detail about Event handling mechanism with an example.
5. Describe about ‘Key Event’ and ‘Mouse Event’.










*****************************************





( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER SRM University 2007 B.Tech Information Technology BANK : PROGRAMMING IN JAVA - exam paper