Iffililtilililtlilt[ilililllll NP - 401
Z+
V Semester B.C.A. Examination, February/Mareh 2A24
(NEP) (Freshers)
COMPUTER SCIENCE
Web Programming
Time : ZYz Hours Max. Marks : 60
lnstruction : Answer any faur questians from each Section.
SECTION _ A
L Answer any four questions. Each question carries 2 marks. (tlx2=$)
1) What is DOM ?
2) What is a Web Server and Web Browser ?
3) Differentiate between HTML and XML.
SE=-#
4) What are dynamic documents in Web development ?
5) Which data types are supported in PHP ?
6) What is function ? How to define it in PHP ?
SECTION _ B
ll. Answer any four questions. Each question carries 5 marks. (4x5=20)
7) What are events and how are they handled in JavaScript ?
8) Design an HTML fdrm to accept username and password and perform
validation using JavaScript.
9) Discuss the role of XSLT style sheets in displayinE and transforming XIUL
rlnnr
uvvut rrnantc
I rvt t(u,
10) Explain various looping statements in PHP rrvith an example.
11) What are cookies ? How to create and delete a cookie in PHP ?
12), List and explain all types of date and time function in PHP.
P.T.O.
IililililItilil fil
NP - 401 itilIilil llll
SECTION _ C
Itl. Answer any four questions. Each question carries 8 marks. (4x8=32)
13) Explain the method and properties used for DOM tree traverse and modify
using JavaScript" I
14) What are the various methods to access the HTML form elements using
JavaScript ?
15) Write a short note on
a) DTD
b) XML Scherna. (a+a)
16) a) Compare the uses of echo and print commands in PHP.
b) Differentiate between constant and variable in PHP. (a+a)
17) Outline the steps involved in connecting to a database using PHP, I
18) Explain in detail different types of arrays in PHP with examples. 8