0% found this document useful (0 votes)
14 views10 pages

Adobe Scan Oct 07, 2024

Ok
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)
14 views10 pages

Adobe Scan Oct 07, 2024

Ok
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/ 10

Programning fumdanmentals

Ut
Mulfiple choe Queskos
an aloeu
whieh sk keyword
Specbier ?
(a Vod (b) pabl'e c) presteched (ds paivate
2. whi ch the kallewing key word r not ateL
to

void cby puslie cy protecfad cdy privfe


Cay
3, teet ?
whlich o7 the bellowivg shatemt is tma Sub clas
(a) A
buper class is a subset ot kiest is a
(b) clas Seond extends sirst means
Sub class a
extends birst means Jecond '
c) clas Setsnd
Superc clels
(dy None ok t above
4. wuieh a6 t
characfers Seom a string ? a

(a) Substre) takestring c)


(C)

cby Sabstning ) cy ert ac


bel uing mthnda doelnt atept
argumans?
(a) pow) (by toowercalec)

the valid mefhod


class
(ay
Lorgfh
cby Concat c)

operatint ?
(0 Math
8 whch os te kollousing mathod is use to retrieve
table wottout modiky cng te contents
the tabla ?
tay Exeetutey c) QuanyaKeutec)
cby Quey)
: whi ch st the
sollowÝg c(as liLraries au.
estentially rquintso a onneeton
H daabale aotieve Jata ?
ca) Driver mHanayue cc) stafement
cy Connecfion
twhich o7 the Bellouwing is not prcamitve detatype
in java ? (C) cha
(a) Float cby lnt Co void
to mo ve to

the
(a) Nexto cb kindnextc)
a new la kom an exiting
Tue Proces
celled
ert afi"
as
clas
(a) Encapsulation (e) Abstra cfien
tbj lnheri tane cdy method
13. which detines parnt-child Relationslip betweLn cases?
(ey (nherifanc
(a) perived cla
elas
cbj Abstraction
nhenifane i called .
The cla o7
cild clas (c) Deived clos
(a)
Jub cls
cyide the cls ane knocn
The Buncftoa declaned cy. child clay
cc) Sub clae
(a) methocds (b) clas
raralenfi. nec estary called al

clals by bidig the backgrouia


Encapsulationce) bafa nMem ber
(ay DaBa ALstraon
te clas
dec(aread cnaide
I4. Te variable
cy Dafa Abstra
cay Data Membe
sulotion
Ancap cy Method
cb) Data praveded
18. The mefhode Cuich
ibrany are called (9 clas
(a) Muthod
method cay object
en-built dekentd dabined by
(6method which
Called
ammee thmseves are
User dafine d methtd
Method
cey
chy n-bulH
also
called al
are

20 Modsien
() Aecess
2l. A clas properties ob an
cnherits
parant cless, it is Kno wn cc) Multiavel nherutanu
(4) singl cnhecitane
inhercifance (dy None ot tkete
(b) Multiple
22. clas inurit properfiel oot more than
A
parent clases, t & called
inherafana
Co) Singe inheritancL
(C) Multilevel
inheritance cdy Multipath inhenifeni
cb Maltiple a mmlee lavel
23, A cald claywich iss deriyed bes
Seom
s kuether darived breoy
parent cclay we
parent clay is called
anoter parent cnkeritancE
coMultipu
(a) Stnge cnlarstance
Sinyla Hybrid inhaufanca,
inheifane cdy
cb) Mutt levet prapent'l
24 Morce than cild clatses inkeris
ne, as
Ce)
Hybrid tnkritne
taj Mutf level ihenifana tierar chi cay cnler k
Mult'path cn leritance cd
ch
25 A caild class inherit prepent:el os parant
Srom morre, thanone path . s calee
(y Maltipath tnkerrefancq Hybeid in
inhnitan c
cbo multipl cn henifance dy sengle
tottr h

(oJ Multipath iniaeritan ey Doubll thhvetayd


cb) Hybrid nlanitay
24 Java Gbrsy also cl|ed
(a) meinods
cby cl
shich meand a Set clsractere cwreffay
oith doubla quofes.
Cay Kayboortd
29 which buntion 'add
Curent
cb joènc) cey Concat) Al HoR
(ay Addc
30. which oV e blank spa ces
nethod/ buncfon remove
the,
(a) clear c)
3- ldent:ky te Cofeeet desinitioY1 package.
cb) A patkage s
collection s editing toe
packoe collecf'on o clesses qinterckacos
collection tnfersaca
32. Number o prinitive data types n iova
(ay (C) 8
33. What ue sie ok kloat and doutle in java ?
(a) 32 and sy. ) 64 and 64
(b) 32 ah 32 ca) 64 and 32
34: Arrcays n java are
(a) objeef cajerance, C) primaive deta ye
cby objeet
39. wked java, prespamy?
Who ènvented
(a) Denit Ritchie ce) Jamel Gosling
cb Tom Thomeson (dy Jame Bernen Let
36- whi ch comorsnt wed to compila, dabuy
and execete He
te java program
(a) JRE

34. wich one not aa java Seatuat)


