Вы находитесь на странице: 1из 1

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

PROGRAM : B.TECH (IT) DURATION : 3 HOURS


SEMESTER : IV MAX MARKS : 100
COURSE : PROGRAMMING IN JAVA

MODEL QUESTION PAPER

PART – A 8 x 5 = 40
Answer all Questions
1. How array variables are declared and used in java programming with simple
example
2. Differentiate the following keyword
a. final b. finally c. finalize
3. How user defined exceptions are used in our program with suitable example.
4. Write a java program to implement Inter Applet Communication
5. Write a java program to create three buttons named RED, GREEN and BLUE,
when you click the button you change the background color of the frame.
6. Explain Anonymous inner class with example
7. What are the types of four drivers in jdbc. Explain any two.
8. List the differences between awt and swing and write a simple swing program to
create a radio button.

PART – B 6 x 10 = 60
Answer any six Questions
9. a. Explain the features of java program. [7]
b. What are the properties of abstract class [3]
10. a. Explain how exceptions are handled by java program with suitable example[7]
b. What are the characteristics of constructors. [3]
11. a. What is meant by synchronization. Explain with simple example. [7]
b. What is the difference between length in array and length in string class [3]
12. a. Write a java applet program to animate the image [7]
b. List the differences between getCodeBase() and getDocumentBase() method[3]
13. a. Write a program in java to display the student mark list using jdbc [7]
b. Differentiate the following [3]
i. Statement ii. PreparedStatement iii. CallableStatement
14. a. Write a java program to simulate a calculator [7]
b. Write the default layout for Applet and Frame [3]
15. a. Write a java program to read a string from the keyboard and write into a file
and read & display the content from the file. [7]
b. What is meant by serialization and what is the use of serialization [3]
16. a. Write a java program to implement the multithreading concept [7]
b. List the differences between abstract class and interface. [3]

Вам также может понравиться