Professional Documents
Culture Documents
Laboratory Activity 2b
Laboratory Activity 2b
PHP Script
1. Create a simple web application that converts decimal into binary, octal,
hexadecimal using functions and arrays. Reminder: Do not use built in functions
for the conversion.
4. Modify the quiz application in our demo, this time create a 10-point quiz using
a multidimensional array with the use of HTML elements (HTML Forms +
Bootsrap5). Let user type the name of the student.
To check the answers, you must provide an array of answer key and it must
check the answers of the user. Use function to check for the correct answers.
Name Mike
1. Question1
O option1 O option2 O option3 O option4
…..
10. Question10
O option1 O option2 O option3 O option4
Errors:
Question#2
Question#3
Question#4