You are on page 1of 2

Lesson - GridWorld Case Study: Part 1 The goals of this lesson are: 1.

To download the GridWorld Case Study from the College Board website. GridWorld is a graphical environment where visual ob ects !such as bugs" flowers" frogs" etc# interact in a two$dimensional grid. %. To compile and e&ecute GridWorld on 'Creator. (t is helpful to set this up both at school and at home" so you can do the wor) in either place. *. To read +art 1 of the Student ,anual - .bserving and /&perimenting with GridWorld. 0. To submit answers to all 1uestions in +art 1. !2eads up: (n Second Semester of this course" there will be a whole unit covering +arts %$ 0 of this Case Study. 3evel 4B will also cover +art 5. 6or now" you are ust installing it on your computer and 7getting your feet wet8.# (nstructions 9Goal :1: 4T 2.,/: ;ownload Case Study from website< or 4T SC2..3: copy from 4+CS folder= 1. The Case Study is available on the College Board website and in the 4+CS folder on the school shared drive. There are instructions for setting up the Case Study at home and for school. (>ST?@CT(.>S 6.? 4T SC2..3: 7%$08: Copy the folder 4+CSAGridWorldAapBCDcsDgridworldcodeAGridWorldCode to someplace in your student account. (>T?@CT(.>S 6.? 4T 2.,/: %. 2ere is the GridWorld webpage on the College BoardEs website: www.collegeboard.comFstudentFtestingFapFcompsciDaFcase.html *. ;ownload the code G(+ file !clic) on 7Code8 lin)# and the Student ,anual: >arrative and 4ppendices as single document !clic) on 7Student ,anual8 lin)#. 0. @nHip the file. The Hip file contains the program code and 'ava documentation. When unHipped" the main folder created is 7GridWorldCode8. !There are three subfolders: the framewor) folder that contains the blac) bo& code for the graphical environment< the pro ects folder that contains code for which students are responsible< and the avadoc folder that contains the documentation for GridWorld. The inde& file in the avadoc folder can be used as a starting point for viewing the documentation.# 9Goal :%: Compile and /&ecute Case Study= 5. .pen 'Creator. ,a)e an empty pro ect entitled 7GridWorld8. 6or 73ocation8" 4T SC2..3: browse to the folder in your student account 7GridWorldCode8< or 4T 2.,/: browse to the folder 7GridWorldCode8 !that was created when you unHipped the Code file#. Clic) 7>e&t8. This gets you to the dialog bo& for 7';I +rofiles8 and 7?e1uired 3ibraries8. The ';I +rofile automatically chosen should be fine< but you need to add a library. Clic) on 7?e1uired 3ibraries8. Clic) 7>ew8. Give the library a name li)e 7gridworld8. Clic) 74dd$J4dd 4rchive8. Browse to the folder 7GridWorldCode8. Select the file 7gridworld8 !which is a

'4? file# and clic) 7.pen8. Clic) 7.I8. Chec)mar) the new library you created. Clic) 76inish8. !Kou may need to clic) another 76inish8 after that.# 94s an alternative to creating a ?e1uired 3ibrary" you could place the gridworld. ar files in the folder that you installed apcslib. ar" chnutils. ar" chndocs. ar at the beginning of the year.= L. Kour active pro ect should have a 7pro ect8 folder with * subfolders: 7bo&Bug8" 7critters8 and 7first+ro ect8. (n 7first+ro ect8" clic) on 7Bug?unner. ava8. Compile and then e&ecute the file. The GridWorld graphical environment should appear. Clic) 7?un8 to start the simulation. 9Goals :* and :0: ?ead +art 1 of the Student ,anual and answer 1uestions= C. ?ead +art 1 !pp 0$1B# of the Student ,anual !7apBCDgridworldDstudmanualDMpdf8#. N. Submit answers to all the 1uestions in +art 1: Set 1 !p L# and /&ercises 1$0 !p N#. Clearly label the answers to your 1uestions with the Set or /&ercise number and 1uestion number.

You might also like