0% found this document useful (0 votes)
99 views2 pages

PHP (4th) May2019 PDF

Uploaded by

anil kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
99 views2 pages

PHP (4th) May2019 PDF

Uploaded by

anil kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Roll No. Total No.

of Pages : 02
Total No. of Questions : 07
B.Sc.(IT) (2015 & Onwards) (Sem.–4)
PROGRAMMING IN PHP
Subject Code : BSIT-401
M.Code : 74083
Time : 3 Hrs. Max. Marks : 60

INSTRUCTIONS TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying T WO marks
each.
2. SECTION-B contains SIX questions carrying TEN marks each and students have
to attempt any FOUR questions.

SECTION-A

1) Answer briefly :

o m
.r c
a) What are the basic DML commands?

p e
b) PHP is server side language or client side language? Explain your answer.

m
a
c) Write the connectivity string in PHP with Mysql database.
o
r p .r c
d) Which operator is used to check the data types of the variables, whether they are same
or not?
b p e
e) Differentiate between session and cookie.

p a
r
f) How to retrieve a value from textbox in PHP on click event of button?
b
g) What is WYSIWYG?

h) Which server is used to compile PHP code?

i) Differentiate between $_GET and $_POST methods in PHP.

j) What are interfaces in PHP?

1|M - 7 4 0 8 3 (S3)-633
SECTION-B

2) Write a PHP script which takes the username, password and e-mail values from user and
checks whether the user has filled the textboxes or not. Also, check the e-mail field
whether it is incorrect format or not.

3) Write a function that interchange and prints the value of two integers A and B without
using any extra variable.

4) How a Browser communicate with Web Servers?

5) How to save the user's data in file? Also, write a program on it?

6) Write a program to update a value of database on user request.

7) What are FORMS? Explain different Form fields.

o m
.r c
p e m
a o
r p .r c
b p e
p a
b r

NOTE : Disclosure of Identity by writing Mobile No. or Making of passing request on any
page of Answer Sheet will lead to UMC against the Student.

2|M - 7 4 0 8 3 (S3)-633

You might also like