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

Core java 1

This document is an examination paper for a T.Y.B.BA.(C.A.) course on Java programming, consisting of multiple questions across four sections. Candidates are instructed to answer all questions, with specific guidelines on marks and drawing diagrams where necessary. The questions cover various Java concepts, including program structure, data types, exception handling, and practical programming tasks.

Uploaded by

adarsh.ca22028
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)
3 views

Core java 1

This document is an examination paper for a T.Y.B.BA.(C.A.) course on Java programming, consisting of multiple questions across four sections. Candidates are instructed to answer all questions, with specific guidelines on marks and drawing diagrams where necessary. The questions cover various Java concepts, including program structure, data types, exception handling, and practical programming tasks.

Uploaded by

adarsh.ca22028
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

Total No. of Questions : 5l SEAT No.

P6017 [Total No. of Pages : 2


[6144]"'503
T.Y.B.BA.(C.A.)
GA 503 t CONN JAVA
Qd1:9 P rn) (Semester -V)
Time:2% HoursJ ,,-:-- i
fMax. Marks : 70
Instructions to the candidates:
I) All ire compulsory.
questiqys
2) Figures lg ihe riglt indicates full marks.
3) Neat d,!_agtgrms ru1in be drawn Wherever necessory,

Qf Answer any Eight:


t:'
i-'1
[8x2:16]
a) \ &at is a java program structure?
'

b) Define this Keyword. ,*;",u,*, ,.... "."


c) Explain in detail the data types !rtj,p.,vtr? ,i.,;;;;,",i'

d) What is an Interface? -',,",," ;' .,,;' .

e) What is the use of Readerb'ltd Wfl class? .\..]

0 Which method is used tg,sOeciffrcontainers layout with syntax.


g) What is the default la!ftui foX"f:rame and Panel?
; a a...:.....

h) Explain Modifiers'hndAceeis Controls used in java. i

D List and explain any 2,in:built exceptions.


j) Explain the purpose gf getContentPane0.

Q2) Attempt any four.


a) Explain in detail the features ofJava.
llt'"-\ t:'
b) What are the rules for method overloadiqg. 't' "
"'V aiid r-rl€thod overriding?
Explain it with example.
c) Differentiate between interface and absffpoi.tuo'l
'z ;-^ . -". '

" d) Explain the concept of exception and\axbeptlon handling.


e) What are the different types of streams? E*plain in details.
,.ln". "

PTO.
\
\

Q3) Attempt any four. {4x4:16l


a) Write a javaprogram to display ql}qmate character from a given string.
b) Write a Javaprogram to calcda.til area of Circle, Triangle & Rectangle.
(Use Method Overloading),. 1-
c) Write a javapropq"frm to sdarch given name into the array, if it is found
then displ"y rjq,;,W";f rwise display appropriate message.
d) Write a javaffigrasi tb display ASCII values of the characters from a

e) Write ?lryaprggiiam to display multiplication table of a given number


into thEllst$ox by clicking on button.
* *, ,i,
,'^' 'iu u'L':
ui
Q4) Attemffiny four :
!.".*. l4x4:l6l
a) Wffi'bollection?ExplainCollection framewo4(ih details.
,-]"y:
b) Dffierence between Swing andAWT. n., "
't&
c) Create a package named Series h6yfu tt-rrei diflerent classes to print
series: ff%d ,5:
#;"'
t) Fibonacci series r,w.d .o1
{ *''
'"Pi
ii) Cube of numbers.6ry.e8&" #,i' '\91

ur) Square of numbe"'y ,,#."-


Write aiavaprogru,p.ffiingryB 'n'terms ofthe above series
d) Write a ojava'progrhnc,t'to,ihdck whether given number is Armstronqor
nol (Use static keywor$)"} #
e) Write a'java' progrffit'ir copy only non-numeric datafrom one fite to'
anotherfile. \' -**'
;**;* J
,\a' *i"'

a) Define new operator.


b) Define term finalize 0 method. "":# **'
"'ry
n* zqt',

't***/ * r" ".\

c) Define package with all the steps for pacffi'".pa#on


,;u "^

[6r441-s03

You might also like