NP-414
2K
I lillilli lllfi ili ililt ilIil fiti iflt
V Semester B.C.A. Examinati on, January/February 2025
(NEP Scheme) (Freshers/Repeaters)
CA - C23T : WEB PROGHAMMING
Time : 2ilz Hours Max. Marks : 60
lnstruction : Answer any four questions from each Section.
SECTION _ A
l. Answer any four questions. Each question carries 2 marks. (4x2=8)
1) Mention any two file opening modes in PHP.
2) What is WWW ? 6=\}
*EBEffiJ"
3) What is window object ?
4) What is moving element in HTML ? Give an example.
5) How to define function in PHP ?
M
6) Mention the difference between echo and print command in PHP.
SECTICN _ B
ll. Answer any four questions. Each question carries 5 marks. (4x5=20)
7) How to access element by using getElementBylD0 rnethod ? Explain
with an example.
8) What are web servers ? Explain the functions of web servers.
9) What is DOM ? Explain the tree representation of DOM with an example.
10) Mention any 5 differences between XML and HTML.
i 1) Explain DTD elements with an example.
12) Explain for each loop in PHP with an example.
SECTION -G
lll. Answer any four questions. Each question carries 8 marks. (4x8=32)
13) a) Explain types of PHP arrays with an example.
b) Explain date and time function in PHP. (6+2)
P.T.O.
Np - 414 illlllillliillllllililllfillilllll
14) a) What are events ? Explain any two events in JavaScript.
b) What is exception handling ? Explain try, catch and finally blocks. (a+a)
15) a) What are cookies ? Explain different types of cookies.
b) Explain the following :
i) [P address
ii) Domain name. (a+a)
16) Define lnternet Security. Why it is important ? Explain any 4 common
internet security issues with solutions. I
17) Create a form for student information. Write a JavaScript code to find total,
a\rerage, result and grade. I
18) Explain file read and write methods in PHP. I
,*,