kindly discuss this assignment here.
Assignment No. 03
Total Marks: 15
Due Date: 26/06/2013
Please read the following instructions carefully before submitting assignment:
To understand and familiarize with Prolog Language.
For any query about the assignment, contact at email@example.com or through MDB.
Suppose you have the following observational data about students of college.
Question # 1 Marks 5
Write the prolog rules for the followings.
If one is studying Artificial Intelligence and Computer Vision then perquisite is Discrete Structure.
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
would u like to solve this for us?
a. Is there prerequisite of Discrete Structure for X?
sny2ksa solve one point for us ...i am little bit confused other parts i wll do it
according to me.
Is there prerequisite of Discrete Structure for X?
?- isa(X, discrete structure)
X = computer vision
"X" variable which is True for those who have been following the constraint defined in rule you need to define the functions in such a way that you can be able to the names of the students who are legally bound that they have studied specific pre-req course for the constraint defined; here you have very explicit rule defined for whom the the pre-req of discrete structure is required obviously for those students who have been studying AI and Computer Vision. Think deeply and with peace of mind it is all part of assignment. All the best.
?- prerequisite(Discrete Structure, X)
X= Ali ; Yes
X= Akram ; Yes
X= Mehvish ; Yes
X= Sobia ; Yes
X= Mujahid; Yes
X= Ahmad ; Yes
X= Jawad ; Yes
X= Abdullah; Yes
M saqib khan ..it seems good,but kindly tell me that, do we have to add NO conditions also??
do u have assign some such variables in Rules too.plz reply me fast.
i am too confused now,
need full solution its urgent time is short.
kisi ki pass solution hai tu kindly upload it plzzzzzzzzzzzzzz
plz upload complt solu time is to short
thainga.... koi nahi dainy wla sub selfish hain :/
chlo fear g mojain marty haen