ss the kollowig s not
(a)
(c) portabl

38. wich ols canmt be ued Sor a variabl


name tn java ? C) Keyword
(a) cdontibier 4kyord
cb) idntibiere
ot java code bis ?
34. what is te extensio
(a) fxt (c) java
chyclals
40. wich the kollowinp is not dn 60ps concept
in Java ? te) compilatin
cay polymnplism iafioy
cby nhecifane cy En caps u
tie extention t conpiled java clases ?
s
(C) "java
cby's select statement
s a
42. whch one ot the ke/los ing (d, ku
n java? (ay breaK b) Contin ue ce) Sorc )
43 wich ed
t's sed ker arceslig the sootunA
keyuend
dk a package ? (c) extends coy eKpor
(a packege cb) import take nput
44. Which clas tn java ts
in java ed to
ts s ed
Isrom the ert ?
(nput y Applier
Applier cy None dt heu
(ay ey
Seanhue doy Variabu ch jae )
4S. wich type sk
(ay lnance vaiable
) sfatic rarialle
cby Lscal vaiase cdy
can be
bina n java ?
(a) e(ess cb) Mathod
47. Abstreact
(aj Createded ingg abstact Keyisord
cby Confain!
Contai'nd only alstract matho d
ong
letds to Vbe inherited to be.
cdy u Hese
whichok the b.llsuwtng ènheri tance o7 cles
s cn Vaid injava ?
(a) Sigde coy Muttipk (y Malttale d Hienanchie!
49. which non-accels mo dib'er)
(a) publie ch Private (e)

extract kllowi triy in java ?


(ay

(ay Abso ute window toolkit


cb) ALstract windos foolct
Cc) Absolute werc kct
S2. whieh ok te Gollo using SperaforA e esed to
Perborm medulo divisioy in jave ?
(a) /
S3. whieh .o7 te
perctorm bitwise AND i Java ?
(a)
s. which te nof valid pramitive
data type in java ?
a) nt cby bloat
55. which a
th 5llooing operators A sed to pensor
Hebt sikt in java ?

56 wich os tue esnditiond opereatore


èn jaa ?
(a)

57. operafor is a
Symbel latter whieh causel

(a opentor ce) Keyo rid


cb) opereand called
An pecaore acts n dikKserunt deta items
(a) erator keyword
operand statement wich is composed ok
yalul.
more
operanda and retuens
(a) Statement ce) Exprion
predasened
The pro ces ealed
Cohwerttecd tnto anofuer t yPe
expralsions cc) stafemnt
cdy variable,
(b) Conversion ne 'ne character ?

caj a cby ln
yasiable ot type chrc
62.
ca) 4 bye câ) 2byt e
63 ofperator 4
(a) Pinay operaforc

oR sperafor ts nepneented by
64

type o tonsfont s place


65.
acfer

Ca)
double quote
cb) Single guote
HTML Qulston (ae.
Unit MultipleL chole
1. HTML stands
(4) Hypere trans mn'ssion MarKup lang

ce) ypertexf transBer martkup lange


