Cit 853

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 35

RALPHCONCEPT CALL081

40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

OCTOBER,201
9EXAMI
NATI
ONS

COURSECODE:CI
T853

COURSETI
TLE:I
NTERNETCONCEPTSANDWEBDESI
GN

CREDI
T:2UNI
TS

TI
MEALLOWED:2HOURS

I
NSTRUCTI
ON:ANSWERQUESTI
ON1ANDANYOTHERTHREE(
3)
QUESTI
ONS

Q1a.Di st
inguishbetweentheInter
netandtheWor ldWideWeb( WWW) ?(8marks)
Answer
TheInternetisagl obalnetworkofnetworkswhi letheWeb,al soref
erred
formallyasWor l
dWi deWeb( www)i scol
l ect
ionofinformationwhichis
access
edvi atheInter
net.Anot
herwayt olookatt hisdi
f f
erenceis;t
heInter
neti
s
i
nfrast
r ucturewhiletheWebi sservi
ceont opoft hati
nfrastr
ucture.

b.Expl
aint
hef
oll
owi
ngI
nter
netconcept
s:

(
i)CSS(
3mar
ks)

(
ii
)JavaScr
ipt(
3mar
ks)

(
ii
i)XML( 3mar ks)
Ans wer
Cas cadi ngSt yleSheet s(CSS)isas tyl
es heetl
anguageus edtodescri
bethe
pres ent ationsemantics( i.
e.thelookandf ormatti
ng)ofadocumentwr i
tt
eni
n
amar kupl anguage.
XMLs tandsf orExt ensibleMar k-upLanguage.Amar k-
upl anguage
speci fiest he
str
uct ur eandcont entofadocument .
JavaScr iptisas cri
ptingl anguagethatcanbeus edonbothcl i
entand
servers i
de.J avaScriptaddi nt
eract
ivit
yt oWebpages .

c.WhatisHTML?(
4mar
ks)
Answer
Hyper t
extMark-upLanguage(
HTML)i sastandar
dlanguageforcreati
ngwebpages
.It
providest
agsthatmakedocument
slookatt
racti
veusi
nggraphi
cs,fontsandcol
our
sto
enhancepres
entati
on.

d.Expl
ainhow t
abl
esar
ecr
eat
edi
nHTML??(
4mar
ks)
Ans
wer
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

Tocr eat
etableinHTML,usethe<tabl
e>tag.Atableconsi
stofrowsand
columns,whichcanbesetus
ingoneormore<tr>,<th>,and<td>element
s.A
tablerow i
sdefinedbyt
he<tr>tag.Tosett
ableheader,uset
he<th>tag

Q2a.Wr
ites
hor
tnot
esont
hef
oll
owi
ngt
erms
:

(
i)Domai nNames( 3mar ks)
(
ii
)IPAddr ess(3mar ks)
(
ii
i)SNMP( 3mar ks )
(
iv)HTTP( 3mar ks )
Answer
HTTP–Thi sisknownashypertexttransferprot
ocol
.Itisaconnectionless
text-
bas edpr otocolt
hroughwhichclient
s(webbr owser
s)sendr equeststo
thewebs erverf orcert
ainwebpagesandi magestobedisplayed.
SNMP–Thi sisknownass impl
enet workmanagementpr otocol
.Itisa
protocolthati susedtomanaget henetwork

DomainNamesar ecomposedof3or4par t
snamely:Host
name,
Organi
sat
ion,Sub-
domains(opt
ional
)andCount
ryname.

b.Defi
netheter
m TCP/I
P( 3marks)
Answer
TCP/IPisact
uall
yacoll
ecti
onofprotocol
s,orrules
,thatgover
nthewaydat
a
t
ravelfr
om onemachi
netoanot
heracrossnetwork.

Q3a.Di
sti
ngui
shbet
weent
hincl
ientandf
atcl
ient
.(6mar
ks)

Answer
ThinClient
Thatis,aclientwi
thazer
ocodelayerthathasnocust
om appl
icat
ioncode
runni
ngoni t.
FatClient
Thisi
saCl ientwit
h1to3appl
icat
ioncoderunningoni
t.

b.St
atet
hreeadvant
agesofus
inganObj
ectOr
ient
edPr
ogr
ammi
ngLanguage
li
ke

JavaScri
pt.(6mar ks)
Ans wer
•Br eaki ngdowndi ffi
cultprogrammi ngpr oblemsi ntos
impl erproblemst hatcan
solvedbyi nventi
ngdi ff
erenttypesofobj ectstos olvet
hes mal l
erpar t
soft he
probl em
•Gr oupi ngorcollect
ionofdat aandwaysofwor kingwi t
hdat aintologicall
y
cohes iveobjectsthatdonoti nt
erferewithot herpar t
sofyours cript
.
•Obj ect scanber eusedormodi fiedeasil
yf orreuseallowingpr ogrammer sto
avoi dr ewrit
ingtoomuchcodef rom scratchwhenanew pr ogram isneeded.
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

c.Li
stanyt hreelayer
softheOpenSt
andar
dInt
erconnect
ion(
OSI
)model(
3
marks)
Answer
Applicati
onLayer
Presentati
onLayer
Sessi
onLayer
Trans por
tLayer
Networ kLayer
Data-LinkLayer
PhysicalLayer

Q4.a.Di
ffer
ent
iat
ebet
weenr
elat
iveandabs
olut
eURIpat
h(4mar
ks)

b.Writ
eoutasimpl
eHTMLcodet hatpl
acesJ
avaScr
iptatt
hehead(
5mar
ks)
Answer
<HTML>
<HEAD>
<TITLE>JAVAHEAD</TITLE>
<SCRIPTLanguage=“
JavaScr
ipt
”>
</SCRIPT>
</HEAD>
<BODY>
</BODY>
</HTML>

c.Bri
ef l
yexpl ai
nanyt hr
ees ecuri
typrotocolsthatens
urethepr ivacyofe- mails.
(6mar ks)
Answer
•SOAP-anXML- basedpr ot
ocolusedtot r
ansferWebs ervicesovertheInternet
.
•WSDL( WebSer vicesDescript
ionLanguage)-anXML- basedl anguagefor
descri
bingaWebs ervi
ceandhow t ocallit.
•UniversalDiscoveryDes cri
pti
onandI nt
egr at
ion(UDDI)–t heyellow pagesof
Webs ervices

Q5.

a.Youhavej
ustbeenempl
oyedasawebdevel
operi
naneCommer
cecompany.
Using

HTMLcode,des
ignas
impl
ewebpaget
hathast
hef
oll
owi
ng:

I
.CSScodeattheheadthatt
hatgi
vesthepageayel
low backgr
oundcol
or
(
3mar ks
)
I
I.Gi
vesthepagethet
it
le“WebProgramming”
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

(3mar ks
)
II
I.Creat
eahyper li
nkt oane-mai lwitht
it
le“ sendmai ltoauthor
”.
(3mar ks
)
answer
<html>
<head>
<tit
le>WebPr ogr ammi ng</t i
tl
e>
</head>
<body>
<br>
<h3>Navi gati
ngt hroughWebPages </h3>
<imgbor der="0"s rc=”Pictur
e0009.JPG”width="75"height
="50">
<BR>
<HR>
<AHREF=" Exampl e4.html"
>Backt oappli
cation4</A><BR>
<AHREF=" mai l
to:oyel ade@yahoo.
com">SendMai ltoAuthor</A><BR>
</body>
</html>

b.Wr i
teont heHTMLf ormats tr
uctur
eofas impleform wit
hatextf
iel
dand
submitbutton.
(6mar ks
)
Answer
<form>
<inputtype="t
ext"i
d="fir
stname"name="fi
rstname"><br>
<inputtype="t
ext"i
d="lastname"name="
lastname"><br><br>
<inputtype="submi
t"value="Submit
">
</form>
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

APRI
L/MAY,201
9EXAMI
NATI
ONS

Course:CIT853–Int
ernetConcept
sandWebDes i
gn
CreditUnit
:2
Ins
tructi
ons:Ans
werQuesti
on1andt hr
ee(
3)ot
herques
tions

