You are on page 1of 6

Assignment

Name of Student: Aditya Mishra SAP ID:1000011196

Assignment ID Assignment Submission Assessment Individual Weightage - Date of Submission


– A2 2 Mode - Pdf Method 10 Release Deadline
– 27-09- (Date and
2020 time) – 04-10-
2020, 11:59
PM

Instructions:

 Assignment must be submitted by the Due Dateand Time as mentioned above.


 Assignment submitted after Due Dateand Time and before the next 48 hours will
be marked late and will attract a penalty of Xmarks (out of the overall Ymarks,
and it will be evaluated out of Y-Xmarks only). Assignment will not be
considered for evaluation subsequently (after 48 hours past due date and time),
and a score of zero will be awarded.
 Plagiarism is not allowed by the University for any Academic Document to be
submitted by the students for any assessment. To avoid plagiarism, ensure you
always follow good academic practice.
 Submittedassignment must have your Full Name and SAP ID in the space
provided above this page in the Header.

Submitting this Assignment

 You will submit (upload) this assignment in MS Teams.


 Email/paper submissions will not be accepted.
 Questions must be answered in the given order.
 Submit a pdf version of this document.
 Name this document as A2_CS302_Odd2020_John_Doe.pdf in case your name is
John Doe, and you are submitting Assignment 2 of the course whose code is
CS302, and it is offered in the Odd Semester of the Year 2020.

Assignment 2
Assignment

Name of Student: Aditya Mishra SAP ID:1000011196

1. Write Prolog program to color the Map shown in figure. No two adjacent
regions in the graph should be colored with same color. Assume (A,E) and (D,F)
as adjacent regions and colors are {Red, Green, Yellow, Blue}.
Assignment

Name of Student: Aditya Mishra SAP ID:1000011196

ANS -
Assignment

Name of Student: Aditya Mishra SAP ID:1000011196


Assignment

Name of Student: Aditya Mishra SAP ID:1000011196


Assignment

Name of Student: Aditya Mishra SAP ID:1000011196

2. Form Predicates and rule for the following queries in PROLOG.


For any X and Y
X is a sister of Y if
Both X and Y have the same parent and
X is a Female.

ANS -

You might also like