Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
9 views

PHP Q5

Uploaded by

Shiva Glenn
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

PHP Q5

Uploaded by

Shiva Glenn
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Code No: 138GQ R16

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD


B. Tech IV Year II Semester Examinations, September - 2022
PHP PROGRAMMING
(Common to EEE, ECE, EIE)
Time: 3 Hours Max.Marks:75
Answer any five questions
All questions carry equal marks
JN
---

1.a) Explain the detailed steps in testing and configuring PHP5 to use MySQL along with
TU
installation process.
b) How to set-up users and allow privileges to access MySQL data? [10+5]

2.a) State most common uses, rules and function of PHP.


H
b) Demonstrate passing the variables from page to page with cookies and with forms. [5+10]

3.a) What are parametrized functions and non-parameterized functions? Illustrate them with a
sample PHP script.
U
b) List and explain various functions to work with files through your PHP script. [7+8]
se
4. List and explain various array functions and math functions available in PHP with syntax
and example. [15]
d
5. How to process forms by the PHP script using $_GET and $_POST array elements?
Demonstrate with an example program in PHP. [15]
Pa
6.a) Differentiate between the following statements in PHP:
i) include vs require ii) include_once and require_once
b) How to include other files into your PHP documents? Illustrate the need and usage of
pe
include statement in PHP. [6+9]

7. Does GD library supports merging images and add watermarks into it? Explain these
operations in detail with brief illustration. [15]
rs
8. Summarize the three categories of MySQL data types with descriptions. [15]

---oo0oo---

You might also like