APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : B.Tech

Semester : SEMESTER 4

Year : 2019

Term : MAY

Scheme : 2015 Full Time

Course Code : CS 206

Page:2





PDF Text (Beta):

12

13

14

15

16

17

18

19

20

a)
b)

a)
b)

a)
b)

a)
b)
a)
b)
a)
b)

a)

b)
a)

b)
a)
b)

D1052 Pages:

PART D
Answer any two full questions, each carries 9 marks.

Discuss the different access specifiers used in java.
Explain how inheritance is implemented in Java. What is the use of ‘super’
keyword? Illustrate its usage with suitable examples.
Discuss about any two stream classes used in Java.
Write a Java program to create two threads: One for displaying all odd numbers
between 1 and 100 and second thread for displaying all even numbers between 1
and 100.
What are abstract classes?
Create a user defined Exception ‘InvalidNumberException’. Write a Java
program that computes the average of N positive numbers given as Command
Line Arguments. Raise the Exception ‘InvalidNumberException’ on reading a
negative number or zero as input.

PART E

Answer any four full questions, each carries 10 marks.
Explain Event Delegation model in Java.

Discuss any four methods used for string processing in Java

How can we pass parameters to an Applet? Explain with an example.

Discuss how fonts are managed in AWT with suitable examples

What are layout managers? Explain any one layout manager with an example.
What are Adapter Classes? How do we make you adapter classes while
handling window events?

What are dynamic queries? Explain how they are processed with suitable
examples?

Explain the life cycle of an applet

Discuss the different steps involved in establishing a JDBC connectivity and
query processing with a suitable example.

What are the differences between a Java applet and a Java application?

What is the use of paint() method? How do we invoke it?

Discuss any two AWT controls, the events generated by them and how they are

handled with suitable code fragments.

Page 2 of 2

(4)
(5)

(4)
(5)

(3)
(6)

(6)
(4)
(5)
(5)
(5)
(5)

(5)

(5)
(7)

(3)
(3)
(7)

Similar Question Papers