Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts Of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

4th Edition

0619064625, 978-0619064624

More Books

Students also viewed these Databases questions