Q1 a.Des cribetheconceptint
ernet? (8
mar ks
)
Answer
TheI nternetors implyt heNetasi tisof t
encalled,s tandsfori nt
erconnect
ed
networkofnet worksonagl obalscale.I
tmakesi tpos s
ibleforcomputersallover
thewor ldto,sendandr eceivemessages.Iti
saninternet-workofseveralhostsand
thei
rnetwor kstogethert
of orm alargernetworkofgl obalmagnitude.

b.Wr ites hor tnotesont hefollowi ngt erms:


(i)CSS (3
mar
ks)
(ii)J avaScr i
pt (3
mar
ks)
(iii)XML (3marks)
Ans wer
 Cas cadi ngSt yleSheet s(CSS)i sas tyl esheetl
anguageus edtodescri
bet he
pres ent ations emantics(i.
e.thel ookandf ormatti
ng)ofadocumentwr i
tt
enin
amar kupl anguage.
 XMLs tandsf orExtensibleMar k-upLanguage.Amar k-
upl anguage
speci fiest hes tr
uctureandcont entofadocument .
 JavaScr iptisas cripti
ngl anguaget hatcanbeus edonbothcl i
entand
servers i
de.J avaScr i
ptaddi nteractivitytoWebpages .

c.Def i
neHTML (
4
marks)
Ans wer
HypertextMar k-
upLanguage(HTML)isastandar
dl anguageforcreat
ingweb
pages
.I tprovidestagst
hatmakedocument
slookattr
activeusi
nggraphics
,font
s
andcolourst oenhancepres
ent
ati
on.

d.How ar
efor
mscr eat
edi
nHTML? (4
marks)
Answer
For
msar ecreat
edwit
hinanHTMLdocumentus
ingt
he<FORM>cont
ainert
ags.

Q2 a.Br
ief
lyexplainthefoll
owi
ngt
erms
.
(
i)Webbr owser (
3mar
ks)
(
ii
)Webs erver (
3mar
ks)
(
ii
i)
Dat
abas eserver (3
marks)
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

(
iv) HTTP (
3mar
ks)
Ans
wer
1.Thebr owser sinterpr etHTMLdocument s.Theyar eus edt oview texts
,
vi
deosandaudi osaswel lasgr aphicsf i
lesonwebpages .
2.Thewebs erveri sr es ponsibl eforcommuni catingwi ththebr ows erwhilethe
databaseser veri sres pons iblefors t
oringther equi r
edi nformation.
3.Thisisapr ogram t hatpr ovi desdatabas es ervicestoot hercomput er
programsorcomput er s
.Theyar eresponsiblef ors t
oring,ret
r i
evingand
manipulati
ngt hedat ai nt hedat abas eorot herr eposit
ories.
4.Hyper t
extTr ans ferPr otocol( HTTP)i sapr otocolf orcommuni cati
onont he
webandi ts uppor tst hecl ient-s
ervermodel .Thecl i
ent-si
decommuni cates
withtheserver -si
det hroughHTTP.

b.Explaint
heterm TCP/IP (
3
marks)
Answer
TCP/IPisactuall
yacol l
ecti
onofprot
ocols
,orrules
,thatgover
nthewaydata
t
ravelfrom onemachinetoanot
heracros
snetwork.

Q3 a.Di stingui
shbet
weenthi
nclientandfatcli
ent
? (
6
mar ks)
Answer
ThinCl i
ent
Thati s
,aclientwithazer
ocodelayerthathasnocustom appl
icat
ioncode
runningonit.
FatCl i
ent
ThisisaClientwith1to3appli
cat
ioncoderunningonit.

b.Statet hr
eeadvant agesofus inganObj ectOr i
entedPr ogr amming
Languages uchas
JavaScr ipt
. (
6
mar ks )
Ans wer
•Br eaki ngdowndi ffi
cultprogrammi ngpr oblemsi ntosi
mpl erpr oblemst hatcan
solvedbyi nventi
ngdi ff
erenttypesofobj ectstos olvethesmal lerpar t
soft he
probl em
•Gr oupi ngorcol lecti
onofdat aandwaysofwor kingwi t
hdat ai ntologicall
y
cohes iveobj ectsthatdonoti nt
erferewithot herpar t
sofyours cr ipt.
•Obj ect scanber eusedormodi fiedeasil
yf orreuseallowingpr ogrammer sto
avoi dr ewr it
ingtoomuchcodef rom scratchwhenanew pr ogram i sneeded.

c.Li
stt
hreef
act
orst
hatl
edt
othegener
alaccept
abi
li
tyoft
heWWW?(
3
mar
ks)

Q4. a.Di sti


ngui
shbet
weenr
elat
iveandabsolut
eURIpat h (
4
marks
)
b.Wr
iteoutasi
mpleHTMLcodet hatpl
acesJavaScr
iptatt
hehead (
5
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

marks)
Answer
<HTML>
<HEAD>
<TITLE>JAVAHEAD</TI TLE>
<SCRIPTLanguage=“JavaScr
ipt”
>
</SCRIPT>
</HEAD>
<BODY>
</BODY>
</HTML>
c.Di
scus
sanyt
hreesecur
ityprot
ocol
sthatens
uret
hepr
ivacyofe-
mai
ls.
(
6mar ks)

Answer
•SOAP-anXML- basedprot
ocolusedtotrans
ferWebs
ervicesovertheInter
net
.
•WSDL( WebSer vicesDes
cript
ionLanguage)-anXML-
basedl anguagefor
descri
bingaWebs ervi
ceandhow tocallit
.
•UniversalDiscoveryDescri
pti
onandI nt
egrat
ion(
UDDI
)–t heyellow pagesof
Webs ervices

Q5.a.Youhavej us tbeenempl oyedasawebdevel operi nanOr derProcess


ing
Organis
at i
on
Us i
ngHTMLcode,des i
gnas i
mplewebappl icationtodot hef
ollowi
ng:
I. di s
pl ayani mage (3marks)
II. navi gat epagesbackandf or
war d (3
mar ks )
I
II. cr eateahyper l
inktoane-mai l
. (3
mar ks )
answer
<html>
<head>
<ti
tle>WebPr ogr ammi ng</t i
tl
e>
</head>
<body>
<br>
<h3>Navi gati
ngt hroughWebPages </h3>
<imgbor der="0"s rc=”Picture0009.JPG”width="75"hei ght="50">
<BR>
<HR>
<AHREF=" Exampl e4.html">Backt oappli
cation4</A><BR>
<AHREF=" mai l
to:oyel ade@yahoo.com">SendMai lt oAut hor</A><BR>
</body>
</html>

b.Wr
iteoft
heHTMLf
ormats
truct
ureofas
impl
etabl
ewi
thacapt
ion,3col
umns
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

and3r
ows
.
(
6mar
ks)
Answer
<TABLE>
<CAPTION>Capt i
ontextf
ort
abl
e</CAPTI
ON>
<TR>
<TH>column1</TH>
<TH>column2</TH>
<TH>column3</TH>
</TR>
<TR>
<TD>row1dat
a1</TD>
<TD>row1dat
a2</TD>
<TD>row1dat
a3</TD>
</TR>
<TR>
<TD>row2data1</TD>
<TD>row2data2</TD>
<TD>row2data3</TD>
</TR>
</TABLE>
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

November201
8Exami
nat
ion

Coursecode:CI T853
Course:InternetConcept
sandWebDes i
gn
CourseCr edit:2uni
ts
TimeAl lowed:2Hour s
Ins
tructi
ons :AnswerQues t
ion1andt
hree(
3)ot
herques
tions

Q1 a.Expl aintheconceptoft heInt


ernet. (
5mar ks)
Answer
TheI nt
ernetors implyt heNetasi tisof tencall
ed,s tandsfori nt
erconnect
ed
networkofnetworksonagl obalscale.Itmakesitpos s
ibleforcomputersallover
theworldto,sendandr eceivemes s
ages.Itisanint
ernet-workofseveralhostsand
thei
rnetworkstogethert
of orm alargernetworkofgl obalmagnitude.

b.Ment i
onfouri
nter
connect
ingdevi
ces
.. (
4
mar
ks)
Ans wer
 bridge,
 switch,
 hub,
 repeater,
 gatewayand
 router,

