0% found this document useful (0 votes)
12 views

30ObjectOrientedProgrammingUsingJavaFebMar2024

This document outlines an examination paper for a Computer Science course on Object Oriented Programming using Java, scheduled for February/March 2024. It is divided into three parts: Part A consists of short answer questions, Part B includes questions requiring more detailed explanations, and Part C involves in-depth questions on various Java concepts. The total marks for the exam are 60, with specific marks allocated for each part.

Uploaded by

hypertaker04
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)
12 views

30ObjectOrientedProgrammingUsingJavaFebMar2024

This document outlines an examination paper for a Computer Science course on Object Oriented Programming using Java, scheduled for February/March 2024. It is divided into three parts: Part A consists of short answer questions, Part B includes questions requiring more detailed explanations, and Part C involves in-depth questions on various Java concepts. The total marks for the exam are 60, with specific marks allocated for each part.

Uploaded by

hypertaker04
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

IIilflffi]iltrfrflffiffiiltfflil NP - 270

lll Semester BA-/B.Sc. February/March 2a24


fddlrtion,
(NFP) (F+R)
COMPUTER SCIENCE
Object Oriented Programming using Java
Time ;2Yz Hours Max. Marks: 60

lnstruction : Answer all the Pafts.

PART _ A
4il64
L Answer any four questions. Each qr"6n carries two marks. (4x2=$)
1) What is inheritance ? 11
1

2) Define constructor. Give an example.


3) Explain the features of Java.
4) What are unary operators ?

5) What is an applet ?
6) What are exceptions ?

, PART_ B
ll. Answer any four questions. Each question carries five marks. (4x5=20)
7) Explain the features of object oriented programming.
8) Bring out the differences between C programming and Java programming.
9) Explain methoQoveniding with an exampte.
10) What are iteration statements ? Explain with an exa,mple.
1'l) EXplain the life cycle of a thread with a neat diagram.
12) what is the layout manager in Java ? Explain any two',layouts briefly.

PART -C
Ill. Answer any four questions. Each carries eight marks. (4x8=32)
13) a) Explain all the access specifiers in Java. 4
b) Write a note on Java data types. 4

P.T.O.
NP - 270 r ilIflti llilr tfl illfl fllll llll llll

14) Write a note on event handlingin Java. I


15) Explain applet life cycle with neat diagram. I
16) a) Explain any five methods of graphic class with an example. 5
b) Mention any six GUI components in Java. 3
17') a) Explain string methods in detail with an example. 6
b) Write difference between string and string buffer. 2
18) a) What is packgge ? Write a simple program and explain the steps to
create a package. 6
b) Define user defined package. 2

*.1

You might also like