Web Technology Through PHP
Web Technology Through PHP
TCS–404
B. Tech. (CSE) (Fourth Semester)
EXAMINATION, 2021-22
WEB TECHNOLOGY THROUGH PHP
Time : Three Hours
Maximum Marks : 60
Note : Question paper has three Sections. Read carefully
instructions for each Section.
Section–A
(Very Short Answer Type Questions)
1. Attempt all questions : 1 each
(a) Define the use of foreach loop in PHP.
(CO1, BL1)
(b) Differentiate between Implode and Explode
functions. (CO1, BL3)
(c) List various string functions in PHP.
(CO2, BL1)
(d) What are the data types supported by PHP ?
(CO1, BL1)
(e) What is the difference between JavaSacript and
PHP ? (CO1, BL1)
P. T. O.
[2] TCS–404
P. T. O.
[4] TCS–404
OR
What is content management ? Write the
advantages of CMS and its associated tools.
(b) Write the MySQL function used in PHP. How to
drop tables and databases ? Explain. (CO5, BL3)
OR
How a Browser communicate with Web servers ?
How to save the user’s data in file ? Also, write a
program on it.
(c) Create the indexed based arrays and write the
program to sort the elements using it. (CO5, BL1)
OR
Define the uses of serialize( ) and unserialize( ).
State the use of cloning of an object.
TCS-404