Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please: i do not want repeat answer (i want new idea) thanks Question-1 [25 marks] Consider the incomplete PHP code above, and then add for

image text in transcribed

please: i do not want repeat answer (i want new idea)

thanks

Question-1 [25 marks] 111, "StName" => "Ahmad", "Quizl" => 7, "Quiz2" => 9, "Qui z3" => 6), array("SEID" => 222, "StName" => "Sali", "Quizl" => 8, "Quiz2" => 5, "Quiz3" => 7), array("SEID" => 333, "StName" => "Leen", "Quizl" => 9, "Quiz2" => 6, "Quiz3" => 4), array("SEID" => 444, "StName" => "Sami", "Quizl" => 6, "Quiz2" => 7, "Quiz3" => 8), array ("StID" => 555, "StName" => "Dalal", "Quizl" => 5, "Quiz2" => 7, "Quiz3" => 9)); ?> Consider the incomplete PHP code above, and then add for it the following three parts. Part-I 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-I for solving this part. (8 marks] Part-Ill computes and prints the average of each quiz. You should use PHP loops and the one-dimensional arrays that you created in part-1 for solving this part. [8 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

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

3rd Edition

978-1119907466

More Books

Students also viewed these Databases questions