PHP - 2022

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

1111111111111111111111111111111I1111111111111111111111111

.•. t. ~ .•. - l' (. :s - O! V 5


""I 1111111111 11111 1111 11111111111111
2 (I (; 2 -' h ••

DBX-003-2032002-N Seat No. __

B. C. A. (Sem, II) (CBCS) (W.E.F. 2019) Examination


July - 2022
CS-08 : Web Programming
(New Course)

Faculty Code : 003


Subject Code : 2032002

Time : 2t Hours] [Total Marks : 70

Instructions: All questions are compulsory,

1 (a) Attempt following Objective Questions : 4


(1) Full name : IIS
(2) Full name : HTTP
(3) Full name: FTP
(4) Full name: JSON

(b) Answer in brief : (anyone) 2


(1) What is dynamic website ?
(2) What is server side scripting ?

(c) Answer in detail : (anyone) 3


(1) Explain web hosting.
(2) Explain JSON Resource type.

(d) Write a note on following : (anyone) 5

(1) Difference between static and dynamic website.


(2) Explain json_decode and json_encode function.

DBX-003-2032002-N ] 1 [ Contd ...


2 (a) Attempt following objective questions : 4
(1) Full name : PHP
(2) What is the output of following programs ?
<?php
$sl="Patel Krishty";
$s2=substr($sl, 6, 5);
echo $s2;
?>
(3) Who is the father of PHP ?
(4) Which variable is used to collect form data sent
with both the GET and POST methods?

(b) Answer in brief: (anyone) 2


(1) Explain GET method.
(2) Explain func num jargsf).

(c) Answer in detail : (anyone) 3


(1) Explain array with example.
(2) Explain control statement with example.

(d) Write a note on following : (anyone) 5


(1) Explain any five math function.
(2) Explain PHP operator.

3 (a) Attempt following Objective Questions : 4


(1) Which function is used to set cookies ?
(2) Which function is used to destroy seSSIOn ?
(3) Full Name : AJAX
(4) How to create AJAX object?
l

(b) Answer in brief: (anyone) 2


(1) What is session ?
(2) What are cookies ?

(c) Answer in detail : (any one) 3


(1) What IS AJAX ? Explain advantage and
disadvantage of AJAX.
(2) Explain any three GD Library Function.

DBX-003-2032002-N ] 2 [ Contd ...


(d) Write a note on following : (anyone) 5
(1) Explain uploading file with example.
(2) Explain PHP regular expression.

4 (a) Attempt following objective questions : 4


(1) Full name : DML
(2) Which function is used to connect MYSQL In
PHP?

(3) What are the parameters of mvsqlrconnect 0 ?


(4) Which one of the methods is responsible for
sending the query to the database ?

(b) Answer in brief: (anyone) 2

(1) What is mysqli_error O?


(2) What is mysqli jselect jlb 0 ?

(c) Answer in detail : (anyone) 3


(1) What is mysqli fetchjirrayt) ?

(2) What is mysqli_fetch __


row 0 ?

(d) Write a note on following : (anyone) 5

(1) Write a program to insert record using form.


(Database name : College
Table name : student
Fi'eld: rollno, name, birthdate, address, mobile no.)
(2) Write a program to update record using form.

(Database name : College


Table name : student
Field: rollno, name, birth date , address,
mobile no.)

. DBX-003-2032002-N] 3 [ Contd ...


5 (a) Attempt following objective question 4
(1) jQuery is a
(2) Who developed jQuery ?

(3) Which year jQuery was initially released ?

(4) jQuery in case-sensitive (true/false)

(b) Answer in brief : (any one) 2

(1) What is jQuery ?


(2) List out JQuery events.

(c) Answer in detail : (anyone) 3


(1) Explain JQuery hide and show effects.
(2) Explain jQuery selector.

(d) Write a note on following : (any one) 5


(1) Explain any five jQuery method.
(2) Explain Click, keypress, submit, change and scroll
events.

DBX-003-2032002-N ] 4 [ 4580/136-50 ]

You might also like