Professional Documents
Culture Documents
PHP Exam Past Paper
PHP Exam Past Paper
18. A. Develop a php script to record 10 marks of the students in array then compute its
average and first five lowest marks of students.
B. Develop a php script the below pattern
*****
* *
* *
* *
***** /10
21. A. Develop a php program for finding the biggest number in an array without using any
array functions. Hint: $numbers = array(12,23,45,20,5,6,34,17,9,56,999);
B. Develop a php program for finding the smallest number in an array
Hint:$numbers= array(12,23,45,20,5,6,34,17,9,56);
22. . Develop a php program to print the following table
SECTION C: CHOOSE ANY ONE QUESTION/15
23. Develop a php program to allow the user to enter any number into user form then
produce the multiplication table of that entered number. Hint :
24.Suppose you have given the user login interface, homepage. Php, write a php script for
crating the below login page and validate the user’s credentials by using Exam as username and
Exam@2023 as password then when the user clicks on login button the logged user to
homepage. Php