Web Technology
Web Technology
P,o15
Bachelor of Cornputer Application (8. C. A.)lFifth Semesterl Chance
Tirne: O3:[]O hrs. tsull I\{arks:6O lPass Marks: 24
BCASO2CS: Web Technology {Old Course}
Candid.ates are required to g:ute their answers i-n their owrL wot'ds as far
as practicable.
The .figires in the margin indicate full mo-rks.
qrqsLA
Answer TWO questions. 2xt2=24
1(a) Write the Web Application code to Insert, the data for the
following: 6
llatabase: vehicles
Table: Vehicle
F;;;;;;;
Vehicle Reg No
t-_-_--t
Type of Vehicle
Date of Reg
Owner of Vehicle
2(a) What is valid XML? Why u,e need XML schema when u,e already
have XML schema? Explain. 6
I
i
Candidates are required to qiue their ansuers in their own uards as far
as practicable.
The fi.gures in the margin indicate full rnarks.
Grog-p A
Answer TtrIO questions. 2xL2=24
1(a) What is XSLT? Why isit important when working with XML?
Discuss with example. 6
2(al Write the Web Application code to Insert, Update, Search and
Deiete the data with the database for the foilowing. 8
Reg No:
Vehicle :
Date of Reg :
Own.:r of Vehicle:
(b) How does ciient side programming differ from server siCe
programming? 4
Contd, "."
l2l
3(a) Why we need to use XML DTD in web page design? XML Scherna
is an XML based alternative to XML DTD, How.? Discuss with
example. 6
(b) Why security is important for website? Differentiate between
Authentication and Authorization, 2+4
Groug,B
Answer SIX questions. 5x6=36
4. Create a Va-lid XML for Company. Once the document is creat.et
add suitable contents tr: each element. Add the formatting to ti
XML document using CSS. In the docurnent all the parent node
should have font color as Red, Siae as 16pt. Back-Color as r,r,hite
and child node as font narne Times New Rcman, Font color as
Green and size 11 Pt and font weight Bold. 6
8. What are the benefits of using Dynamic well page over static web
page? Discuss. 6
(biWhatisTable_lessandTabie-baseddesigns?Discussboxmodel
8
with suitable examPle'
J. What is JavaScript? Write HTML code for the foliorning customer
registration form and store the customer details to the database
using PHP after performing suitabie client side vaiidation. 2+ 1O
l\artte
Addre ss
Cotriacl
Cottntn' T-- h/
I ernrs & Condiiion il l agi'ee
Grsgg-B-
a Gi-v_
pgl arraeiians 6x6=36
nllswEr
--w'^- :[Bvet'Y_'v!
in
4. What is Web Technologr? ExPiain the roie of Tier Technologv
Appiication DeveloPment.
Contd....
(2!
What are various access nrodifier used in PHP? How
can voLl
5.
impienrent clata hiding in PHP?
t"he role of MVC'
6. Why do *'e rteed responsive r'vebsite? Explarn
Ex1:1arn Associative arra-v rvith suitable
example'
7.
8. Write a PHP script to print the fbllowing series:
3,12,27,48 " lotl' term
can you connect PHP
9. What are the various SQL commands? I{orv
and MYSQL?
lo.WhatisexceptioninPHP?Explainitlvithsuitableexample.
11. Wnte short notes on any TWO:
(a) HTMLS
{b) HTTP and FIP
(c) Dolu
PURBANCHAL UNIVERSITY
P,oL9
of Compnter Application (BCA) / Fifth Seme ster I Final
Full Marks: 6O /Pass Marks: 24
(New Course) ___.__.1
I
cartdidates are required to giue their ansuters in their own utords as far
as practicable.
The figures in the margin indicate full marks'
Group A
AsSW€t TIIIO questions. 2xL2=24
6
1(a) Explain siicing with a proper example'
6
(b) Explain table-based design vs tabieless design
2.Whatisclient-sidescriptingandwhatareitsfeatures?Writea
plograminJavaScripttopronrpttheusertoinputthreevalues
for a, b and c. On clicking a button "OK", calculate x
: Qa+)fu2+s'
4+8
and disPlaY the value ofx.
3. Write HTML code to generate the following output: 6+6
I Iterns Elrand
l-- -
L Pegktqp 9_g.rlpu!.'
It-eptgp -{Pp19-
i !ti{-er Sarrr
UseexternalCSStorlisplaytheabovetablewiththeformatting
given as below:
Table background - Blue
Table header - White {ont, bold sty1e, and center aligned
Table contents - Black font, and alignment as given in table
Group E
6x6=36
Ansurer SIX questions"
4.Bxplainstaticwebpageandclynamicwebpagewithexamples.6
5.Whatarethedifferentrvaysofcreatinghyperlinks?Explainwith
6
examples
Contd....
tzl
6. Explain with exarnples, the differences between XSL Schema and
XSL DTD. 6