Beruflich Dokumente
Kultur Dokumente
Figure 1: Graph. (a) tic-tac-toe (b) farmer, wolf, cabbage, goat 10. Construct a prolog prolog, run and test for a preliminary selection process, using the following database: qulify(U, V, W, X, Y, Z). where U is numeric enrollment number, V is name, W is number of prizes won, and X, Y, Z are percent scores in 10th, 11th, 12th. Only those candidates should be listed on the query, with all the details, which have any one of the following qualications: have one 3 prizes, and have 10th score 75%, and 11th and 12th scores are at least 70% have no prizes won, have 10th scores of minimum 60% and 11th minimum of 60% and 12th score of minimum 75% have won one prize, 10th score of 90% or higher, 11th and 12th minimum of 60% 11. Given the graph shown in gure 2, construct prolog program, and apply the queries to nd out if there is path between any two cities?
Figure 2: Cities with links. Note: 1. Submission deadline 23rd Feb. 2012(without any further extension), in hard copy. Plagiarism is oense, penalty may be deduction of complete scores of both parties whose answers were found verbatim in one or more questions. 2. Neatness of work and completeness of the answers is encouraged.