Question: (Writing PHP Script - Associative Array with screen shots) Question-1 [25 marks] FI

 (Writing PHP Script - Associative Array with screen shots) Question-1 [25

(Writing PHP Script - Associative Array with screen shots)

Question-1 [25 marks] FI 111, "StName" => "Ahmad", "Quizl" => 7, "Qui 22" => 9, "Quiz3" => 6), array("StID" => 222, "StName" => "Sali", "Quizi => 8, "Qui 22" => 5, "Quiz3" => 7), array("SEID" => 333, "StName" => "Leen", "Quizi" => 9, "Quiz2" => 6, "Quiz3" => 4), array("SEID" => 444, "StName" => "Sami" "Quizi" => 6, "Qui 22" => 7, "Quiz3" => 8), array ("StID" => 555, "StName" => "Dalal", "Quizi" => 5, "Qui 22" => 7, "Quiz3" => 9)); ider the incomplete PHP code above, and then add for it the following three parts. Part-1 creates five one-dimensional arrays, and fills them with the data held by the previous multi-dimensional association array in the PHP code above. [9 marks] Part-Il computes the average of each student in the three quizzes, and then prints the id, name and the average for each student. You should use PHP loops and the one- dimensional arrays that you created in part-1 for solving this part. [8 marks] Part-III computes and prints the average of each quiz. You should use PHP loops and the one-dimensional arrays that you created in part-I for solving this part. (8 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!