Develop a system/application in Prolog that will allow grader to: load a set of student’s grades (see samples from the Table C below) query student’s final letter grade (A, B, C, etc.) by a given...

Develop a system/application inPrologthat will allow grader to:



load a set of student’s grades (see samples from the Table C below)


query student’s final letter grade (A, B, C, etc.) by a given student’s name.


query student(s) whose grade matches to the input letter grade (e.g., A). For example, show student(s) whose final letter grade is A.


There are 3 kinds of grades for each student—HWs, Exams, and Project, with the weight of 20%, 40% and 40%, respectively, to the 100-point final grade.


Table A and B show how the final grades (in points and letter) are computed. Table C shows samples of students’ grades.


You will define theexecution instructionsto answer the following questions so that grader can test out your application in Prolog:


how to load your source code to Prolog runtime/compiler


how to load students’ grades to Prolog runtime/compiler


how to query student’s latter grade


how to query student(s) whose letter grade matches to the input letter grade


Please DO NOT hard code any input values, output values in your code.






May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here