0% found this document useful (0 votes)
35 views4 pages

IT 11 April 2022

This 3-question multiple choice quiz covers fundamental concepts in Java programming. It includes questions about Java source code compilation, Java Runtime Environment components, access specifiers, exception handling keywords and methods, String class methods, and array initialization. The quiz aims to test basic knowledge of Java concepts.

Uploaded by

bimix97716
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)
35 views4 pages

IT 11 April 2022

This 3-question multiple choice quiz covers fundamental concepts in Java programming. It includes questions about Java source code compilation, Java Runtime Environment components, access specifiers, exception handling keywords and methods, String class methods, and array initialization. The quiz aims to test basic knowledge of Java concepts.

Uploaded by

bimix97716
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/ 4

it,

/'tlcrrch /hpr,l - 2oZZ


;a

Total No. of Questions : 5l SEAI No. :


[Total No. of Pages
P6978 Is86sl 1 4

FirstYear M.C gement) o


ttf
IT11.JAVA G 9 UBRARY

(2 ) (Semester - I) -t
*
{Max. Marks:
Time : Zt/z lloursl
Instructions to the
1) Afi
2) Figures .full marks.

,f0-11owin b0 mu1 tiple choice questions Each. qiiestions C ATflCS half


81) ,]
L mark. l1 0 I
s. t:

,) Java. Sourc e code 1S comp

a) obj Code

C ) Byte Code
i, Fui I F orm of TzEE
a) J ava 2 En terp 11s

b) J aYa 2 Expre SS
". !r
c) J,aYa 2 Exp ert
ii'\e
!.:'\"'
d) J aYa 2 En *.#'
,)*,.'
used to Find*tnd Fix bugs in the j a a pro grams \
.ta
,,".
iii) 1S r li
+ij

L a) I\A{ b) JRE &-


'*tt "

c) JD K d) JDB \*n,i)

o that Its
19 Which of th CS e access S p EC ifiers can be used S
,l
package
members c an be accessed by a dift-erent C ASS
a) Frotected b)

Private d)
C )
an entire package
v) Which ofthe following is the correct
'Pkg'?
a) ImPort Pkg b) Iry:por1 Pkg'

c) ImPort Pkg.* d ) import Pkg.*.{'

P,TO.
4

S? :' i *,l*iit*x t
vi)
I
*

inwhich
the
abstract classlother
vii) ExcePtion 1S

a) calss b) interface

c) d) other
package ExcePtion class exist?
viii) Inw
a)
b)Java. lang

,l
ix) is used to ex
a)

a catch is not used?


x) following handles
a) flnallY
tinre sYstem
c) defaulthandler J

to monitor for excePtions?


xi) Which of these keYwords
a) try
Finally
c) throw
xii) What excePtton Int( ) method?
{\"
a) Null Pointer
l\
b) Arithmetic E xcePtiiiii .j.1
'.
rl
,.d.'
L c) ClassNot F ^-,i
:r
d) Number on i,.t*'
character at
used
xii, Wrich of these method of string class IS

specified iuclex?
a) charQ b) Charat0

c) charatQ d) char

xiv) At time of arraY initializati on which is


a) Row b)
c) Row and Column d)

xv) String class imPlements-'


a) Serializable b)
the above
c) Chat Sequence d)
7
tss6sl - 101
I

tmARy
xvi) Intern$ methocl of string class used tbr f
for the string object. *
a)
ends of string
b)
c) a lbrmatted using the sPecified format string

d) of substrings.

xvii) Which is not


a) b) Border LaYottt

c) d) Gridbox LaYout
is changed?
xviii) generated when the size of an control

a Event b) ContainerEvent

a FodilS Event d) Size Event ,.i..,


{
JD BC model.
xix) Whiiiof the following are the components of thP
1),l'i l' Java aPPl i cation r*utl

Z) JDBC Driver
3) Database
(3) only
a) (1) and (2) onlY
( 1), (2) and (3)
c) (1) ancl (3) onlY d)

xx) A Servlet maintain


a) Servlet ,.:'',,H) Sen4et context
-.
c) Servletreque , ," d) Servlet response

Q2) a)
group,

events.
Design ttser inteface using awt componants
t6l
t4l
b) Explain aclapter class and give example'
OR
handle events. t6l
a) Design a traffic signal usingAWT
,"i
w t4l
b) Explain list collectionwith example

3
tss6sl - 101
83) a) Ybur College is organizing cultural events, create a simple application
using servlet to collect namo class, genderin which activity
he is interestecl to participate this data is database. t8l
b) Explain preparecl statement. 141
R
a) Design UI to er of students using AWT/SWING and
display like narne, ciass marks, age and gender by
fetching it e
(use selv
t8l
b) cycle. t4t

84) a) list and vector. F]


b) polymorphism. 13l
OR .ffi'
4 Exnlain Tree setwith example.
t.
-e,
._i 1
IsI
b) Eryplain super keyword. {h' 131
3;'
8s) a) Explain different types of le in Java. I4l
b) Explain diffbrent types of le in Thread class. t3I
c) D itTerentiate charac ter
t3I

a) Explain nested {41


b) Explain t
t3t
c) Explain scanner.
i.i,r}RARY

1 -.-'

L -- ***, '1.! t

1,

*.,

[s86s] - 101 4

You might also like