You are on page 1of 1

CONTINUOUS ASSESSMENT EXAMINATION – II

PROGRAM : B.E. CSE / B.TECH IT MAX. MARKS : 30


COURSE TITLE : PROGRAMMING IN JAVA TIME : 1 HOUR
COURSE CODE : SITA1301 SEMESTER : III
BATCH : 2021 – 2022 DATE : 27.10.2021

PART – A ANSWER ALL THE QUESTIONS 5 X 2 = 10 MARKS

Q. NO. QUESTIONS CO (L)

1 What is the Difference Between Byte Stream and Character Stream in


Java CO2

2 Why do we use wrapper class in Java with example? CO3

3 Define Applet. Should Applet have constructors? CO4

4 Which event will be generated if we close an applet's window CO4

5 Name the methods which are used to register a keyboard event listener CO4

PART – B ANSWER ALL THE QUESTIONS 10 X 2 = 20 MARKS

Q. NO. QUESTIONS CO (L)

6 Create a program that reads string input from the user. write the string CO3
content to the file"output.txt" using OutputStream class.

OR

7 Explain the reader and writer class with all its methods. CO3

8 Explain about Applet Life Cycle and write a java program to


CO4
demonstrate Passing Parameters to an Applets

OR

9 Explain about steps in event handling and create a program for mouse
CO4
motion using Mouselistener

You might also like