Unit 2

Optional Projects

Automated Fortune Teller

In this project, you will build an automated fortune telling program inspired by the Magic 8 Ball® that randomly offers answers to YES/NO questions. Click the video below to watch the app in action.


BJC Unit 2 Optional Project, Page 1

If There Is Time

BJC Unit 2 Optional Project, Page 1 ITIT

Egyptian Motif

Much Islamic art applies principles of geometry and repeats simple patterns to form complex forms. For example, the Egyptian Motif above has six overlapping rectangles.

In this project, you will learn how to extend your pinwheel code from Unit 1 to create such intricate patterns.

BJC Unit 2 Optional Project, Page 2

If There Is Time

BJC Unit 2 Optional Project, Page 2 ITIT

Click to access the page.

Mastermind

In this project, you will begin to build the game Mastermind™. In this game, one player selects a sequence of four secret colors, and the other player tries to guess it.

BJC Unit 2 Optional Project, Page 3

Modeling Language: Plurals, Part 1

Siri and other robots are programmed to generate language. Siri speaks; some robots write. You have developed a program, gossip, that writes. Now, you can extend the computer's abilities with language by developing a reporter block, plural, that takes a noun as input and correctly spells and outputs the plural.

Spelling a plural can seem almost automatic for a person, but it is not simple: a computer needs an algorithm to do that task.

Unit 2 Optional Project, Page 4

Modeling Language: Plurals, Part 2

You can improve plural to work correctly with more words.

Unit 2 Optional Project, Page 5

Railroad Crossing Turnout

You will improve your Railroad Crossing project so that it uses the list of data collected at the crossing to determine if a train should be sent on a different track by operating a switch for a turnout.


BJC Unit 2 Optional Project, Page6