c.Listandexpl ainfour(4)Appl icationLayerpr otocols. (12


marks
)
Ans
wer
1.HTTP–Thi sisknownashyper t
extt rans ferpr otocol.Itisaconnect ionless
text-
basedpr otocolthroughwhi chcl ients(webbr owsers)s endr eques t
sto
thewebs er verf orcertainwebpagesandi magest obedi splayed.
2.Tel net–Thi sisanappl i
cationlayerpr otocolthatenabl esus er stoexecut e
terminalses si
onswi thremot ehos t
s.
3.FTP–Thi sstandsf orf i
letransferpr otocol .I
tenabl est rans feroff iles
betweent wohos tsthatar eatremot el ocationstoeachot her .
4.SMTP–Thi ss t
andsf ors i
mplemai ltrans ferpr otocol.Thi sisapr otocol
thatisusedf orexchangi ngelectronicmai l.
5.SNMP–Thi sisknownass i
mpl enet wor kmanagementpr otocol.Itisa
protocolthati susedt omanaget henet wor k.

d.Expl
aintheter
m“DomainName” (
4
marks)
Answer
DomainNamesar ecomposedof3or4par
tsnamel
y:Hos
tname,Or
gani
sat
ion,Sub
-
domains(opt
ional
)andCountr
yname.
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

Q2 a.Gi veabr iefdescri


pti
onofHTML? (
3
marks)
Ans wer
HypertextMar k-
upLanguage( HTML)i
sastandar
dl anguageforcreat
ingweb
pages
.I tprovidestagsthatmakedocument
slookattr
activeusi
nggraphics
,font
s
andcolourst oenhancepr es
entati
on.

b.Des
cri
bethef unct
ionoft hef
oll
owi
ngHTMLt
ags
(
v)<hr > (
3mar
ks)
(
vi) <br > (
3mar
ks)
(
vii
) <p> (
3mar
ks)
Answer
<HR>Hor i
zontalRul e
<BR>LineBreaksorRet ur
n
<p> Paragraph

c.Cl
earlystat
et heimport
anceoftheHyper TexttotheWorl
dWi deWeb.
(3marks)
Answer
TheWebisapartoft heInter
nett
hatusestheHyper t
extTransf
erProt
ocol(
HTTP)
t
odis
playhypert
extandi magesinagraphi calenvi
ronment.

Q3 a.Expl ai
nCascadingSt yleSheets(CSS)andcss (
6mar ks
)
Ans wer
Cascadi ngStyleSheets(
CSS)i sas t
ylesheetl
anguageusedtodescr
ibethe
presentati
ons emant
ics(i
.e.thelookandf ormatti
ng)ofadocumentwrit
teni
na
markupl anguage.
ACSScommentbegi nswi t
h“ /*”,andendswi t
h“*/”.

b.St
atethr
eedif
f er
encesbet
weenJavaScr
iptandVisualBas
ic (
6
mar
ks)
c.Outl
inet
hreefactor
sthatl
edtot
hegeneralaccept
abil
it
yoftheWWW?

(
3mar
ks)

Q4. a.Wr i
teashortnoteonthet
ermJ avaScr
ipt
(
4mar ks)
Answer
JavaScri
ptisascr
ipti
ngl anguaget
hatcanbeus edonbot
hcl
ientands
ervers
ide.
JavaScr
iptaddint
eracti
vitytoWebpages .

b.Li
stfi
ve(5)usesoftheI
nter
net (5
marks
)
Ans
wer
 I tmakesitposs
ibleforcomputer
sal
lovert
hewor
ldt
o,s
endandr
ecei
ve
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

mes sages.
 Itisani nternet
-wor kofs everalhost
sandtheirnet workstogethert
of orma
largernet workofgl obalmagnitude.
 Itisagl obalcol lectionofcomputersandnet
wor ksthatconnectsmil
lionsof
peopl es
,or gani s
ations,mi l
it
ary,and gover nment t o a wi de r
ange of
i
nf or
mat ionr esourcest hr
oughacommonpr otocolt ocommuni cat
eamong
thems el
ves .
 It’
saver yf astmeansofcommuni cat
ion

c.WriteanHTMLcodet hatcans
how atit
le“MyFi
rstPage”andbody
dis
playingthewor ds“ Thisismyfir
stpageinHTML”.
(
6mar ks)
Answer
<ht
ml >
<Head>
<Tit
le>MyFi rstPage</titl
e>
</head>
<Body>Thi sismyf i
rstpagei nHTML</Body>
</Html>

Q5. a.WhatisanXMLSchema? (
3
marks)
Answer
AnXMLs chemadef
inesel
ementandat
tri
but
enamesf
oracl
assofXML
document
s.

b.Ment i
onthree(3)stepsintest
ingwebappl i
cati
on? (
3
marks
)
Ans
wer
1.Opent heNotepad( t
extedi t
or)
2.St ar
t/Al lPrograms/Acces sor
y/Notepad
3.Typet hehtmlcodes
4.Savet hecodewi t
htheext ensi
on(ht
m orhtml)
5.Thef i
lenamet akesonani consimi
lartotheInt
ernetexpl
orer
6.Doubl e-Cli
ckont hefileicontoruntheappli
cati
on.

c.Menti
onthethr
ee-t
ier
eds
truct
ureofwebappl
icat
ions (
3
marks
)
Ans
wer
 Thewebbr owser,
 Webs er
ver,and
 Dat abases
erver.

d.Wr
iteaJavaSciptCodet
hatcandi
spl
aysthefol
lowi
ng:
(i) at it
lecalled“
scr
ipti
ngl
anguage” (
2
marks )
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

(
ii
) acommentsays“thisi
sas implecomment
” (
2
marks)
(
ii
i) ast
atementi
nthebodyt hatsays“Hel
loNati
onalOpen
Uni
versit
yofNiger
ia”
(
2mar ks)
Answer
Exampl e1:
<HTML>
<HEAD>
<TITLE>Scr i
pti
ngLanguage</TITLE>
<SCRIPTLanguage=“ J
avaScr
ipt”
>
<!
--//thisi
sa simplecomment//-->
</SCRIPT>
</HEAD>
<BODY>
<H1>“HelloNati
onalOpenUniversi
tyofNi
ger
ia”</H1
>
</BODY>
</HTML>
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

Mar ch201 8
f
acul tyofSci ences
CIT853–I nt ernetConcept sandWebDes ign(2Cr edits)
Totalmar kis70andeachques ti
oncar r
ies171/2mar ks
Ans wer4Ques tionsin2. 00Hour s.
1(a)Writ
es hortnot esont hr eeoft hef ollowing:
(
i)DomainNameandI Paddr ess
(
ii
)HTTP
(
ii
i)FTP
(
iv)SNMP
(
2mar kseach)
Answer
1.allthehos t
s /nodesont heI nternetar eident i
fiedt hr
oughauni queidenti
fier
calleddomai nnames .
2.Hyper textTr ans f
erPr otocol( HTTP)i sapr otocolforcommuni cati
onont he
webandi ts uppor t
st hecl i
ent -
servermodel .
3.FTP–Thi ss tandsf orf i
letr ansferpr otocol.Itenabl estr
ans feroffil
es
betweent wohos tsthatar eatr emot elocat i
onst oeachot her.
4.SNMP–Thi si sknownass impl enet wor kmanagementpr otocol.I
tisa
protocolthati susedt omanaget henet wor k

1(
b)Il
lust
rat
ewithdiagr
am Communicat
ionbet
weent
wos
yst
emst
hrough
Depart
mentofDefense(
DoD)model
.(7mar ks)

1
(c)
Out
li
net
hreedi
ffer
entwaysofwor
kingwi
thgr cs(41/2Mar
aphi ks)

Answer
a.Cr eati
nggraphicsi
nagr aphicsappli
cati
onands avedasGI FsorJPEG.
b.Downl oadingpubli
c- domai ngraphicssuchastheInter
netorpubli
c-domai
n
cl
ipartcoll
ect
ions(thatar eavailableonCDROM) .
c.Us ingscannedphotogr aphs.Exist
ingphotogr
aphscanbes cannedinto
di
gitalfor
mf oruseont hes i
te.

d. Usi
ngdigi
talcamerast
os nappict
urest
hatcanbedownl
oadeddi
rect
ly
from t
hecameratoyourcomputer.

2(
a)Wr
ites
hor
tnot
esont
hreeoft
hef
oll
owi
ng:

