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 15:20
This os integrated the processing power of windows nt with the easy-to-use gui of windows 98. windows 2000 windows 3.11 windows for workgroups windowa millennium edition
Answers: 1
question
Computers and Technology, 22.06.2019 17:30
Working on this program in python 3.7: a year in the modern gregorian calendar consists of 365 days. in reality, the earth takes longer to rotate around the sun. to account for the difference in time, every 4 years, a leap year takes place. a leap year is when a year has 366 days: an extra day, february 29th. the requirements for a given year to be a leap year are: 1) the year must be divisible by 42) if the year is a century year (1700, 1800, the year must be evenly divisible by 400some example leap years are 1600, 1712, and 2016.write a program that takes in a year and determines whether that year is a leap year.ex: if the input is 1712, the output is: 1712 is a leap year. ex: if the input is 1913, the output is: 1913 is not a leap year. your program must define and call the function isleapyear(useryear). the function should return true if the input year is a leap year and false otherwise.
Answers: 1
question
Computers and Technology, 22.06.2019 19:20
Terri needs to insert a cover page into her document. where should she go to access the commands to do so? o insert tab, objects group o insert tab, illustrations group o insert tab, pages group o insert tab, media group submit
Answers: 1
question
Computers and Technology, 22.06.2019 21:10
Dameas communication challenge is due to which factor
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
Questions on the website: 13722363