1) Expressions and Control Statements in PHP: S22-1) S22 - 2) S22 - 3) W22 - 4) W22 - 5) S23 - 6) S23 - 7) "$" W23 - 8) S24 - 9)
1) Expressions and Control Statements in PHP: S22-1) S22 - 2) S22 - 3) W22 - 4) W22 - 5) S23 - 6) S23 - 7) "$" W23 - 8) S24 - 9)
5) Database operations
W22- 1) List two database operations.
S23- 2) Write syntax of constructing PHP webpage with MySQL.
W23- 3) Define MySQL.
S24- 4) List out the database operations.
**Program
S24- 5) Write a program using Foreach loop.
4Marks
1) Expressions and control statements in PHP
S22- 1) Write down rules for declaring PHP variable
W22- 2) Explain the use of break and continue statements.
W22- 3) Describe the syntax of if-else control statement with example in PHP.
W23- 4) Explain the use of break and continue statement.
W23- 5) List loop control structures. Explain any one loop control structure.
W23- 6) Explain the following terms :
(i) Variables (ii) Datatypes
(iii) Constant (iv) Operators
S24- 7) Explain different loops in PHP.
5) Database operations
S22- 1) Explain delete operation of PHP on table data.
S22- 2) Inserting and retrieving the query result operations.
W22- 3) Write steps to create database using PHP.
W22- 4) Explain queries to update and delete data in the database.
S23- 5) Write update & delete operations on table data.
S23- 6) Explain inserting & retrieving the query result operations.
W23- 7) Explain update and delete operations on table data.
W23- 8) Explain the following :
(i) POD : :_construct( )
(ii) mysqli_connect( )
S24- 9) Explain inserting and retriving the query result operations.
* Program :
S22- 1) Write a program to create associative array in PHP.
S22- 2) Write PHP script to sort any five numbers using array function.
S22- 3) Write PHP program for cloning of an object.
S22- 4) 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.
W22- 5) Write a program for cloning of an object.
S23- 6) Write a program using do-while loop.
W23- 7) Develop a simple program for sending and receiving plain text
message.
W23- 8) Develop a program to connect PHP with MySQL.
W23- 9) Develop a PHP program for overriding.
S24- 10) Write a program to create PDF document in PHP
S24- 11) Write a program to demonstrate concept of inheritance in PHP.
S24- 12) Create Employee form like employee_name, Address, Mobile_No.,
Date of birth, Post and Salary using different form input element and display
user inserted values in new PHP form.
S24- 13) Write PHP program to demonstrate delete operation on table data.
6MARKS
1) Expressions and control statements in PHP
S22- 1) Explain different loops in PHP with example.
S23- 2) Implement any three data types used in PHP with illustration.
S24- 3) Explain decision making statements along with their syntax in PHP.
5) Database operations
S22- 1) How do you connect MySQL database with PHP.
S23- 2) Elaborate the following :
(i) _ call ()
(ii) Mysqli _ connect ()
DONT KNOW
S24- 1) Explain interface with example.
**Program
S22- 1) Create a class as “Percentage” with two properties length & width.
Calculate area of rectangle for two objects.
S22- 2) Write a PHP program to demonstrate use of cookies
W22- 3) Write a PHP program to display numbers from 1-10 in a sequence
using for loop.
W22- 4) Write a program to connect PHP with MySQL.
W22- 5) Write a PHP program to set and modify cookies.
W22- 6) Write a PHP program to
(i) Calculate length of string
(ii) Count number of words in the string
S23- 7) Write a program to connect PHP with MySQL.
S23- 8) Write a program to create PDF document in PHP.
W23- 9) Write a PHP program on Introspection.
W23- 10) Write a PHP program to demonstrate session management.
W23- 11) Develop a PHP program to
(i) Enter data into database
(ii) Retrieve and present data from database
W23- 12) Develop a PHP program to create constructor to initialize object of
class
W23- 13) Develop a PHP program without using string functions :
(i) To calculate length of string
(ii) To count the number of words in string
S24- 14) Write PHP program to demonstrate database operation using PHP
and MySQL.
S24- 15) Write a PHP program to demonstrate use of cookies.