subject
Computers and Technology, 26.06.2020 22:01 5041

Design a calculator that will allow you to easily calculate your grade. The XHTML page with the form data has been provided for your use in this lab assignment. Three inputs are required for each category: Points Earned, Maximum Points Possible, and Weight as a percentage out of 100. These values will be passed to the .php file that you need to create and name finalgrade. php. In the XHTML file, each input field has the attribute "name". This attribute value is how data will be collected for processing.
When creating your PHP file, you will reference each piece of data through the $_POST array, where the value of the index is equal to the name attribute.
Your calculations will be focused on two user-defined functions you must create. The first function requires two parameters and should return the calculated percentage. The second function requires the calculated percentage along with the assigned weight. This function should return the weighted percentage.
Your .php file should calculate and output the following values:
1. Percentage earned (for each grade component)
2. Weighted value earned towards the total grade (for each grade component)
3. Final grade percentage and letter grade
For the final letter grade you should use the breakdown listed in the syllabus. As the determination of the
letter grade is simple, you can use advanced operators to determine the letter grade. Decision structures
should not be used.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:30
At an open or uncontrolled intersection, yield if a. the cross road has more lanes than yours b. the cross road has fewer land than yours c. you’re on a state highway and the cross road is a secondary road d. do you have three or more passengers in your vehicle
Answers: 2
question
Computers and Technology, 22.06.2019 20:10
Assume that minutes is an int variable whose value is 0 or positive. write an expression whose value is "undercooked" or "soft-boiled" or "medium-boiled" or "hard-boiled" or "overcooked" based on the value of minutes. in particular: if the value of minutes is less than 2 the expression's value is "undercooked"; 2-4 would be a "soft-boiled", 5-7 would be "medium-boiled", 8-11 would be "hard-boiled" and 12 or more would be a "overcooked".
Answers: 1
question
Computers and Technology, 23.06.2019 00:00
What engine component is shown in the above figure?
Answers: 1
question
Computers and Technology, 23.06.2019 08:00
Which argument is not a valid filter? does not equal this quarter filter by cell color all of these are valid filter arguments.
Answers: 2
You know the right answer?
Design a calculator that will allow you to easily calculate your grade. The XHTML page with the form...
Questions
question
Mathematics, 18.09.2019 05:30
question
Social Studies, 18.09.2019 05:30
question
Mathematics, 18.09.2019 05:30
question
History, 18.09.2019 05:30
Questions on the website: 13722367