{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

quiz1_2009 - 6.034 Quiz 1 Name EMail Circle your TA and...

Info icon This preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
6.034 Quiz 1 September 30, 2009 Name EMail Circle your TA and recitation time, if any, so that we can more easily enter your score in our records and return your quiz to you promptly. TAs Erica Cooper Matthew Peairs Keith Richards Mark Seifter Yuan Shen Jeremy Smith Olga Wichrowska Thu Time Instructor 11-12 Gregory Marton 12-1 Gregory Marton 1-2 Bob Berwick 2-3 Bob Berwick 3-4 Bob Berwick Fri Time Instructor 1-2 Randall Davis 2-3 Randall Davis 3-4 Randall Davis Problem number Maximum Score Grader 1 50 2 50 Total 100 There are 11 pages in this quiz, including this one. In addition, tear-off sheets are provided at the end with duplicate drawings and data. As always, open book, open notes, open just about everything. 1
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Problem 1: Rule Systems (50 points) Due to constant pressure from the 6.034 staff, J. K. Rowling decides to write an 8th Harry Potter book. But, she's suffering from a bad case of writer's block and decides to use a rule-based system to help her with the plot for Harry Potter and the Deadhorse Principle . She's given you a set of rules and assertions and would like your help with developing key plot points. Rules: P0: IF (AND('(?x) is ambitious', '(?x) is a squib') THEN '(?x) has a bad term') P1: IF ('(?x) lives in Gryffindor Tower') THEN ('(?x) is a protagonist') P2: IF (('(?x) lives in Slytherin dungeon') THEN ('(?x) is a villain'), '(?x) is ambitious)) P3: IF (AND(OR('(?x) is a protagonist', '(?x) is a villain'), '(?x) is ambitious') THEN ('(?x) studies a lot')) P4: IF (AND('(?x) studies a lot', '(?x) is a protagonist') THEN ('(?x) becomes Hermione's friend')) P5: IF (AND('(?x) snogs (?y)', '(?x) lives in Gryffindor Tower', '(?y) lives in Slytherin dungeon') THEN ('(?x) has a bad term')) Assertions: A0: (Millicent lives in Slytherin dungeon) A1: (Millicent is ambitious)) A2: (Seamus lives in Gryffindor Tower) A3: (Seamus snogs Millicent) 2
Image of page 2
Part A: Backward Chaining (15 points) Make the following assumptions about backwards chaining: When working on a hypothesis, the backward chainer tries to find a matching assertion in the list of assertions. If no matching assertion is found, the backward chainer tries to find a
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern