www.vustudents.ning.com

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

# CS508 Assignment No 03 Solution & Discussion Spring 2013

kindly discuss this assignment here.

Views: 2589

Attachments:

### Replies to This Discussion

also for PROLOG rules another table is given on the same page

"something is an animal"

rules for this is

animal(X):-isa(X,bird).

now any one tell me me gong to right or wrong

Imran Faisalabad i have give u idea now try to solve it

1. a.      Is there prerequisite of Discrete Structure for X?

?- perquisite (Discrete Structure, X)

X= Mujahid

someone plz tell if this is rite

i think rite DuAa AwAn can u tell me how we can write the rule  of this sentence

If one is studying Encryption Techniques and Computer Vision then Perquisite is Discrete Structure and Analysis of Algorithms.

as it is

istudying(Encryption Technique and Computer Vision):-isprerequisite(Discrete Structure and Analysis of Algorithms).

plz tell

istudying(Encryption Technique, Computer Vision):-isprerequisite(Discrete Structure), isprerequisite(Analysis of Algorithms).
or it can b as
istudying(Encryption Technique), istudying(Computer Vision):-isprerequisite(Discrete Structure), isprerequisite(Analysis of Algorithms).

as in example on page 88

brother(X,Y):- man(X),man(Y).

it means X and Y are brothers used , in place of and.....

thats my idea now u can consider it and think urself

for AND , apply conjunction rules.

mean u can combine queries separated by commas..

NO NOT LIKE THIS...

here i think X is the subject not the student.

X can't be a subject because in that way there ain't any perquisite for Discrete Structure.

Discrete Structure is it self a perquisite.

prerequisites are always subject-wise not student wise.:)

 English Prolog a.      Is there prerequisite of Discrete Structure for X? Answer:”no” ?:-prerequisite(discrete structure). no

this is rite or not because there is no o prerequi.....od discrete...

 English Prolog a.      Is there prerequisite of Discrete Structure for X? Answer:”yes” ?:-prerequisite(discrete structure,X). X= Efficient Security Algorithms. X= Analysis of Algorithms. b.      Is there prerequisite of Discrete Structure and Analysis of Algorithms for Y? c.       Is there prerequisite of Analysis of Algorithms for Z? d.      Is Sobia Studying Artificial Intelligence? e.      Are Abdullah and Imran Studying Encryption Techniques? f.        Is P studying Computer Vision and Artificial Intelligence?

1

2

3

4

5

## Latest Activity

alvia khan posted a discussion

7 hours ago

### ENG502 Current Midterm Paper 20/1/2022 5:30pm

10 hours ago
pcscrack posted a blog post

### EaseUS Partition Master License Code

12 hours ago
Nida Arshad Javaid Ch posted a video

### Jiss Ko Dowaon Main Manga -- Heart Touching ❤️

12 hours ago
Download crackpc, Cracks Zonepc, pcscrack and 4 more joined Virtual University of Pakistan
13 hours ago
Cracks Zonepc joined + M.Tariq Malik's group

### ENG101 English Comprehension

13 hours ago
13 hours ago
Muhammaad Arif left a comment for Karina Lopez
14 hours ago