IGNOU ‘Introduction to Internet Programming’ Paper
CS – 74: Introduction to Internet Programming
Time: 3 hours Maximum Marks: 75
Note:
(i) Question number 7 is compulsory.
(ii) Attempt any three questions from the rest.
(iii), Use Java, wherever necessary.
1. (a) Explain the features of any four Java Libraries. (8)
(b) List any 12 Java reserved words. (6)
(c) Explain the states of a thread with figure. (10)
(d) What is meant by Serialization? Also, differentiate ‘ between Transient and Volatile keywords. (6)
2. (a) Draw the hierarchy chart from java.applet.Applet class. (5)
(b) Write an applet that accepts a string as input and prints it in reverse order. (5)
(c) How does an interface differ from a class? Write at least two advantage of interfaces. (5)
3. (a) Write a program in Java that accepts a string as input and converts it to a
number. (5)
(b) Explain the final keyword with an example. (5)
(c) How are multiple exceptions handled in Java? Give an example. (5)
4. Explain any two features of Java. (5)
(b) Write escape sequence for the following : (5)
(i) Line feed
(ii) Back slash
(c) What are wrapper classes and inner classes? Give an example of each. (5)
5. (a) Explain the finally reserved word with an example. (5)
(b) Explain Class Not Found Exception and NuII Pointer Exception. (5)
(c) Explain the process of adding classes to existing packages. (5)
No comments:
Post a Comment