0% found this document useful (1 vote)
418 views2 pages

Ai - Q - 1

1) Complete coding levels 1-3 of the Shape Tracer games and capture screenshots of your code and the path traced by the ozobot. Insert the screenshots into a Word document and submit it. 2) Create code to make an ozobot travel in the shapes of a square, two back-to-back triangles, and an infinity sign. Submit the code. 3) Read about search algorithms and draw search trees to solve 8-puzzle problems using breadth-first search and best-fit search with different heuristics. Explain why one heuristic is better.

Uploaded by

sangram sahani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
418 views2 pages

Ai - Q - 1

1) Complete coding levels 1-3 of the Shape Tracer games and capture screenshots of your code and the path traced by the ozobot. Insert the screenshots into a Word document and submit it. 2) Create code to make an ozobot travel in the shapes of a square, two back-to-back triangles, and an infinity sign. Submit the code. 3) Read about search algorithms and draw search trees to solve 8-puzzle problems using breadth-first search and best-fit search with different heuristics. Explain why one heuristic is better.

Uploaded by

sangram sahani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

1.

1) Browse to https://games.ozoblockly.com/shapetracer-basic and investigate the “line


tracing games” there. After you become familiar with the coding tasks in “Shape Tracer
1,” browse to “Shape Tracer 2” -
https://games.ozoblockly.com/shapetracer-advanced and complete levels 1, 2, and 3. [home
for these and others is, https://ozobot.com/create/challenges]
Using a screen capture app (and not your phone or camera), capture your code for each
level after you successfully complete it. Ensure both your code and the path traced by
the ozobot are visible in the screen capture.
Insert your screen images into a Microsoft Word data file. Save your file with the name
assignment 1.3 and upload it here. Be sure your name is in the document and you have
labeled the images with the level number.
Homework Assignment 1.3 is worth 10 points and will be graded based upon accuracy
and completeness of information along with properly inserting the images into the
document.
1.2) Using your Ozobot, create code, load it into the robot, and execute it to perform the
following:
A - travel in a square
B - travel in two "back to back" triangles [imagine a crude bow tie shape]
C - travel in the shape of an infinity sign [imagine two crude circles back to back]
Upload your code pasted into a document here. You can test out your code before
downloading it to your Ozobot (or in the absence of a real robot) by using the
simulator https://games.ozoblockly.com/shapetracer-freeform or by
using https://games.ozoblockly.com/shapetracer-advanced?lang=en and “ignore” the
challenge and just code the assignment
1.3) After you have thoroughly read sections 11.1 - 11.3 in chapter 11 of Computer Science:
An Overview. Answer the following questions:
A) Draw the search tree that is generated by a breadth-first search in an attempt to solve
the eight-puzzle from the following start state without the assistance of any heuristic
information.  Continue the tree for 5 levels or until a solution is obtained.
           1        3
    4     2        5
    7     8        6
B) Draw the search tree that is generated by the best-fit algorithm below in an attempt to
solve the eight-puzzle from the state shown in the first problem if the number of tiles out
of place is used as a heuristic. [the first heuristic]
C) Draw the search tree that is generated by the best-fit algorithm as detailed in the
previous question in an attempt to solve the eight-puzzle from the following start state,
assuming the heuristic used is as follows:
    Measure the distance each tile is from its destination and add these values to obtain a
single quantity. [the second heuristic]
     1    2        3
    5     7        6
    4               8
D) When solving the eight-puzzle, why would the number of tiles out of place [the first
heuristic] not be as good a heuristic as the one described in the question above [the
second heuristic]?
1.4) Thoroughly read the text The Mind of the Maker. Create a document which summarizes
Sayers' claims regarding the “creative mind.”

One of Sayers’ analogies was illustrating the creative process in the context of a writer.
In your own words summarize and explain her analogy.

Maximum length of document: 3 pages.

Suggested length of document: 1.5-2 pages.

Be sure to carefully proof-read your document to ensure it is well-written and


understandable. You document should have a title page with your name.
1.5) In the 20th century, there were great expectations ("high hopes") for AI. In the 20 th century
many AI researchers felt that we would have “robot servants” by the end of the 1990s.
These robots would have general intelligence and be able to interact with human beings
on many levels. By the end of the 20th century; however, a number of AI researchers felt
the goal was too difficult to achieve. At the beginning of the 21 st century, the field of AI
divided into two large “camps.”
Summarize the position of the two major camps and explain the root cause of the
division. (Hints: I refer to the two camps as “strong” and “weak;” the cause deals with the
nature of “I” in AI.)
Maximum length of document: 3 pages
Create a document which is clear and concise, free from syntax and semantic errors. Be
sure to carefully proof-read your document to ensure it is well-written and
understandable.
Use outside resources as needed to complete the paper. Remember to cite all resources
used.

You might also like