Joint Institute SCNU - University of AberdeenKnowledge Representation (JC4002)
Assessment
The assessment is worth 25% of the overall marks for the course. Each item indicates the numberof marks it is worth, clearly broken down in their specification. Students will provide their answers viaMyAberdeen and receive feedback via MyAberdeen.
Learning outcomes associated with this assessment:
- Students will be able to identify the knowledge base (or lack thereof) of an AI application.
- Students will be able to evaluate the use of knowledge base in real-world scenarios.
- Students will be able to design, implement and evaluate knowledge-intensive AI systems.Instructions to students:
- Your solution should be one single ZIP file (as indicated in the item) that you should uploadto MyAberdeen by the established time/deadline. Any other format (such as RAR, ARJ, 7zip,or any other format other than ZIP) will result in 0 marks. Do not email us your solution.
- If you submit a scanned/handwritten PDF, you will get 0 marks.
- This is an individual coursework, if you share your solution with a colleague or if you copy anexisting solution, both students will be investigated for collusion and plagiarism; the investigationcan result in both students getting 0 marks or being expelled from the course.
- Your file should be named “JC4002-YourSurname-YourName-YourIDNo.zip”. For instance, “JC4002-
Jovan-Ferdian-999999.zip”1 , where 999999 is your student ID.
About this assessment: You must never share it with anybody in or outside the course, evenafter you complete the course. Please do not distribute or post solutions to any of the projects and notebooks.
Academic Dishonesty: This is an advanced course, therefore we expect full professionalism andethical conduct. You must work on this project individually. You are free to discuss high-level designissues with the people in your class, but every aspect of your actual formalisation/code/answer mustbe entirely your own work. Furthermore, there can be no textual similarities in the reports generatedby each person. Plagiarism, no matter the degree, will result in forfeiture of the entire grade of thisassessment. Plagiarism is a serious issue and we take 代 写JC4002 Each item indicates the numberof marks academic misconduct very seriously. Sophisticatedplagiarism detection software will be used to check your code against other submissions in the class aswell as resources available on the web for logical redundancy. Please do not let us down and risk our
trust. If you do, we will pursue the strongest consequences available to us according to the guidelinesprovided by the university. For more information, see the Code of Practice on Student Discipline. Use
of automated services to generate submissions for assessment will be treated as academic misconduct and pursued under the University misconduct procedures.
Late Submissions: You should apply for an extension by emailing your request (using
your UoA email address) to [email protected]. You should also include any supporting
evidence where possible e.g medical letter. Please familiarise yourself with the University’s guidanceon late submission.1
Do not put the quotation marks in your filenameJC4002 – Knowledge Representation
Horn-Clauses and Prolog
- Your assessment is to write a text adventure game in Prolog.2 You have to use the SWI-Prolog
nterpreter for this assessment.You can copy the file “adventure-startercode.pl” (available on myAberdeen along with this PDF)and use it as a starting point. In this sample game there is one room, one object, and one directionyou can go (north, but going in that direction takes you back to the same room). You can use ormodify this code in any way you like to create your own game. Submitting the same file withoutany significant changes will merit 0 marks. You do not need to use this file as a starting point,but you must follow these requirements:
(a) (30 marks) Knowledge base facts – Does your knowledge base include all the necessaryfacts to play the game? Are there any facts that are never being used in the game? Do youhave dynamic facts and are they being managed correctly?(b) (30 marks) Knowledge base rules – Do you have rules for winning the game? And for
losing the game? Do you have rules to manage the player inventory (assuming you are using
nventory system in your game)? Are the commands that the player can use working properly?Are you using arithmetic functions to manipulate your knowledge and the rules of the game?
(c) (10 marks) Transcript – See submission instructions for details.
(d) (30 marks) Report – See submission instructions for details.
Total Marks 1: 100 marks
Marking scheme: Your program should work, should satisfy the above requirements, and should bereasonably formatted. At most 25 marks will be awarded if the program does not run. Submissions
without all the main files (“game name.pl”, “report.pdf”, and “transcript.txt”) will merit 0
marks.You should have a start/0 predicate (similar to the one provided in the starting code) that we can
use to start your game and print out what commands the player can use. Submissions without this predicate will merit 0 marks. Submissions that do not inform the player the commandsthat can be used at the start of the game will receive mark penalties.We reserve the right for some subjective judgement. If we like your game, we may give you bonus
points for it. If your game seems to lack creativity and interest, you may lose points.
Submission instructions:
The following files should be included in your ZIP file (ZIP only, not
RAR, 7z, or anything else):
- game name.pl – source code. The game name should be a short version of the name of yourgame.
- transcript.txt – a transcript of a sample run of your program. This is a walkthrough of thegame, showing the commands entered and the computer’s response to each command. Youcan get this by playing the game and copy/pasting the results. You have to show a successfulrun of your program (i.e., beating the game).
- report.pdf – game report containing:
– the name of your game;– one paragraph describing what your game is about;– an explanation of your knowledge base and what was your reasoning for making the
choices you did;– an inspiration game that you use (if you use any) and an explanation what differs betweenyour game and your inspiration game from the gameplay perspective aswell as codesperspective.2This is inspired by Prolog coursework from David Matuszek.Assessment 2JC4002 – Knowledge Representation– there is no specific template that you must follow, but here are the things we expect outof your report (if any of these instructions are not followed, you will get mark penalties):
∗ at most 1500 words (add your word counter in the end of your report, references,figures, tables, and captions do not count);
∗ text alignment justified;
∗ no abstract;
∗ section headers (numbers are optional but should be consistent if present);
∗ We expect to see at least a figure and/or table to help explain your game;
∗ references should be formatted following the ACM style (if you used any, but remember if you took inspiration from something and you do not cite it that isplagiarism).
Hints:
- There are many text adventure games available online (many even in Prolog) to draw inspiration from. Just be careful with plagiarism, only use them for inspiration, do not copy anyof the code (remember you will have to explain your game and your code in your report).
- You could push this beyond the scope of the assessment by adding an interface, web server,learning component, etc. There are many tutorials for using these things in Prolog availablein SWI-Prolog website and on internet forums. This is not required, but you will likely getbonus marks if you manage to pull it off successfully.
- Your game may have several win and loss conditions, just be careful they are not contradictory.
- The cut operator is your friend to make nice print statements and to make the flow of thegame more natural.
Assessment 3
标签:use,numberof,JC4002,should,will,item,game,marks,your From: https://www.cnblogs.com/goodlunn/p/18493526