Question: Develop a system/application in Prolog that will allow grader to: load a set of students grades (see samples from the Table C below) query students

Develop a system/application in Prolog that will allow grader to:

  1. load a set of students grades (see samples from the Table C below)
  2. query students final letter grade (A, B, C, etc.) by a given students name.
  3. 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 types of grades for each studentHWs, Exams, and Project, with a 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 the execution instructions to answer the following questions so that grader can test out your application in Prolog:

  1. how to load your source code to Prolog runtime/compiler
  2. how to load students grades to Prolog runtime/compiler
  3. how to query students letter grade
  4. how to query student(s) whose letter grade matches to an input letter grade

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

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!