Puzzle-solving Theo, Mira, Bruno, and Igor are students. They spend most of their free time in a park and each of them is engaged in some hobby. Today they had a break of two hours and the weather was nice, so they ate their lunch in the park.
The following are known facts: 1. Theo is sitting on the far left eating a sandwich. 2. Mira likes to solve crossword puzzles and enjoys eating pie. 3. The girl has a white T-shirt. 4. Bruno has a yellow T-shirt. 5. He who likes to write eats a hamburger.
6. The person eating the pie is sitting next to Theo. 7. Bruno is sitting next to the one eating pizza. 8. The person sitting next to the one in the white shirt likes pizza. 9. Igor likes to read. 10. The person sitting to the right of the girl has a blue shirt. 1. Write the appropriate PROLOG predicates to represent the knowns facts. The facts must not be changed or supplemented (that is, the predicates that will be write about the facts must not contain additional information that you would derive based on the given facts). For example, facts that are somehow related to a girl, do not directly link them to Mira, but reach the name Mira through additional fact that Mira is a girl.
2. In addition, write a predicate sol(L), which should return as a result list L which will contain the complete solution of the problem. One element of this list represents a quad of values (name, food, hobby, t-shirt) and refers to exact combination of a student's name, the food he eats, the hobby he has, and the t-shirt he wears carries.
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme