Semester : SEMESTER 4
Subject : Object Oriented Design and Programming
Year : 2018
Term : APRIL
Branch : COMPUTER SCIENCE AND ENGINEERING
Scheme : 2015 Full Time
Course Code : CS 206
Page:2
14
15
16
17
18
19
20
b)
a)
D4809 Pages: 2
What is exception? List any four exception classes in Java. Briefly explain
various exception handling keywords in Java, with examples.
PART E
Answer any four full questions, each carries 10 marks
Explain event handling in Java.
Compare swing and AWT in Java.
List any five event sources and their corresponding event types and listeners
used.
What is applet? Describe the structure of applet.
Develop an applet that allows to input velocity in Kilometers/Hour, convert and
display in Meters/Second. Use AWT controls and event handling techniques.
Explain the tag used to pass parameters to an applet.
How do you establish connection between a java program and database? Explain
the steps with sample code.
Write an applet which displays the character when a key is typed. Use event
handling mechanism.
What is meant by dynamic query?
Write a Java application program that simulates a simple dictionary. There
exists a dictionary database and a table contain a set of English words and there
meaning. The program accepts an English word from the user, look up in the
database and retrieve the meaning, if available. The result is communicated back
to the user.
اد ಶೇ 2 بد
Page 2 of 2
(9)
(5)
(5)
(5)
(5)
(10)
(3)
(7)
(7)
(3)
(10)