BHARAT SEVAK SAMAJ
Time: 2 hrs. Max. Marks: 100
I. Fill in the blanks: (10 x 1 = 10)
1. The ---------statement is used to include another Java package in a Java source file.
2. URL stands for--------------.
3. ------------tag is used to insert an image in a HTML file.
4. The ability to take more than one forms is called--------------.
5. ------------refers to the standard input.
6. Java compiler produces an object file that contains-----------.
7. ------------is the protocol used for transferring data over the internet.
8. The smallest individual units in programs are known as----------.
9. ------------data type returns true or false values.
10. A combination of character is a ------------.
II. State whether True or False: (10 x 1 = 10)
1. Java supports multithreaded programming.
2. Java has a keyword called finally.
3. An applet can perform arithmetic operations also.
4. HTML stands for hyper text marked language.
5. Frames are used to display more than one document on the screen.
6. The compiler converts source code files into byte code files.
7. Java supports multiple inheritances.
8. Java is a high level language.
9. A package is a collection of classes and interfaces.
10. The object created by the string class can be modified.
III. Answer any SIX of the following: (6 x 10 = 60)
1. Explain about Java variables.
2. What are byte codes and Java virtual machine?
3. What is garbage collection? Explain.
4. Write a program to find the factorial of a number.
5. What are the different string methods available in Java?
6. Write short notes on exception handling.
7. Explain the life cycle of a thread.
IV. Answer any ONE of the following: (1 x 20 = 20)
1. Explain the features of inheritance.
2. What are constructors? What is constructor overloading and method overriding?