0% found this document useful (0 votes)
26 views2 pages

BSCCSC 381

Question paper

Uploaded by

Kavyashree B
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views2 pages

BSCCSC 381

Question paper

Uploaded by

Kavyashree B
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Reg. No.

*BSCCSC381* BSCCSC 381


Choice Based Credit System Sixth Semester B.Sc. Degree
Examination, September 2022
computer science
Object Oriented Programming with Java
(2021 – 22 Batch Onwards)
Time : 3 Hours Max. Marks : 80

Note : Answer any ten questions from Part – A and one full question
from each Unit of Part – B.

PART – A (10×2=20)

1. a) List any four benefits of OOP.


b) Write the meaning of System.out.println().
c) What is dynamic initialization of variables ? Give example.
d) What are classes and objects ?
e) List and write the purpose of any two string methods.
f) What is the purpose of finalize() in java ?
g) What are abstract classes? Give example.
h) List and write the purpose of any two built in exceptions.
i) What are final variables ?
j) What is the purpose of wait() and notifyAll() ?
k) What is an applet ?
l) What is the purpose of update() in applet ?

PART – B
Unit – I
2. a) Write any five differences between java and C.
b) Explain labelled loops with suitable example.
c) Explain different basic data types available in java. (5+5+5)

P.T.O.
BSCCSC 381 *BSCCSC381*

3. a) Explain different features of java.


b) List and explain arithmetic and logical operators in java.
c) Write a note on java streams. (4+6+5)

Unit – II

4. a) Explain different access modifiers in java.


b) Explain how to pass variable length arguments with suitable example.
c) What is constructor ? Explain with example. (5+5+5)

5. a) Explain the use of static methods with example.


b) Explain method overloading with suitable example.
c) What are arrays ? Explain how to declare, initialize and access one
dimensional array with example. (5+5+5)

Unit – III
6. a) Explain single inheritance with example.
b) Illustrate the use of finally with suitable example.
c) Explain how to create and use a package in Java with example. (5+5+5)

7. a) Explain exception handling in Java with suitable example.


b) List and explain different API packages available in java.
c) Explain method overriding with suitable example. (5+5+5)

Unit – IV
8. a) Explain the process of creating a thread by implementing Runnable interface
with suitable example.
b) Explain how to pass parameters to an Applet with suitable example.
c) List and explain any five thread methods. (5+5+5)

9. a) Write the complete Applet skeleton.


b) Write a note on thread priority.
c) List and explain the components of Delegation Event Model. (5+5+5)
_______________

You might also like