Fifth: Total
Fifth: Total
, -
Fifth Semester
Co mp uter Science and Engineering/Information
Technology
Scheme OCBC 2019
JAVAPROGRAMMNG
Time : Three Hours Maximum Marks : 70
Note :I A117 Questions areCompulsory. Intemal choices has been
given in eachLO (LeamingOutcome).
qtfr z qaq 3Tm tr Giidfuo fr.m-fl y-cio ro (dffirT silscqrq)
{Rqqqtr
D In case of any doubt or dispute, the English version question
should be treated as final.
fu-S lfr non b vik ererqr fuqK fr Rft { eiM qlqr b
qQq'o) eiftq qnr qrtnr
a. LO Questions Marks
Questions
What is Data tYPes of Java? ExPlain'
qrqr it frfus Pata types T{T tf eqsEqt
Contd.....
81202317160
i3l
a. LO Questions Marks
b) Explain wrapper class in Java. J
qrqr ii wrapper class o\ qlt-5l.r{gl
a
c) What is package inJava? Explain JavaAPI J
package.
sl-al ii package 4qr Ei-A tZ qr4t ,q.Pt
package m} eqgrEqt
oR/3Te.Flr
threadwithdiagzm.
qrqr fr threadqqT di tz threaoh d-cm
Tfr o1 fu{ ERr sqE[rEql
J
4. LO9 a) Define threadpriority.
Thread priority o1 qEEIiqg I
OR/3TEt[T
Ft202317160 P.T.O.
l4l
a. LO Questions Marks
c) Create your own exception and explain it. 4
go exception create +-<h s-qEn qqg6ql
Stream classes d
eqgr{qr Byte stream
classes dUT character stream classes 4rll
tt-ft tiqqsrgsl
b) What is File class? How do you create a 5
file in Java and read/write character in file?
Explain?
File class Tqr ilfr $7 vr+r ii enq file ft-s
*F-t-{ create entt deJT sst fu-s ron
character read/write mti ? sqgr{q I
OR/3TE?TI
F12023t7t60 Contd.....
t5l
a. LO Questions Marks
b) What is random access files? Also explain 6
concatenating and buffering fi les.
OR/3TE.IT
Ft202317160 P.T.O,
t6l
a. LO Questions Marks
-erGr:€e-
B t2023t7160