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

2022 Winter Question Paper

The document is an examination paper for MSBTE Campus Academy, consisting of various questions related to PHP programming, MySQL, and web development concepts. It includes sections for multiple-choice questions, programming tasks, and theoretical explanations, with specific marks allocated to each question. Students are instructed to illustrate their answers with sketches and assume suitable data where necessary.

Uploaded by

Zara Shaikh
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)
6 views2 pages

2022 Winter Question Paper

The document is an examination paper for MSBTE Campus Academy, consisting of various questions related to PHP programming, MySQL, and web development concepts. It includes sections for multiple-choice questions, programming tasks, and theoretical explanations, with specific marks allocated to each question. Students are instructed to illustrate their answers with sketches and assume suitable data where necessary.

Uploaded by

Zara Shaikh
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

MSBTE CAMPUS ACADEMY

21222
22619
3 Hours / 70 Marks Seat No.
15 minutes extra for each hour

Instructions : (1) All Questions are compulsory.


(2) Illustrate your answers with neat sketches wherever necessary.
(3) Figures to the right indicate full marks.
(4) Assume suitable data, if necessary.

Marks

1. Attempt any FIVE : 2  5 = 10

(a) Describe advantage of PHP.

(b) What is array ? How to store data in array ?

(c) List types of inheritance.

(d) How can we destroy cookies ?

(e) List any four data types in MySQL.

(f) Write syntax of PHP.

(g) How to create session variable in PHP ?

2. Attempt any THREE : 4  3 = 12

(a) Write down rules for declaring PHP variable.

(b) Write a program to create associative array in PHP.

(c) Define Introspection and explain it with suitable example.

(d) Write difference between get( ) & post( ) method of form (Any four points).

[1 of 2] P.T.O.
MSBTE CAMPUS ACADEMY

22619 [2 of 2]
3. Attempt any THREE : 4  3 = 12
(a) Define function. How to define user defined function in PHP ? Give example.
(b) Explain method overloading with example.
(c) Define session & cookie. Explain use of session start.
(d) Explain delete operation of PHP on table data.

4. Attempt any THREE : 4  3 = 12


(a) Write PHP script to sort any five numbers using array function.
(b) Write PHP program for cloning of an object.
(c) Create customer form like customer name, address, mobile no, date of birth
using different form of input elements & display user inserted values in new
PHP form.
(d) Inserting and retrieving the query result operations.
(e) How do you validate user inputs in PHP ?

5. Attempt any TWO : 6  2 = 12


(a) Explain different loops in PHP with example.
(b) How do you connect MySQL database with PHP.
(c) Create a class as “Percentage” with two properties length & width. Calculate
area of rectangle for two objects.

6. Attempt any TWO : 6  2 = 12


(a) Write a PHP program to demonstrate use of cookies.
(b) Explain any four string functions in PHP with example.
(c) (i) What is inheritance ?
(ii) Write update operation on table data.

_______________

You might also like