Assignment No. 03 |
Total Marks: 15
Due Date: 23/01/2014 |
|
Instructions:
Please read the following instructions carefully before submitting assignment:
Objectives:
To understand and familiarize with Prolog Language.
|
||
For any query about the assignment, contact at cs508@vu.edu.pk or through MDB. | ||
Assignment Questions |
||
Suppose you have the following observational data about sports students.
Question # 1 Marks 5
Write the prolog rules for the followings.
Question # 2 Marks 10 Write the prolog queries for the followings. These queries will be executed according to the facts and rules defined for the above given data and perform all steps to write the output of the given queries.
Note: In queries where variables are used along with answer write all the possible matches either they are true or not.
|
||
BEST OF LUCK
|