(
i) TheWebBr ows er(Cl
ient
)
(
ii
) TheWebSer ver
(
ii
i) Dat
abas eServer
(
iv) Hyper
links
(
v) Hyper
textMar k-upLanguage
(
3mar kseach)
Ans
wer
1.Thebr
ows
ersi
nter
pretHTMLdocument
s.Theyar
eus
edt
ovi
ew t
ext
s,
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

vi
deosandaudi osaswel lasgr aphicsf i
lesonwebpages .
2.Thewebs erveri sres pons ibleforcommuni catingwi t
ht hebr ows erwhil
ethe
databases erveri sr espons i
blef ors t
oringt herequi redi nformation.
3.Thisisapr ogr am thatpr ovi desdat abas es ervicest oot hercomput er
programsorcomput er s.Theyar er espons i
blef ors tori
ng,r etri
evingand
manipulati
ngt hedat aint hedat abas eorot herr epos i
tories.
4.Hyper t
extl i
nkspr ovidel inkst ootherpor tionsoft hewebdocument s.
5.Hyper t
extMar k-upLanguage( HTML)i sas t
andar dl anguagef orcreati
ng
webpages .Itpr ovidest agst hatmakedocument sl ookat tracti
veus i
ng
graphics,f
ont sandcol our stoenhancepr esentation.

2(b)Dist
inguishbetweenThinCli
entandFatClient(4marks)
Answer
ThinClient
Thatis,aclientwithazerocodelayerthathasnocust
om appli
cat
ioncode
runni
ngoni t.
FatClient
ThisisaCl i
entwi t
h1t o3appli
cati
oncoderunningoni
t.

2(c)Out l
inethree( 3)f i
leextensionsandt
hei
rus
einwebappl
icat
i (41/2 mar
on. ks)
Answer
Fileext ensi
on Dat aType
Html /htm ht mlt ext
text/txt ASCI Itext
gif compos edgr aphics
jpeg/j pg compos edgraphi cs
mpeg/mpg di git
alvi deo
avi digit
alvi deo
wav/au digit
alvi deo

3(a)Des cri
beaWebPageandi dent
ifythetypes(7mar ks)
Answer
AWebpagei saf i
lewithan.htm or.ht
mlext ens
ion.
webpagesar eoftwot ypes:st
ati
cordynami c
Stati
cWebpagescont ainsonlyHTMLt ags.Theyonlydisplayinformati
onand
therecontentdoesnotchangewhenr equest
edbyt heuser
.
•Dynami cWebpagescont entchangesdependingont heuser’
srequestand
preferences

3(b)Whatiss cr
ipt
ing?Whatist
hepr i
mar ypurpos
eofs cr
ipt
inglanguages
?(6
mar ks)
Answer
Script
inglanguagearesi
mpleinter
pretedprogramminglanguages
Script
ingLanguagesHelpstomakewebpagesmor ei
nter
acti
ve

3(
c)Listanyt
hree(
3)l
ayer
sofOpenSt
andar
dInt
erconnect
ion.
(41/2 mar
ks)
Answer
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

1.Applicati
onLayer
2.Presentat
ionLayer
3.Sessi
onLayer
4.TransportLayer
5.Networ kLayer
6.Data-LinkLayer
7.PhysicalLayer

4(a)
Explainthet
ermJ avaScr i
ptandlis
tthr
ee(3)t
ypesofJavaScri
ptoperat
ors
youknow(8mar ks)(7mar ks)
Answer
JavaScri
ptisascripti
ngl anguaget
hatcanbeusedonbothcli
entandserversi
de.
JavaScr
iptaddinteracti
vitytoWebpages.

1BinaryOper ators
2Unar yOper ators
3Compar isonOper ator
4As si
gnmentoper ator(=)
5Combi nedOper ators
6LogicalOper ators
7.Concatenati
onoper ator(
+)

4(
b)Different
iat
ebetweenJ
avaScri
ptandVi
sualBas
ic(6mar
ks)
4(
c)Out li
nethree(
3)examplesofObj
ectOr
ient
edProgr
ammi
nglanguages(41/2
marks)
Answer
C#
Pearl
Ada

5(a)Expl
aintheterm“Dreamweaver”(5marks)
Answer
Dreamweaveri sawebpageeditor,forcr
eat
ingwebpages.I
tincl
udesmanynew
featur
esthathelpyoubuil
dwebs i
tesandappli
cat
ionswi
thami ni
malamountof
ti
meandef fort

5(
b).Writefour(4)stepsonhow togetst
ar t
edwi thDreamweaver8.( 8mar ks
)
Answer
 Fr om theStartbutt
onnormallylocatedinthebottom lef
tcor nerofthe
s
cr een.
 Pl acethecur s
oront heSt
artbutt
onandcl ick,thestar
tmenuwi llopen,
 sel ectAllProgramsandt henanotherli
stwi l
lappearwi t
ht heprograms
t
hatar einst
alledinyourcomputer,lookforMacr omedia,then
 sel ectMacromedi aDreamweaver8,andt heprogram willbeopened.

5(
c).Ment
iont
hree(
3)s
tepsi
ntes
tingwebappl
icat
i 41/2 mar
on?( ks)
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

Ans
wer
1.Opent heNotepad( t
extedit
or)
2.Star
t/Al lProgr
ams /Accessor
y/Notepad
3.Typet hehtmlcodes
4.Savethecodewi t
htheextensi
on(ht
m orhtml)
5.Thef i
lenamet akesonani consi
milartotheInt
ernetexpl
orer
6.Double-Cli
ckont hefil
eicontoruntheappli
cati
on.

6(
a)Wr
iteanHTMLcodes
egmentt
ogener
atet
het
abl
ebel
ow

STUDENT CI
T71
1 CIT753 GPA
Obi 65 56
Adekunl
e 86 77 N/A
Musa Dr
oppedCourses

(
7mar
ks)

Answer
<HTML>
<TITLE>CourseReg</TITLE>
<BODY>
<TABLEBORDER>
<TR>
<TH>STUDENT</TH>
<TH>CIT711
</TH>
<TH>CIT753</TH>
<TH>GPA</TH>
</TR>
<TR>
<TH>Obi.
</TH><TD>80</TD>
<TD>75</TD>
<TDROWSPAN=" 3"
>N/A</TD>
</TR>
<TR>
<TH>Adekunle</TH><TD>70</TD>
<TD>90</TD>
</TR>
<TR>
<TH>Mus a</TH><TDCOLSPAN=" 2"
>Dr
oppedCour
se</TD>
</TR>
</TABLE>
</HTML>

6(
b)Des
cri
bet
heI
nter
net
.Out
li
neandexpl
aint
hree(
3)Us
esoft
heI
nter
net(
6
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

marks
)
Ans
wer
 I tmakesi tposs i
blef orcomput er
salloverthewor ldto,sendandr eceive
mes sages.
 I tisani nternet
-wor kofs everalhost
sandtheirnet workstogethert
of orma
largernet workofgl obalmagni tude.
 I tisagl obalcol lectionofcomput ersandnet
wor ksthatconnectsmil
lionsof
peopl es
,or gani s
ations ,mi l
it
ary,and gover nment t o a wi de r
ange of
i
nf or
mat ionr esourcest hroughacommonpr otocolt ocommuni cat
eamong
thems el
ves .
 I t’
saver yf astmeansofcommuni cat
ion

6(c)Outl
inethree(3)examplesofWebbr
ows
er(41/2 mar
. ks)
Answer
 MSI nt
ernetExpl or
er,
 Mozill
aFi refox,
 AppleSafar i
,
 Net
scapeand
 Opera.
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

J
ULY201
7

CourseTitl
e:CIT853:I
nter
netconcept
sandwebDes
ign Cr
edi
tUni
t:
3
Ins
truct
ion: Answerquest
iononeandthr
eeot
her
s Ti
me:3hr
s

Ques t
ionOne
Q1 a).Describetheor i
ginoftheInt
ernet. (5marks)
Ans wer
TheI nternetors implyt heNetasi tisof t
encalled,s tandsfori nt
erconnect
ed
networ kofnet worksonagl obalscale.I
tmakesi tpos s
ibleforcomputersallover
thewor ldto,sendandr eceivemessages.Iti
saninternet-workofseveralhostsand
theirnetwor kstogethertoform alargernetworkofgl obalmagnitude.

