QP CODE: 21101023 Reg No
1111111111111111 111111
~11010~J Name
B.Se DEGREE (CBCS) EXAMINATION, MARCH 2021
Fourth Semester
Core Course - CS4CRT11 - WEB PROGRAMMING USING PHP
(Common for B.Sc Computer Applications Model III Triple Main,B.Se Computer Science Mod el
IIt.B.Sc Information Technology Modellll,Bacilelor of Computer Application)
2017 ADMISSION ONWARDS
BEBOABOl
Time: 3 Hours Max. Marks : 80
,
Part A
Answer any ten questions.
Each question carries 2 marks.
1. What is a web browser?
2. Explain < marquee> tag in HTML.
3. Write the importance of name atribute of tag .
4. List out the possible values for text-align property.
5. Write the syntax for creating an array object. Give example.
6. What is an Event? Give example.
7. Write down the requirements to run PHP programs.
8. What is the difference between '= =' and '= = =' operator in PHP?
0
9. What is the use of explodeO function in PHP?
10. List out the arguments for setcookieO function.
11. What is the difference between char and varchar data types?
12. Write a PHP script to delete data from Mysql database table.
(10x2=20)
Part B
Answer any six questions.
Each question carries 5 maries.
13. Explain paragraphs and heading tags in HTML.
Page 112 Turn Over
14, Explain tag in HTML,
1 ~ n 'orll<C r" '"118r i~() n ilnd assignment operators in Java Script. Give example,
16, Explain different Decision Control Statements in JavaScript.
17, Explain any three display statement available in PHP,
18, Write a PHP program to nnd the factorial of number,
1g, How PHP handles checkboxes and radio buttons in a form? Explain with example,
20, Write short on visibility properties used in PHP class,
21. What is the signincance of the parameter array_type in mysqUetch_arrayO function?
(6 x 5=30)
Part C
Answer any two questions.
Each question carries 15 marks,
""- , vJl ldl dltJ th e dlfferenlmelhods used to embed CSS into an HTML document? Explain
each with example,
23, Explain arrays in PHP with the help of examples,
24, Explain different categories of errors in PHP. What are the different error handling
mechanism?
25, Create a login page using PHP and MySql.
(2x15=30)
Page 212