This document outlines experiments to be performed on web based application development using PHP. It lists 7 topics with theory and practical components for each. The topics include variables, operators, control structures, arrays, strings, functions, and image manipulation.
This document outlines experiments to be performed on web based application development using PHP. It lists 7 topics with theory and practical components for each. The topics include variables, operators, control structures, arrays, strings, functions, and image manipulation.
Web based Application development using PHP (WBP: 22619)
List of Experiments to be performed
Exp Theory to write Practical to perform No. 1 1. What is PHP? Features, 1. Install and configure PHP web advantages of PHP & MYSQL. server, MYSQL. 2. Scope of variables in PHP with 2. Write a program to print “Welcome syntax. to PHP”. 3. Echo & Print statement in PHP. 3. Write a simple PHP program using 4. Types of Operators in PHP. expressions and operators a. Write a Program to take three variables and perform Addition, Subtraction, Multiplication, Division and Modulus. 4. Write a program to demonstrate the use of GLOBAL keyword in PHP. 5. Write a program to demonstrate the use of GLOBAL array in PHP. 6. Write a program to demonstrate the use of STATIC keyword in PHP. 2 1. Decision making and Control 1. Write a Program to print whether Statements in PHP with syntax. the number is Even or Odd using if else statement. 2. Write a Program to print whether the character is Vowel or not using else if ladder. 3. Write a Program to print the greatest of three numbers using nested if else. 4. Write a Program to print whether the year is the Leap Year or not using if else statement. 5. Write a Program to print the Day of the Week using Switch Statement. 6. Write a Program to print the Month of the Year using Switch Statement. 7. WAP to print whether it is a Vowel or not using Switch Statement. Exp Theory to write Practical to perform No. 3. 1. Loop control structures in PHP 1. Write a Program to print whether with syntax. the number is the Armstrong number or not using while loop. 2. Write a Program to print whether the number is the Palindrome or not using while loop. 3. Write a Program to print whether the number is Prime or not using for loop. 4. Write a Program to print the Right angle triangle using for while loop. 5. Write a Program to print the Equilateral triangle using for loop. 6. Write a Program to print the Fibonacci Series. 7. Write a Program to create a Menu Driven Program using do while loop. 4. 1. Arrays in PHP. 1. Write a PHP script to Create and 2. Types of Arrays in PHP: display Index array, Associative Indexed, Associative and array and Multidimensional array. Multidimensional with syntax. 2. Write a PHP script to sort an array 3. Implode(), explode(), array_flip() in ascending order. functions. 3. Write a PHP script to perform 4. Array Traversing. searching in an array. 4. Write a PHP script to find minimum and maximum value in an array. 5. Write a PHP script to perform searching in a two dimensional array. 6. Write a PHP script to find minimum and maximum value in a two dimensional array. 7. Write a PHP script to demonstrate the use of implode() function . 8. Write a PHP script to demonstrate the use of explode() function . 9. Write a PHP script to demonstrate the use of array_flip() function . 10. Write a PHP script to demonstrate the use of array_walk() function . 11. Write a PHP script to demonstrate Exp Theory to write Practical to perform No. the use of array_map() function . 5 1. Explain all string related 1. Write a Program to Count the functions in PHP. Also explain number of words in a String. their syntax. (Execute for all return parameter values). 2. Write a Program to Count the length of a String, to find the position of String and to compare two Strings. 3. Write a Program to Reverse a String. 4. Write a Program to Replace a String with the other String. Also count the number of replacements. 5. Write a Program to convert the String to Uppercase, Lowercase, capitalize the first character of a string. 6 1. Explain the concept of functions 1. Write a Program to demonstrate in PHP with proper syntax. Pass by Value using function. 2. Explain pass by reference in PHP. 2. Write a Program to demonstrate 3. Explain Variable function in PHP. Pass by Reference using function. 4. Explain Anonymous function in 3. Write a Program to demonstrate PHP. default arguments in function. 4. Write a program to create a Variable function. 5. Write a Program for Anonymous function using variable. 6. Write a Program for Anonymous function using array. 7. Write a Program to implement the concept of Callback using Anonymous function. 8. Write a Program to implement the concept of Closure using Anonymous function. 7. 1. Explain the following functions 1. Write a Program to create an image with proper syntax. in PHP. imagecreate() 2. Write a Program to create an image imagecolorallocate() with text in PHP. imagegif() 3. Write a Program to create an image Exp Theory to write Practical to perform No. imagejpeg() in PHP and display that image in imagewbmp() HTML Page. imagepng() 4. Write a Program to demonstrate imagestring() the use of imagecopyresized() and imagecopyresized() imagecopyresampled() functions. imagecopyresampled() 5. Write a Program to generate a PDF AddPage() using FPDF. SetFont() Cell() 8. 1. Explain the concept of class and 1. Write a Program for Array of object with syntax in PHP. Objects. 2. Explain the concept of 2. Write a Program for Method constructor and destructor with Overloading. syntax in PHP. 3. Write a Program for Method 3. Explain the concept of Overriding. Inheritance in PHP. Also explain 4. Write a Program for Single level types of Inheritance with proper Inheritance. syntax. 5. Write a Program for Multi-level 4. Explain Static methods and Inheritance. Static properties in PHP. 6. Write a Program for Multiple 5. Explain Method Overloading in Inheritance. (make use of Trait) PHP. 7. Write a Program for Hierarchical 6. Explain Method Overriding in Inheritance. PHP. 8. Write a Program for Constructor 7. Explain Final Keyword w.r.t. Class and Destructor. and Method. 9. Write a Program for Abstract 8. Explain the concept of object class. cloning in PHP. Also explain types 10. Write a Program for Final keyword of cloning. with respective to class. 11. Write a Program for Final keyword with respective to function. 12. Write a Program for static keyword with respective to variable. 13. Write a Program for static keyword with respective to function and properties. 9. 1. What is Introspection? Explain 1. Write a Program to use all the different functions of function of Introspection. Introspection. 2. Write a Program to use the 2. Explain Serialization technique in function of Serialization. Exp Theory to write Practical to perform No. PHP. Also explain serialize and unserialize method. 10. 1. Explain HTML controls used in 1. Write a Program for designing a the program with proper syntax. Webpage using Textbox, Radio button, Checkbox and Buttons and display all the data that is entered by user. 11. 1. Explain HTML controls used in 1. Write a Program to add hidden the program with proper syntax. field, listbox, and combobox on webpage and display the values entered and selected on the next page. 12. 1. What is Regular Expression? 1. Write a Program to validate Name, 2. Explain all Symbols, Characters, Age, Date of Birth, Email and and Modifiers, functions related Password. to Regular Expression in PHP, use 2. Write a Program to validate IP proper syntax and example. Address. 3. Write a Program to validate Company specific Email Id. 13 1. What is a Cookie? 1. Write a Program to Create, Modify, 2. How to create, retrieve, modify Delete and Display the Cookie and delete a cookie in PHP? Details. 3. What is a session? 2. Create a registration page and 4. How to start, modify and accept the details from user and destroy a session in PHP? store them in session variable. Display all details on next page. 14. 1. Explain how to send a mail in PHP. 1. Write a php script to send Email using mail() function. 15. 1. Explain MySQL database. 1. Write a Program to create a form 2. How to create a database. and store the entered data in the 3. How to create a table. database also displays the entered 4. Connecting to MySQL database. data. 5. Database operations: Insert & Retrieve operation. 16. 1. Explain database operation: 1. Write a Program to create a form Update and update the entered data in the Delete database also displays and delete the entered data.
Solutions Manual for Systems Analysis and Design, 9/E 9th Edition Kenneth E. Kendall, Julie E. Kendall - Read Now Or Download For A Complete Experience
Solutions Manual for Systems Analysis and Design, 9/E 9th Edition Kenneth E. Kendall, Julie E. Kendall - Read Now Or Download For A Complete Experience