Q1b).Wr i
teshortnoteont hef ollowi ngconcept:
WebBr ows er (2mar ks)
WebSer ver (2mar ks)
DatabaseSer ver (2mar ks)
Answer
1.Thebr owsersinterpr etHTMLdocument s.Theyar eus edt oview text
s,
vi
deosandaudi osaswel lasgr aphicsf i
lesonwebpages .
2.Thewebs erverisr es ponsibl eforcommuni cati
ngwi t
ht hebr ows erwhil
ethe
databases er
veri sres pons iblefors t
oringther equiredi nformation.
3.Thisisapr ogram thatpr ovi desdatabas es ervi
cest oot hercomput er
programsorcomput er s
.Theyar eresponsiblefors tori
ng,r et
r i
evingand
manipulati
ngt hedat ai nt hedat abas eorot herrepos i
tories.

Q1ci)
.Disti
nguishbetweenthi
nclientandf atclient (6marks)
Answer
ThinClient
Thatis,aclientwit
hazer ocodel ayerthathasnocus t
om appl
icat
ioncode
runni
ngoni t.
FatClient
ThisisaCl i
entwith1to3appl i
cationcoder unningoni
t.

Q1cii
).Out
linef our(4)stepsinvolvedintesti
ngWebAppl icat
ion.
(
4mar ks)
Answer
1.Opent heNotepad( textedit
or)
2.Start
/Al lProgr
ams /Acces sor
y/Notepad
3.Typet hehtmlcodes
4.Savet hecodewi t
ht heextensi
on(htm orhtml)
5.Thef ilenamet akesonani consi
mi l
art ot
heInternetexplor
er
6.Doubl e-Cli
ckont hef i
leicontoruntheapplicat
ion.

Q1
d).Expl
ainthef
oll
owingdomai
ns:
(i
) Top- l
eveldomain
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

(
ii
) I
nter
nat
ionalt
op-
leveldomai
n? (
4mar
ks)
Answer
Wherethetop- l
eveldomai nsusea3-let
terorgani
zati
onalcodewhi
chincl
ude:
 .com f orcommer cial
 .milf ormi lit
ary
 .eduf oreducation
 .orgf oror ganisation
 .netf orinformat ions ervi
ces/net
work
Theint
ernationaltop-leveldomai nusea2-lett
ercount
rycodesuchas
:
 .ngf orNi geria
 .usf orUni tedSt ates
 .ukf orUni tedKi ngdom

Quest
ionTwo
Q2a)Des cribetheconceptofXML (
5mar ks
)
Answer
XMLs t andsforExtensibl
eMark-upLanguage.Amar
k-upl
anguages
peci
fies
thest
ruct ur
eandcont entofadocument
.

Q2b)Listf
ive(
5)benef
itsofXML (
5mar
ks)
Answer
 XMLHoldsDat a
 XMLSeparatesStr
uctur
ef rom For
mat
ti
ng
 XMLPromotesDataShar i
ng
 XMLi
sHuman- Readable
 XMLi
sFr ee
Q2c)whatar
et heFi r
stOctetandDef
aul
tSubnetmas
kofclassA,BandCI P
Addres
s? (5mar ks)
CLASS FirstOctet DefaultSubnetmas
k
A. 1-1
26 255.0.
0.0
B. 128-191 255.255.
0.0
C. 192-223 255.255.
255.0

Questi
onThr ee
Q3a).Definethet ermJ avas criptandmenti
ontwotypesofJavascri
pt
(
5mar ks)
Answer
JavaScri
pti sas cripti
ngl anguaget hatcanbeusedonbothcli
entands er
vers
ide.
JavaScri
ptaddi nteracti
vityt oWebpages .
Types
1.Cli
ents i
de-r unsinbr owser
2.Servers ide-r unsons erver-embeddedinwebpagebutpr oces
sedon
server
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

Q3b).Descr
ibecont
ainertagsandli
stt
hree(3)exampl
es. (
5marks
)
Answer
Contai
nerTagsaretagsthatarecomposedofbothON( <TAG>)andOFF
(</TAG>)tags

a<HTML></HTML>
b<HEAD></HEAD>
c<TITLE></TITLE>
d</BODY> </BODY>
e<P></P>

Q3c)
.Di
scus
sfi
vef
ileext
ens
ionsus
edi
nWebDes
ign (
5mar
ks)

Ques t
ionFour
Q4a)Whati sanI nter
netpr otocolandgi vesthreeexampl es? ( 5mar ks)
Answer
TheI nternetors i
mpl yt heNetasi tisof t
encal l
ed,s tandsf ori nterconnect
ed
networkofnet wor ksonagl obals cale.Itmakesitpos s
ibleforcomput ersallover
thewor ldto,sendandr eceivemes sages.Iti
sani nt
ernet-workofs ever alhostsand
thei
rnetwor kstogethertof orm alar gernetworkofgl obalmagni tude.

Q4b)Li
standexpl
aint
hreeconcept
sofObj
ectOr
ient
edPr
ogr
ammi
ng
(
10marks)

Answer
C#
Pearl
Ada

Quest
ionFi ve
Q5a)Ment ionatleas
tfi
venet
wor
kint
erconnect
ingdevi
ces
. (
5mar
ks)
Ans wer
 br idge,
 s witch,
 hub,
 r epeater,
 gat ewayand
 r outer,

Q5b)Des cri
beincleartermstheconceptofCas cadingSt
yleSheet
s(CSS)
(7mar ks)
Ans wer
Cascadi ngStyleSheets(CSS)isas tyl
esheetl
anguageus edtodescr
ibethe
presentationsemanti
cs(i.
e.t
hel ookandformatting)ofadocumentwrit
teni
na
markupl anguage.
Q5c)whatar ethreewaysofi nsert
ingastylesheet (
3marks
)
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

Questi
onSi x
i
.DiscussthetypesofeXt ens i
bleSt yl
esheetLanguage (
7marks)
Answer
XSL iscompos ed ofXSL- FO ( Extensi
ble Styl
es heetLanguage – For
matti
ng
Objects
)andXSLT( Ext
ens ibleStylesheetLanguageTr ans
formati
ons
).
XSL-FO isus ed toi mplementpage l ayoutand des i
gn and XSLT isused t
o
tr
ansform XMLcont entintoanot herpresentat
ionformat.
AnXSLTs tylesheetcontainsinstructi
onsfortransf
ormingthecont
entsofanXML
documentintoanotherformat .

i
i.Wri
teshor
tnotesont hefol
lowing:
a.XSLTSt yleSheet (2mar
ks)
b.xsl
:template (
2mar ks)
c.xsl
:value-
of (
2mar ks)
d.XPat h. (
2mar ks)
Answer
 anXSLTs tyleSheet,whichisusedtotransf
ormt heXMLtoHTML
 Thexs l
:templ atetagisus edtotel
ltheXSLTpr oces
sorwhatt
odowheni t
comesacr ossamat chingnode.
 Thexs l
:value- ofelementisusedtooutputthet
extvalueofanode.
 AnXPat hwi thincur l
ybr acket
s({}
)canbeembeddedast hevalueofan
att
ribut
ei ntheopent ag.
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

MARCH/APRI
L201
6EXAMI
NATI
ON

SCHOOLOFSCI ENCEANDTECHNOLOGY
COURSECODE: CIT853
COURSETITLE: Int
ernetConcept
sandWebDes
ign(
2Cr
edi
ts)

TIME: 2HOURS
1
Totalmar
kis70andeachques
tioncar
ries1
7/2mar
ks
Answer4Quest
ions

1(a)WhatistheInt
ernet
?( 4mar ks
)
Ans wer
TheI nt
ernetors i
mpl yt heNetasi tisof
tencall
ed,st
andsforint
erconnect
ed
networkofnetworksonagl obalscale.I
tmakesi
tposs
ibl
eforcomput
ersallover
theworldto,sendandr ecei
vemes sages.

1
(b)Wri
tes
hor
tnot
eonthef
oll
owi
ng:
(i
) WebBr owser

(
ii
) WebSer
ver

(
ii
i) Dat
abas
eSer
ver (
3mar
kseach)

