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:





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

  2. query student’s final letter grade (A, B, C, etc.) by a given student’s 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 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:



  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 student’s latter grade

  4. 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.

Nov 02, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here