How To Exam?

a knowledge trading engine...


SRM University 2007 B.Tech Computer Science and Engineering BANK : JAVA PROGRAMMING - Question Paper

Wednesday, 30 January 2013 10:40Web
8. How do we set priorities for threads?
9. Describe in brief the complete lifecycle of a thread?
10. What is synchronization? When do we use it?
11. Give a few real life situations that illustrate the use of multithreading?
12. What is a file? Why do we require files to store data?
13. What is a stream? How is the concept of Streams used in Java?
14. What are I/P & O/P Streams?
15. What is Stream class?
16. How are the stream classes classified?
17. Describe in brief the major tasks of input and output stream classes?
18. Compare Input stream and learner classes?
19. Distinguish ranging from Output Stream and author classes?
20. Describe the functions of the FILE class?
21. What are the most commonly used classes for handling I/O related exceptions?
22. State the steps involved in writing a disk file?
23. What is meant by initializing a file stream object? provide examples?
24. Which streams must always be used to process external files? Why?
25. What is a random access file? Why do we need it?
26. Compare random access file & Sequential file?
27. Create a Data Input Stream for the file name “Student.dat” files?
28. Create a Random Access file stream for the file “student.dat” for uploading the learner info in the file?
29. Write statements to create a file stream that concatenates two existing files?
30. Can we open an existing file for writing? If not why?
31. How would we check whether a file to be opened for writing already exists?
32. While studying a file how would we check whether we have reached file end or not?
33. Write statements to create data streams to learn primitive data from a file?
34. Write code to write Primitive data to a file?
35. Describe through improper statements how a double kind value is learn from the keyboard interactively?
36. Why should the sleep () method of thread class be enclosed in a try catch block?
37. What is a single threaded Program?
38. What are Light Weight Processes?
39. What are the values of the priority constants a. MIN_PRIORITY b. NORM_PRIORITY c. MAX_PRIORITY
40. When a deadlock may occur in multithreading?

Ten Marks

1. Explain Creating a thread, extending the thread class and an example of using the thread class?
2. Describe the life cycle of a thread?
3. Explain the use of thread methods such as yield(),stop() and sleep().
4. Explain thread priority with suitable examples?
5. What are the two ways of creating threads? discuss with suitable programs?
6. Explain about synchronization in threads?
7. Explain Inter thread Communication and suspending, resuming and stopping threads?
8. Show how to learn from and write to console with suitable examples?
9. Show how to learn from and append to a different file with suitable examples?
10. Describe the byte stream class?
11. discuss about concatenating and buffering files?
12. How to handle primitive data kinds using the I/O package .Give suitable examples?
13. Explain character stream classes?
14. Explain the concept of streams and about stream classes and classification?
15. Give suitable examples to learn from and write bytes to a file?


Unit-5

Two Marks
1. What is Networking?
2. What is UDP? discuss its purpose?
3. What is a Proxy Server?
4. What is DNS?
5. Explain TCP/IP Client Sockets?
6. What is URL Connection?
7. What is a Datagram?
8. What is URL & provide its format?
9. What is the difference ranging from TCP/IP Programming & datagram Programming?
10. What is Event Handling?
11. discuss the various mechanisms for event handling?
12. What is delegation event model?
13. elaborate the event classes and event listener interfaces in Java?
14. provide the concept of adapter and inner classes?
15. elaborate the methods in Mouse Listener?
16. elaborate the methods in Key Listener and what is its use?
17. elaborate the AWT Controls in Java?
18. discuss the different layout manager and menus?
19. What is an Audio Clip?
20. What is the use of JDBC?
21. What is a Servlet and elaborate the kinds of Servlets?
22. What is the need to go for Java Beans?

Ten Marks

1. Explain the different Networking Classes and interfaces using Java.Net Package?
2. Explain TCP/IP Programming with an example?
3. Describe the Datagram Programming with an example?
4. Give the basics of networking and the terminologies used?
5. What is an event and define the event handling mechanisms in Java?
6. What is a Event Delegation Model and elaborate the event classes and event interfaces?
7. Describe the AWT controls in Java?
8. Explain the layout managers in Java? Also define the concept of menus?
9. Write a Java Program for database connectivity?
10. Describe Servlets with a Java Program?
11. define Java Beans and the components used in it?







( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER SRM University 2007 B.Tech Computer Science and Engineering BANK : JAVA PROGRAMMING - Question Paper