To illustrate, here's a sample calculation of the TOTAL PERCENT SCORE for a hypothetical student:
Exam, Query and Homework Data for John Doe

Exam Scores      Exam 1    83 (out of 100)
                            Exam 2    68 (out of 100)

                            FINAL    84 (out of 100)

Query Total        12 (out of 15)

Homework Total        44.7 (out of 50)


 
Calculation of TOTAL PERCENT SCORE  for John Doe

His Final Exam score (84) is better than his Exam 2 score (68), so we replace the 68 with 84.

So John has earned  83 + 84 + 84 + 12 + 44.7 =  307.7 points out of a possible 365.

           John Doe's TOTAL PERCENT SCORE = (307.7/365) X 100 = 84.30

So what is his letter grade for the course?  I will not determine how 84.30 translates into a letter grade until after the final.  So don't bother asking.  (But the information below gives some guidelines to help John think about letter grades.)