Ans
wer
1.Thebr owser
si nterpr etHTMLdocument s.Theyar eus edt oview text
s,
vi
deosandaudi osaswel lasgr aphicsf i
lesonwebpages .
2.Thewebs erveri sr es ponsibleforcommuni cati
ngwi ththebr ows erwhil
ethe
databaseserveri sres pons i
blefors t
oringther equir
edi nformation.
3.Thisisaprogram t hatpr ovidesdatabas es ervi
cestoot hercomput er
programsorcomput er s
.Theyar eresponsiblefors t
oring,ret
r i
evingand
manipulat
ingthedat ai nt hedatabas eorot herreposi
tories.

1(
c)1(
c)Out l
inethree(3)Sear
chEngi 41/2 mar
nes( ks)
Answer
 Int
ernetExpl or
er
 Chrome
 Mozillar
 UCBr ows er
 Opera

2(a)Explaint
het erm“DomainName”(4marks
)
Answer
DomainNamesar ecomposedof3or4par
tsnamel
y:Hos
tname,Or
gani
sat
ion,Sub
-domains(opt
ional)andCountr
yname
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

2(
b) Outl
inethree(3)examplesofWebs
it 41/2 mar
es( ks)
Answer
 www. nouonli
ne.
net
 www. google.
com.ng
 www. vanguardngr.
com

2(
c) Wri
tes
hor
tnoteont
hef
oll
owi
ng
(
i) Facebook

(
ii
) Dat
aTr
ans
fer

(
ii
i) E-mai
l

(
3mar
kseach)

3(
a)Whati
sthef
ullmeani
ngoft
hef
oll
owi
ngacr
onyms
:
(i
) WWW

(
ii
) I
RTF

(
ii
i) DNS

(
iv) CSS

(
v) I
AB

(
vi) OSI

(
vii
) I
ETF

(
vii
i) FNC

(
ix) OSI

(
1mar
keach)

3(b) Des
cri
becont
ainert
ags(4marks)
Answer
Contai
nerTagsaretagst
hatarecomposedofbot
hON(
<TAG>)andOFF
(</TAG>)tags

3(
c)b.Li
stthr
ee(3)exampl
esofCont
ainert 41/2 mar
ags( ks)
Answer
a<HTML></HTML>
b<HEAD></HEAD>
c<TITLE></TI TLE>
d</BODY> </BODY>
e<P></P>
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

Thisisapar agraphtagthatisusedto
4(a)Whatiss cr
ipt
ing?Whati sthepri
mar ypurposeofscri
pti
nglanguages
?(5
mar ks
)
Answer
Script
inglanguageares i
mpl eint
erpr
etedprogramminglanguages
Script
ingLanguagesHel pstomakewebpagesmor ei
nter
acti
ve

4(
b)Wri
tes
hor tnotesonthefol
lowi
ngObj
ectOr
ient
edPr
ogr
ammi
ngconcept
s:
(
i)Inheri
tance
(
ii
)Pol ymorphis
m
(
4mar kseach)

4(
c)Listanyt hree(3)l
ayer
sofOpenSt
andar
dInt
erconnect
ion.
(41/2 mar
ks)
Answer
1.Appl icationLayer
2.Pres entationLayer
3.Ses si
onLayer
4.Tr anspor tLayer
5.Net wor kLayer
6.Dat a-LinkLayer
7.Phys icalLayer

5(
a)Expl
aint
het
erm“
Dreamweaver
”(5mar
ks)

Answer
Dreamweaverisawebpageedit
or,forcr
eat
ingwebpages.I
tincl
udesmanynew
feat
urest
hathelpyoubui
ldwebsi
tesandappli
cat
ionswi
thami ni
malamountof
t
imeandef f
ort

5(
b)Wr
itef
our(
4)s
tepsonhow t
ogets
tar
tedwi
thDr
eamweaver8.(
8mar
ks)

Ans
wer
 From theStartbut
tonnor
mal l
ylocatedinthebottom lef
tcor nerofthe
screen.
 Placethecur s
orontheStar
tbutt
onandcl ick,t
hes tar
tmenuwi llopen,
 selectAllProgramsandthenanotherli
stwillappearwi t
ht heprograms
thatareinst
alledi
nyourcomputer,lookforMacr omedia,then
 selectMacromediaDreamweaver8,andt heprogram willbeopened.

5(
c)Menti
ont hr
ee(3)st
epsint
est
ingwebappli
cat
i 41/2 mar
on?( ks)
Answer
1.Opent heNotepad(t
extedi
tor)
2.Start
/Al lPr
ograms/Acces
s or
y/Not
epad
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

3.Typethehtmlcodes
4.Savethecodewiththeext
ensi
on(ht
m orhtml)
5.Thefi
lenamet akesonaniconsi
milartotheInt
ernetexpl
orer
6.Doubl
e-Cli
ckonthef i
lei
contoruntheappli
cati
on.

6(a)
WhatisaJ avaScript
?( 4mar ks
)
Answer
JavaScri
ptisas cr
ipti
ngl anguagethatcanbeus
edonbot
hcl
ientands
ervers
ide.
JavaScr
iptaddinteracti
vitytoWebpages .

6(b)Di f
ferenti
atebetweenJ avaScr
iptandVis
ualBas
ic(atleas
t3)(
9mar ks
)
6(c)Li stanyt hree(3)examplesofObjectOri
ent
edProgrammingl
anguagesyou
know
(41/2 marks)
 Abs t
raction
 Encaps ulati
on
 Pol yphism
 I nheri
tance
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

SEPTEMBER/OCTOBER201
5EXAMI
NATI
ON

SCHOOLOFSCI
ENCEANDTECHNOLOGY

COURSECODE: CI
T853

COURSETI
TLE: I
nter
netConcept
sandWebDes
ign(
2Cr
edi
ts)

Tot
almar
kis70andeachques
tioncar
ri 71/2mar
es1 ks
Ans
wer4Quest
ionsi
n2.
00Hours .

1(
a)Descr ibeaWebpage. (
5mar ks)
1(
b)Differenti
atebetweenGraphicsInterchangeFor mat(
GIF)andJ
oint
PhotographicExpertGroup(JPEG) .(
8mar ks )
1(
c)Identifythree(
3)Webdes i
gnt ools(41/2 marks
)
Answer
 Not epad
 Dr eamwaver
 Vi sualstudi
o

2(
a).Wr
ites
hor
tnot
eonthef
oll
owi
ng:
(i
v) WebBrowser

(
v) WebSer
ver

(
vi) Dat
abas
eSer
ver

(3markseach)
Ans
wer
1.Thebr owsersinterpr etHTMLdocument s.Theyar eus edt oview text
s,
videosandaudi osaswel lasgr aphicsf i
lesonwebpages .
2.Thewebs erverisr es ponsibleforcommuni cati
ngwi ththebr ows erwhil
ethe
databaseserveri sres pons i
blefors t
oringther equir
edi nformation.
3.Thisisapr ogram thatpr ovidesdatabas es ervi
cestoot hercomput er
programsorcomput er s
.Theyar eresponsiblefors t
oring,ret
r i
evingand
manipulat
ingt hedat ai nt hedatabas eorot herreposi
tories.

2(
b)Outli
nef our(4)stepsinvol
vedintest
ingWebAppl icati
on.(
4mar ks
)
Answer
1.Opent heNotepad( t
extedit
or)
2.Start/Al lProgr
ams /Accessor
y/Notepad
3.Typet hehtmlcodes
4.Savet hecodewi t
htheextensi
on(ht
m orhtml)
5.Thef ilenamet akesonani consi
milartotheInt
ernetexpl
orer
6.Doubl e-Cli
ckont hefilei
contoruntheappli
cati
on.

2(
c)Li
stt
hree(
3)f
ileext
ens
ionsus
edi
nWebDes
i 41/2 mar
gn( ks)
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

3(
a)Des cri
beCas cadi
ngSt yleSheet(CSS)(5mar ks
)
Ans wer
Cascadi ngStyleSheets(
CSS)i sas tylesheetl
anguageusedtodescr
ibethe
presentati
ons emanti
cs(i
.e.thelookandf ormatti
ng)ofadocumentwrit
teni
na
markupl anguage.

3(b)Dist
inguishbetweenthincli
entandfatclient(
8marks)
Answer
ThinClient
Thatis,acl i
entwithazer ocodelayerthathasnocust
om appl
icat
ioncode
runni
ngoni t.
FatClient
ThisisaCl i
entwi t
h1t o3applicat
ioncoderunningoni
t.

