0% found this document useful (0 votes)
4 views

PHP Practical Test Program List

The document outlines a comprehensive list of programming tasks for a WBP Practical Examination, including basic algorithms, string manipulations, and PHP form handling. It covers topics such as determining even or odd numbers, leap years, and palindrome checks, as well as more advanced tasks like creating forms and handling cookies in PHP. Each task is designed to test various programming skills and concepts.

Uploaded by

Prasad Pangarkar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

PHP Practical Test Program List

The document outlines a comprehensive list of programming tasks for a WBP Practical Examination, including basic algorithms, string manipulations, and PHP form handling. It covers topics such as determining even or odd numbers, leap years, and palindrome checks, as well as more advanced tasks like creating forms and handling cookies in PHP. Each task is designed to test various programming skills and concepts.

Uploaded by

Prasad Pangarkar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Program List for WBP Practical Examination

1. Develop a program to find given number is even or odd.

2. Develop a program to find given year is leap year or not.

3. Develop a program to find largest number from 3 numbers.

4. Develop a program to find average of 3 subjects and calculate the class which has.

5. Write a program to convert number into word (ex. 2 – two)

6. Develop a program to find sum of first 12 numbers.

7. Write a program to print fibonacci series of first 10 numbers.

8. Develop a program to find sum of digit of any given number.

9. Develop a program to reverse the digit of any given number.

10. Write a program to find given string is palindrome or not.

11. Write a program to find given number is palindrome or not.


12. Write a program to display following output
1
12
12 3
13. Write a program to display following output
1
23
456

14. Write a program to display following output


a
ab
abc

15. Write a program to display following output


a
bc
de f

16. Write a program to create associative array and print this array.

17. Write a program to create multidimensional array and display array elements.

18. Write a program to calculate sum of array elements

19. Write a program to calculate length of string without using string function.

20. Write a program to calculate number of words without using string function.

21. Develop a program to find sum of digit of any given number using function.

22. Develop a program to reverse the digit of any given number using function.

23. Write a program to find given string is palindrome or not using function.
24. Write a program to find given number is palindrome or not using function.

25. Write a program to implement parameterized constructor.

26. Write a program to implement inheritance and constructor overloading.

27. Write a program to implement interface.

28. Write a program to create image with text.

29. Write a program to create pdf file in PHP.

30. Write a simple PHP program to demonstrate the use of built in string function.

31. Write a simple program on Introspection and Serialization.

32. Write a PHP program to create registration form having Name, Address, Mobile No, Gender
(Redio Button) and class and validate a registration form.

33. Write a PHP program to create exam form having Enrollment No, Name, Subject (check box),
Fee, class and validate a registration form.

34. Write a PHP program to create Employee Registration form having Emp Code, Name,
Department (select), Payment, class and validate a registration form.

35. Write a PHP program to create registration form having Name, Address, Mobile No, Gender
(Redio Button) and class and display data.
36. Write a PHP program to create exam form having Enrollment No, Name, Subject (check box),
Fee, class and display data.

37. Write a PHP program to create Employee Registration form having Emp Code, Name,
Department (select), Payment, class and display data.

38. Write a PHP program to create Cookies, set value and read cookies data.

39. Write a PHP program to create Cookies, set value and expire cookies.

40. Create customer form for customer name, address, mobile no, item_purchase, amount using
different form input element & display user inserted values in new PHP form.

41. Create Employee form for Employee name, Address, Mobile no, Date of Birth, Post & salary
using different form input element & display user inserted values in same PHP form.

42. Write a PHP script to read Account information for customer name, account_no,
account_type, branch_name, city, amount from account table and display this information.

43. Write a PHP script to insert one record in student registration table (roll_no,
name,city,mobile_no) in mysql database.

You might also like