cdy None s the, above
2A what Yame ok HTML bile?
(a) -htm cb) html Ce) tml cdy Both ay 4(b)
3. wieh progra moning longa Kor design
Web puge ? heje
co) HTML ce) JAVA, (d) AIl
which pregram design webpage?
(9 MS OPFlCE
cb) HTML
5. hich
Wheh tag contains title sk the web page ?
(c) <TITLE)
(b) <HEAD), elemnt ?
b. whch tg cont ains
(a)
heading
(b) <HEAD)
7 wich os the kollocng tag contains empy tag?
(a) (ttML) (e)TUTLE)
(di (PsoDY?
8. which traate underline the
fext ?
Stz0 a the horiz0nfal
The
(a) 2 pirel ce) 4 pixel cdy Gpixel
w hieh used Kore ine break
(a) <LB)
4TML are plaed between
(a) td) <7
l2.
HTML tag be wrutten e'n Ltters.
(oy Copètod co Small
13. Which ta s w ed to pply te baekgraund
oslorts
Caj <BatKgrsund <bgolor)
cho (Backgraund solon) cd) <bqeolour)
14 Which html teg to niert the ttle
the html docun ?
(a) < TITLE do) <HEnD)
types ot tgo n htni?
(a) predekind tag
cb) User delsind tag togs ed ony bor linking
cd Languak speusic ta
l6. Empty tags raquire.
(a)
cby par tag'
(c) both singe 4 pare tag
4. whieh LQ ed to nsert a horeizonfal
(C) (PR) (d)(EM)
18. Weh among the bolls wing wilU creete a bulleted
liat ?
(a) ordor cby Unoreador
does not raquire closing to?
(a) (HrML) (b) (HEAD
2,b The
én
tdsplay the tnkormationread webjag
(HTML) cby <TITLE ) <BoDy> (d (HEAD)
(a)
21, Wieh atreibute moli7ies the dekault baskqveund
color ot your wab pag?
text
(o) Psacground )
ist by ohi ch s7 the
can crUete number
2.2. you
<DIR)
would name the talic text ?
23.
;te) <stye) td)None o these
cb) <°7
(aj <ifali c as wel/ ad
cantain!
Containw cb Empty
ca)
25. Which tag duesnat naguit closing ?
Ca). contari (byce) pair di singl.
tb Empty
Empty
specibies tu labt and fop
2b: Whilh ta ?
margins t the webpage ?
ca) <HTL)
cb) <HEAD)
with
help
Can also
aftribute
headig
(a) alifn Right (d)dyCenter
28.
The tert
align by deba
a
web pa
27. you Hhe
to have Line
(a) Weight (bo sire height
20. wich ss used sor canter the
kollo wig
text os the webpage ?
Cay <entery () (mldd
cb < antre arl colled
3|:

container one
ce) phys a dy theie
(a) nty cby
32 ybu Can dabiniton lust witth the
a

Coj <oL
33. HTML a

(aJ parkg
34. which html t should you uued to dispay
powec tn a yarciable ?

an Oreaer the lost tem


35.
debalt
the -orcalerc
aj
None ts
chy nestendny
36. which htmlfo deplays text
Sma (les ?
headg cb) <SMALL) C) <H67 cdy <437
The type attribute has te dokauE valuu
cb) circcla
(a) Square
38. The Speccbies that tte doceent is
html docuemnt,
CeKBoby> (y (pAGE)
(ay ((Heady ch) (tTMLY
39. Tle tag 8ves the title to an htl documunt.
(a) (HTML cb) (HEAD> cc) <BoDY cd <T tLE>

HML Command ce) Da fabase. Command


(b) o++ Com mand cdy Jara Function
to dosing
41. which
(CLTR) d (TABLE
(a) <HTMLY cb <TD}
42, ln HTML
tabus table ow Lsined by
(a) <TH
thee tag belong to table ?
(a) (tble>, <try tt
tb) (table tre) <td.
<Psody <tah les, <tr)
<head ( Psodyy <table)
the table be nepreseted
Each eell

by ing cb) (tdy


bedween cell content
and
In HTML tables space
border ts alled ce) Cul dtserence
l coll paddig above
cay
ch catl spaci

You might also like