PHP Exercises
SOOPRO Pathshala provides PHP Exercises
Day 1
PHP Day 1
SOOPRO Pathshala Exercises
Day 1
1. Write a PHP program to print Soopro Pathshala.
2. Write a PHP program to print your full name.
Day 2
PHP Day 2
SOOPRO Pathshala Exercises
Day 2
1. Calculate the multipilcation and sum of two given numbers?
2. Calculate the division and subtraction of two given numbers?
Day 3
PHP Day 3
SOOPRO Pathshala Exercises
Day 3
1. Print the sum of the given current number and previous number
2. Print the multiplication of given current number and previous number
Day 4
PHP Day 4
SOOPRO Pathshala Exercises
Day 4
1. Print total length of your first name.
2. Print total length of your full name.
Day 5
PHP Day 5
SOOPRO Pathshala Exercises
Day 5
1. Print total length of your full name.
2. Print total length of your first name.
Day 6
PHP Day 6
SOOPRO Pathshala Exercises
Day 6
1. Print first letter of your first name
2. Print first letter of your last name
Day 7
PHP Day 7
SOOPRO Pathshala Exercises
Day 7
1. Print characters from a string that are present at an even index number.
2. Print characters from a string that are present at an odd index number.
Day 8
PHP Day 8
SOOPRO Pathshala Exercises
Day 8
1. Remove first n characters from a string.
2. Remove last n characters from a string.
Day 9
PHP Day 9
SOOPRO Pathshala Exercises
Day 9
1. Print concatenation of first name and last name by user input.
2. Print concatenation of first, last and middle name by user input.
Day 10
PHP Day 10
SOOPRO Pathshala Exercises
Day 10
1. Check if the first and last number of a list is the same.
2. Display numbers divisible by 5 from a list.
Day 11
PHP Day 11
SOOPRO Pathshala Exercises
Day 11
1. Write a PHP program to check even and odd number entered by user.
2. Write a PHP program to check positive and negative number entered by user.
Day 12
PHP Day 12
SOOPRO Pathshala Exercises
Day 12
1. Create arithmetic operation in PHP.