SA1 - Variable, Operators and Control Structures
SA1 - Variable, Operators and Control Structures
TECHNICAL-SUMMATIVE ASSESSMENT
1
PHP OUTPUT, VARIABLE FAMILIARIZATION, OPERATORS
AND CONTROL STRUCTURE
Section:
Professor:
LABORATORY ACTIVITY
1. The student will create a student registration form using HTML and CSS with the
integration of PHP Scripts please refer to the attached image for the example.
2. All user entries from the student registration form will be converted in variables
3. In the output, they need to call for the declared variables and do some string formats like
name cases and numbers.
Output:
Screenshot:
4. Create a php program that will display the same output below. Use control structures to
display the multiplication table with alternating color.
Output:
Screenshot:
5. Using PHP scripts create / simulate a fibonnaci sequence.
Output:
Screenshot:
6. Using PHP scripts create / simulate a factorial
Output:
Screenshot:
QUESTION AND ANSWER
1. What is a variable?
- A name of memory location that holds data