# Alice 3 Programming Assessment: PowerPoint Presentation, PPT - DocSlides

2018-10-22 8K 8 0 0

##### Description

Parameters. Jonathon Kuo. Under the direction of Professor Susan Rodger. Duke University. June 2017. Adapted from Samantha Huerta’s Alice 2 assessment, . “Parameters Assessment”. Assessment Overview. ID: 693642

DownloadNote - The PPT/PDF document "Alice 3 Programming Assessment:" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

### Presentations text content in Alice 3 Programming Assessment:

Slide1

Alice 3 Programming Assessment: Parameters

Jonathon KuoUnder the direction of Professor Susan RodgerDuke UniversityJune 2017Adapted from Samantha Huerta’s Alice 2 assessment, “Parameters Assessment”

Slide2

Assessment Overview

This assessment is designed to cover parameters in Alice 3. This assessment should take about 15-20 minutes to complete.Before attempting this challenge, please complete the tutorial: “Alice 3 Parameters Video Tutorial” or another parameters tutorial

Slide3

Starter World

Open the parameterAssessmentStart.a3p worldYou will see that there are already objects and methods writtenIf you press play and click on any of the objects in the world, the bunny will move to the banana and eat it

Slide4

GoalThe goal of the world is to have the bunny move to any of the objects in the world once they are clicked on

If the object is healthy, she will eat itIf it isn’t, then she will not eat itYour job is to fix the world so that it works!

Slide5

MethodsThere are only two methods in this world

this.myFirstMethodthis.bunnyEatYour changes will be made in bunnyEatFind bunnyEat in the Scene tab

There are comments in the method to help!

Slide6

Fixing bunnyEat

FirstUpdate the method so that instead of the bunny only visiting the banana, she is able to visit any of the objects

Slide7

Fixing bunnyEat

NextChange the eventListener so that the bunnyEat executes when a treat is clicked on.

Slide8

Fixing bunnyEat

LastMake sure the bunny does not eat ANY of the cakes!!Right now, she will eat cake2 and cake3!

Slide9

Completion

If in your world, you are able to visit all of the objects an the bunny only eats the fruits and vegetables, you have completed the challenge!You can compare to the solution online.Congratulations!!

Slide10