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.
Answers: 2
Computers and Technology, 22.06.2019 07:30, DivineMemes420
What type of computer network ensures high security ?
Answers: 1
Computers and Technology, 23.06.2019 22:30, BilliePaul95
Janice usually works on a particular workbook that contains all business related data. she decides to keep a backup of all the data in a separate workbook. she opens a new workbook to transfer the data. which option should she use to copy all the data from one workbook to another workbook?
Answers: 1
Computers and Technology, 24.06.2019 20:20, isaiahromero15
Write python code that prompts the user to enter his or her favorite color and assigns the userβs input to a variable named color.
Answers: 1
Computers and Technology, 24.06.2019 22:10, jsjsjsskakwkowwj
Function name: poly parameters: int returns: int description: a polynomial of degree n with coefficients a0,a1,a2,a3, . . ,an is the function p(x) = a0+a1x+a2x2+a3 β x3+ . . +an β xn this function can be evaluated at different values of x. for example, if: p(x) = 1+2x+ x2, then p(2) = 1+2 β 2+22 = 9. if p(x) = 1+x2+x4, then p(2) = 21 and p(3) = 91. write a function poly() that takes as input a list of coefficients a0, a1, a2, a3, . . , an of a polynomial p(x) and a value x. the function will return poly(x), which is the value of the polynomial when evaluated at x.
Answers: 3
Design a calculator that will allow you to easily calculate your grade. The XHTML page with the form...
Mathematics, 28.01.2021 20:10
Mathematics, 28.01.2021 20:10
Biology, 28.01.2021 20:10
Mathematics, 28.01.2021 20:10
History, 28.01.2021 20:10
Law, 28.01.2021 20:10
Computers and Technology, 28.01.2021 20:10