Question: QUESTION 3 ( 2 0 MARKS ) a . Given the following table as shown in Table Q 3 ( 1 ) , answer the

QUESTION 3(20 MARKS) a. Given the following table as shown in Table Q3(1), answer the questions using the PHP array. Table Q3(1): Student Grade Information Student Name Student Matric No. Gender Grade 10225512 Male B+ Ahmad Fauzan Ali Amira Mustafa 10225513 Female A Bahtiar Awang 10225567 Male A- i. Create a two-dimensional array for the students' grade information (CL04:PLO4-5 marks) ii. Display all elements of the array in Table Q3(1) using foreach loop. (CLO4:PL04-5 marks) b. The product sales are recorded weekly. Using the PHP array, answer the following questions: i. Create a single array using associative type that contains five days starting from Monday to Friday. (CLO4:PLO4-5 marks)Customer Info: Name: Nor Fatimah Address: UPNM. Kem Sungai Besi Telephone: 0193212333 ORDER INFORMATION Quantity Ordered RM (Cost) Product Unit Price Pizza Typel RMS 2 Pizza Type2 RM103 Pizza Type3 RM10 Pizza Type4 RM121 RM10.00 RM30.00 RM0.00 RM12.00 You ordered: 6 items Shipping Method: Regular Total bill (including shipping fee): RM59.00 Figure Q4(2): Order Information (CLO4:PL04-25 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!