3(c)Outlinethree( 3)JavaScri
ptOper
ator
s 41/2 mar
.( ks)
Answer
1BinaryOper at ors
2Unar yOper at ors
3Compar isonOper ator
4As si
gnmentoper ator(=)
5Combi nedOper ators
6LogicalOper ators
7.Concatenationoper ator(+)

4(a)DescribeXMLandl istthree(3)benefit
s( 8mar ks)
4(b)Outli
nef our(4)TextFi eldsandAt tr
ibutesofaFor m(5mar ks)
1.TextAr ea
Thisisusedt oacceptmul ti
plel i
nesoftextf rom aus er
.Itspecif
iesthenumberof
rowsandcol umns.
2.The<I NPUT>Tag
Thisisusedt oaccepttheus er’si
nputfrom thef orm.
3Checkbox
Checkboxesar ewel l
-sui
tedf ordataentryt hatinvolvestwopos siblevaluesfora
givenchoice.
4Radi o
TheRadi obut t
oni sdesi
gnedt oacceptonlyoner esponsefrom amongs everal
opti
ons,unlikeCheckboxt hatcanhavemul tiplechoices.
5Res et
Thistagisus edtoclearal lentri
esofanHTMLf orm.
6Submi t
ThisissimilartotheRESETbut t
onbutdi ff
er sinusage.Iti
sus edt otransf
eror
storet
hedat aenteredintotheHTMLf ormt ot hedatabase.

4(
c).Li
stanyt
hree(
3)exampl
esofObj
ectOr
ient
edPr
ogr
ammi
ngl
anguagesyou
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

know
(41/2 mar
ks)

5(a)Descr
ibeorigi
noft heInter
net(4mar ks)
Answer
TheI nt
ernetors implyt heNetasi tisof t
encalled,s tandsfori nt
erconnect
ed
networkofnetworksonagl obalscale.I
tmakesi tpos s
ibleforcomputersallover
theworldto,sendandr eceivemessages.Iti
saninternet-workofseveralhostsand
thei
rnetworkstogethertoform alargernetworkofgl obalmagnitude.

5(b)Wri
teshortnot
eont hef
oll
owi
ng:
(i
) Hacki ng
(i
i) Spywar e
(i
ii
) Encr ypt
ion
(3markseach)
5(c)Outl
inethree(3)us
esofHTML

6(a))Explaintheter
m“Dreamweaver ”
.Outl
inethree(3)s
tepsonhow toget
startedwit
hDr eamweaver8.(
8mar ks)
Ans wer
Dr eamweaverisawebpageedi t
or,forcr
eati
ngwebpages .I
tincl
udesmanynew
featurest
hathelpyoubuil
dwebs i
tesandapplicat
ionswithami ni
malamountof
ti
meandef for
t

 From theStartbut
tonnor
mal l
ylocatedinthebottom lef
tcor nerofthe
screen.
 Placethecur s
orontheStar
tbutt
onandcl ick,t
hes tar
tmenuwi llopen,
 selectAllProgramsandthenanotherli
stwillappearwi t
ht heprograms
thatareinst
alledi
nyourcomputer,lookforMacr omedia,then
 selectMacromediaDreamweaver8,andt heprogram willbeopened.

6(b) Des
cri
becont
ainert
ags.Li
stt
hree(
3)examples(
5marks)
Answer
Contai
nerTagsaretagst
hatarecomposedofbot
hON( <TAG>)andOFF
(</TAG>)tags

a<HTML></HTML>
b<HEAD></HEAD>
c<TITLE></TITLE>
d</BODY> </BODY>
e<P></P>

6(c)Listthr
eeadvant agesofus
ingdes
ktoporNot
ebookort
abl
etPCst
oacces
s
theInt
ernet(41/2 mar
. ks)
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

Oct
ober
,201
3Exami
nat
ion

Cour
seCode:CI
T853 Cour
seUni
t:2
Cour
seTi
tl
e: I
nter
netConcept
sandWebDes
ign
Ti
meAl
lowed:2Hour
s
I
nst
ructi
on: Ans
wer4Ques
tions
. Tot
almar
kis
100andeachques
tioni
s25
marks
QUESTI ON1
1a.Gi
vet hef
ullmeani
ngofthefoll
owi
ngacr onyms
:
(i
) I CANN (
ii
) NCSA (i
ii
) NGI
(i
v) I SP (
v) ASP (vi) FTP
(vi
i) ISDN (vii
i) P2P (
ix) WBT (
1
markeach)

1
b.Dis
tingui
shbet
weentheI
nternetandWWW? (
8mar
ks)
1
c.Ment i
onfour(
4)usef
ult
hingsthatcanbedoneus
ingt
heI
nter
net
. (8
marks
)

2a.Expl ai
nwhatHTMLi s? (
5mar ks)
Ans wer
HypertextMar k-
upLanguage(HTML)isastandar
dl anguageforcreat
ingweb
pages
.I tprovidestagst
hatmakedocument
slookattr
activeusi
nggraphics
,font
s
andcolourst oenhancepres
ent
ati
on.

2b.Li
stanyfour(4)us
esofHTMLt ags. (
8
marks
)
2c Writes
hortnot
eoneachoft hef
ollowing:
(
i) Di alupconnect
ion

(
ii
) Di
rectconnect
ion

(
ii
i) Vi
deoconf
erenci
ng (
4mar
kseach)

3a.Wri
teanHTMLcodes egmenttogenerat
ethet
ablebelow
STUDENT CIT333 CIT237 GPA
George 75 86
Bell
o 47 69 N/A (
13mar
ks)
Ali
u DroppedCourses

Answer
<HTML>
<TITLE>Cours
eReg</TI
TLE>
<BODY>
<TABLEBORDER>
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

<TR>
<TH>STUDENT</TH>
<TH>CIT333</TH>
<TH>CIT237</TH>
<TH>GPA</TH>
</TR>
<TR>
<TH>Geor ge.
</TH><TD>80</TD>
<TD>75</TD>
<TDROWSPAN=" 3"
>N/A</TD>
</TR>
<TR>
<TH>Bello</TH><TD>70</TD>
<TD>90</TD>
</TR>
<TR>
<TH>Aliu</TH><TDCOLSPAN=" 2">Dr
oppedCour
se</TD>
</TR>
</TABLE>
</HTML>

3b.Withrespectt oHTMLwr i
tebriefl
yonofthefollowi
ng:
(i
)Maj orfeatur
es
(i
i)LogicalMarkuptags
(i
ii
)HTTP (
4mar kseach)
4a.Explainthet erm“Dreamweaver ” (5marks
)
Answer
Dreamweaveri sawebpageedi tor,forcr
eat
ingwebpages .I
tincludesmanynew
feat
uresthathel pyoubuildwebs i
tesandappli
cati
onswithami ni
malamountof
ti
meandef f
ort

4b.Writefour(4)st
epsonhow togetst
artedwithDr eamweaver8. (
8
marks)
Answer
 From theStartbut
tonnor
mal l
ylocatedinthebottom lef
tcor nerofthe
screen.
 Placethecur s
orontheStar
tbutt
onandcl ick,thestar
tmenuwi llopen,
 selectAllProgramsandthenanotherli
stwillappearwi t
ht heprograms
thatareinst
alledi
nyourcomputer,lookforMacr omedia,then
 selectMacromediaDreamweaver8,andt heprogram willbeopened.

4c.Listt
hreeadvant
agesofus
ingdes
ktoporNot
ebookort
abl
etPCst
oacces
sthe
Int
ernet. ( 12marks)

5a.Whatdoyouunder
standbyt
het
erm“
Domai
nName” (
4mar
ks)
Answer
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

Domai
nNamesar ecomposedof3or4par
tsnamel
y:Hos
tname,Or
gani
sat
ion,Sub
-
domains(
opt
ional
)andCountr
yname

5b.Li
standexplai
nanyt hr
eepartsofdomai
nname (
12
marks)
5c.Gi
veanythree(3)examplesofadomainname. (
9
marks)

6a.Wr i
teshor
tnoteont hefol
lowing:
(i
) Hacki ng
(i
i) Spywar e
(i
ii
) Encr yption (4markseach)
6b.Whati saJavaScr ipt? (
4mar ks)
Answer
JavaScri
ptisascriptinglanguagethatcanbeus
edonbot
hcl
ientandser
versi
de.
JavaScri
ptaddinteractivit
ytoWebpages .

