PHP Programming
PHP Programming
PHP Programming
2023
14.09.2023
Template for Practical Course and if AEC is a practical Course Annexure-V
9 Develop a PHP program to filter the elements of an array with key names.
Output:
Array
(
[c1] => Red
[c3] => White
)
10 Develop a PHP program that illustrates the concept of classes and objects by reading and printing
employee data, including Emp_Name, Emp_ID, Emp_Dept, Emp_Salary, and Emp_DOJ.
11 a. Develop a PHP program to count the occurrences of Aadhaar numbers present in a text.
b. Develop a PHP program to find the occurrences of a given pattern and replace them with a text.
12 Develop a PHP program to read the contents of a HTML form and display the contents on a browser.
NOTE: Necessary HTML elements (and CSS) can be used for designing the experiments.
Course outcomes (Course Skill Set):
At the end of the course, the student will be able to:
● Apply basic concepts of PHP to develop web program
● Develop programs in PHP involving control structures
● Develop programs to handle structured data (object) and data items (array)
● Develop programs to access and manipulate contents of files
● Use super-global arrays and regular expressions to solve real world problems.
15.09.2023
14.09.2023
Template for Practical Course and if AEC is a practical Course Annexure-V
● Students can pick one question (experiment) from the questions lot prepared by the examiners
jointly.
● Evaluation of test write-up/ conduction procedure and result/viva will be conducted jointly by
examiners.
● General rubrics suggested for SEE are mentioned here, writeup-20%, Conduction procedure and
result in -60%, Viva-voce 20% of maximum marks. SEE for practical shall be evaluated for 100 marks
and scored marks shall be scaled down to 50 marks (however, based on course type, rubrics shall be
decided by the examiners)
● Change of experiment is allowed only once and 15% of Marks allotted to the procedure part are to be
made zero.
The minimum duration of SEE is 02 hours
● BOOK: Programming in HTML and PHP (Coding for Scientists and Engineers, BY DEVID R BROOKS,
Springer International Publishing AG 2017
● PHP TUTORIALS: [https://www.w3schools.com/php/}
● PHP TUTORIALS: [ https://www.tutorialspoint.com/php/index.htm]
● HTML TUTORIALS: [https://www.w3schools.com/html/]