信息安全考试代考 COMS3000代写 Information Security代写
638Final Examinations COMS3000 Information Security 信息安全考试代考 13 QUESTIONS (60 MARKS – 120 minutes) Answer all questions in the answer booklets This question paper will NOT be present du...
View detailsSearch the whole station
代考人工智能考试 Problem 1 The following problem is known as EXACT SET COVER: You are given a universal set U of elements and a collection W of subsets of U.
The following problem is known as EXACT SET COVER: You are given a universal set U of elements and a collection W of subsets of U. The object is to find a subcollection Y of W such that every element of U is in exactly one set in Y.
For instance, suppose that U is the set {a,b,c,d,e,f,g,h,i} and that W is the following collection:
W1 = {a,d,f,h}
W2 = {b,e,g}
W3 = {e,g}
W4= {d,e,i}
W5 = {b,d,f,h}
W6 = {a,c,i}
W7 = {c,d,e}
W8 = {b,c,f}
Then one solution would be Y={W3,W5,W6}
For instance, if S is the collection {W6}, then X is the element “b”. The successors to S are the collections {W6,W2}, and {W6,W5}. The collection {W6,W8} is not a successor to S — in fact, it is not a legitimate state at all — because both W6 and W8 contain the element “c”.
B. Suppose that in a particular problem, there are 100 elements in U; there are 50 sets in W; each set in W has exactly 20 elements; and each element in U is covered by exactly 10 sets in W. Thus, a solution to the problem must consist of exactly 5 sets in W (100 elements total divided by 20 elements per set). What is
the branching factor in the state space? What is the depth of the state space? Give an upper bound on the size of the state space.
C. Would it be worthwhile using iterative deepening rather than depth-first search for the problem in B? Explain your answer.
D. Suppose that in a particular problem, there are 100 elements in U; there are 50 sets in W; each set in W has between 10 and 20 elements; and each element in U is covered by between 5 and 10 sets in W. Thus, a solution to the problem contains somewhere between 5 (=100/20) and 10 (=100/10) sets in W. Might it be worthwile using iterative deepening for this problem rather than depth-first search? Explain your answer.
Suppose that we want to solve EXACT SET COVER using hill climbing. Let us define a state to be any subcollection of W; for instance, in the above example {W3, W4, W7} would be one state. Propose a plausible neighbor relation on the state space and a plausible error function.
Convert the following sentences to CNF:
A. ~ [P ^ (Q=>R)]
B. ~[Q <=> R]
Trace the workings of the Davis-Putnam procedure on the set of clauses. When you reach a choice point, use the alphabetically first unbound atom and try TRUE before FALSE.
1. ~P V Q V R.
2. Q V ~R V ~W.
3. P V Q V ~R
4. ~Q.
5. ~P V ~W
6. W V X
7. ~R V W V ~X.
Let U be a domain of people and books. Let L a first-order language over U with the following symbols:
B(b,p) — book b is a biography of person p
G(p1,p2,b) — person p1 gave a copy of book b to person p2.
O(p,b) — person p owns a copy of book b.
W(p,b) — person p wrote book b.
F(p1,p2) — persons p1,p2 are friends.
A,P,S — Anne, Pamela, Sam
Express the following in L
1. Sam gave a copy of a book by Anne to Pamela.
2. If person p1 gave book b to person p2 then p2 owns a copy of b.
3. Sam owns a copy of every book that Anne has written.
4. The only books that Anne has written are biographies of friends of Anne’s.
更多代写:personal statement计算机代写 托福家庭版保分 英国代写 Finance an Management 金融与管理Essay代写 Research Paper作业代写 计算机体系结构cs代写
合作平台:essay代写 论文代写 写手招聘 英国留学生代写
Final Examinations COMS3000 Information Security 信息安全考试代考 13 QUESTIONS (60 MARKS – 120 minutes) Answer all questions in the answer booklets This question paper will NOT be present du...
View details