6c.Di
ffer
ent
iat
ebet
weenJ
avaScr
iptandVi
sualBas
ic(
atl
eas
t3) (
9
marks
)
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

J
UNE/J
ULYEXAMI
NATI
ON

COURSECODE:CIT853
COURSETITLE:I
nter
netConceptsandWebDes
ign(
2Cr
edi
ts)
TIMEALLOWED:2Hour s
INSTRUCTI
ON:Answer4Ques ti
ons

QUESTI ON1
1(a)
.Whati stheInternet? (5
mar ks
)
Answer
TheI nternetors implyt heNetasi tisof t
encalled,s tandsfori nt
erconnect
ed
networkofnet worksonagl obals
cal e.I
tmakesi tpos s
ibleforcomputersallover
thewor ldto,sendandr eceivemessages.Iti
saninternet-workofseveralhostsand
thei
rnetwor kstogethertof orm al
ar gernetworkofgl obalmagnitude.

1(
b).Listandexpl ainfour( 4)us esoftheInt
ernet (8
mar ks
)
Answer
 I tmakesi tposs i
blef orcomput er
sallovert hewor ldto,sendandr eceive
mes sages.
 I tisani nternet
-wor kofs everalhost
sandt heirnet workstogethert
of orma
largernet workofgl obalmagni tude.
 I tisagl obalcol lectionofcomput ersandnetwor ksthatconnectsmil
lionsof
peopl es
,or gani s
ations ,mi li
tar
y,and gover nment t o a wi de r
ange of
i
nf or
mat ionr esourcest hr oughacommonpr otocolt ocommuni cat
eamong
thems el
ves .
 I t’
saver yf astmeansofcommuni cat
ion

1
(c)Li
standexpl
aint
hreeAppl
icat
ionLayerPr
otocol
s
(
12mar ks
)

2a.Wr
iteanHTMLcodes
egmentt
ogener
atet
het
abl
ebel
ow

STUDENT CI
T333 CIT237 GPA
George 75 86
Bell
o 47 69 N/A
Ali
u Dr
oppedCours
es

(13mar
ks)
Answer
<HTML>
<TITLE>Cours
eReg</TI
TLE>
<BODY>
<TABLEBORDER>
<TR>
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

<TH>STUDENT</TH>
<TH>CIT333</TH>
<TH>CIT237</TH>
<TH>GPA</TH>
</TR>
<TR>
<TH>Geor ge.
</TH><TD>80</TD>
<TD>75</TD>
<TDROWSPAN=" 3"
>N/A</TD>
</TR>
<TR>
<TH>Bello</TH><TD>70</TD>
<TD>90</TD>
</TR>
<TR>
<TH>Aliu</TH><TDCOLSPAN=" 2">Dr
oppedCour
se</TD>
</TR>
</TABLE>
</HTML>

2b.Wit
hrespecttoHTMLwr i
tebri
efl
yonoft hef ol
lowing:
(
i)Maj orfeatures
(
ii
)Logi calMar kuptags
(
ii
i)HTTP (
4
markseach)
Answer
HTTP–Thi sisknownashyper t
extt
rans f
erpr ot
ocol
.Itisaconnectionless
t
ext
-basedpr otocolthroughwhichcl
ients(webbr owser
s)sendr equeststo
t
hewebs erverf orcertainwebpagesandi magest obedisplayed

3a.Explaintheter
m“ Dr
eamweaver”
(5marks)
Answer
Dreamweaveri sawebpageedit
or,forcr
eat
ingwebpages.I
tincl
udesmanynew
feat
uresthathelpyoubuil
dwebsi
tesandappli
cat
ionswi
thami ni
malamountof
ti
meandef f
ort

3b.Writefour(4)st
epsonhow togetst
artedwithDr eamweaver8.
(8marks )
Answer
 From theStartbut
tonnor
mal l
ylocatedinthebottom lef
tcor nerofthe
screen.
 Placethecur s
orontheStar
tbuttonandclick,thestar
tmenuwi llopen,
 selectAllProgramsandthenanotherli
stwillappearwi t
ht heprograms
thatareinst
alledi
nyourcomputer,lookforMacr omedia,then
 selectMacromediaDreamweaver8,andt heprogram willbeopened.
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

3c.Whataret hestepsinvolvesintest
ingwebappl i
cation?
(6marks)
Answer
1.Opent heNot epad(textedit
or)
2.Star
t/Al lPrograms /Accessor
y/Not epad
3.Typet hehtmlcodes
4.Savethecodewi ththeextensi
on( ht
m orhtml )
5.Thef i
lenamet akesonani consimilartotheInternetexpl
orer
6.Double-Cli
ckont hef i
leicontor untheappli
cation.

3d.Li
stthree(3)waysofobt ainingwebgr aphi cs .
(6marks)
Answer
 Creatinggraphicsinagr aphi csappl icationands avedasGI FsorJPEG.
 Downl oadingpublic-domai ngr aphicss uchast heInternetorpubli
c-domain
cl
ipar tcoll
ecti
ons(thatar eavai lableonCDROM) .
 Usings cannedphotogr aphs .Exi st
ingphot ographscanbes cannedinto
di
gitalf or
mf orus eont hes i
te.
 Usingdi gi
talcamer ast os nappi cturest hatcanbedownl oadeddirectl
y
fr
om t hecamer atoyourcomput er.
4a.Whatdoyouunder s
tandbyt het erm“ Domai nName”
(4marks)
Answer
DomainNamesar ecompos edof3or4par tsnamel y:Hostname,Or gani
sati
on,Sub
-domai
ns( opti
onal)andCount ryname

4b.Li
standexplai
nanyt hr
eepartsofdomai
nname
(1
2mar ks
)
4c.Gi
veanythree(3)examplesofadomainname.
(9marks)

5aWhati saJavaScri
pt?
(4marks)
Answer
JavaScri
ptisascri
pti
ngl anguaget
hatcanbeus
edonbot
hcl
ientands
ervers
ide.
JavaScr
iptaddint
eracti
vitytoWebpages.

5bDiffer
enti
atebetweenJavaScr
iptandVis
ualBasi
c
(9marks)
5C.Menti
onthet wotypesofcommentinJ
avaScr
ipt
(4marks)
Answer
Types
1.Cli
entside
2.Serverside
RALPHCONCEPT CALL081
40591
455 FORMOREPASTQUESTI
ONS&
ANSWERS

5d.Explai nt
wot ypesofJavaScriptyouknow
(8marks)
Answer
1.Clientside-runsinbrowser
2.Ser verside-runsonserver-embeddedinwebpagebutpr
oces
sedon
server

6a.
Whatdoyouunder st
andbyt heacr onym XML?( 5marks)
6b.Lis
tanyf our(4)r ulesofXMLSynt ax.(8mar ks)
Answer
1.XMLhasr el ati
vel ystraightfor war d,butverystr
ict
,synt
axr ules.A
documentt hatf ollowst hes esynt axr ul
esissaidtobewell -
formed.
2.Theremus tbeoneandonl yonedocumentel ement.
3.Everyopent agmus tbecl osed.
4.Ifanelementi sempt y,its ti
llmus tbeclosed.
a.Poor ly-formed:<t ag>
b.Wel l-formed:<t ag></t ag>
c.Al s
owel l-formed:<t ag/>
5.Elementsmus tbepr oper lynes ted.
a.Poor ly-formed:<a><b></a></b>
b.Wel l-formed:<a><b></b></a>
6.Tagandat tributenamesar ecas esensit
ive.
7.Attri
buteval uesmus tbeencl osedi ns i
ngleordoublequotes.

6c Writeashor
tnoteoneachoft
hefol
lowi
ng:
(
i) HTMLf orm
(
ii
) Hyper text (
3markseach)
Answer
For
msar ecr
eatedwi t
hinanHTMLdocumentus
ingt
he<FORM>containert
ags
.

6dMent
iont
hree(
3)benef
itsofXML(
6mar
ks)
Ans
wer
 XMLHoldsDat a
 XMLSeparatesStr
uctur
ef rom For
mat
ti
ng
 XMLPromotesDataShar i
ng
 XMLi
sHuman- Readable
 XMLi
sFr ee

You might also like