1 / 14

Using Jeroo

Using Jeroo. Overview. In this presentation we will discuss: What is Jeroo? Where did it come from? Why use it? How it works. Your first assignments. What is Jeroo?. An environment for learning object oriented programming. (OOP)

wolcott
Download Presentation

Using Jeroo

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Using Jeroo

  2. Overview • In this presentation we will discuss: • What is Jeroo? • Where did it come from? • Why use it? • How it works. • Your first assignments.

  3. What is Jeroo? • An environment for learning object oriented programming. (OOP) • The Jeroo language is a small object-oriented programming language. • you create objects and then do things with them. • Created in Java.

  4. Where did Jeroo come from? • NW Missouri State University • It’s free. www.jeroo.org

  5. Jeroo • Place: Santong Island in the South Pacific • Two unknown species • Jeroo: similar to the wallabies of Australia • Winsum Flower: Jeroo's source of food • Jeroos • have a pouch to hold flowers • can't swim – fur gets waterlogged-must dry • Humans arrive and set nets to catch Jeroos.

  6. The Jeroo environment • The island is made of rows and columns. • The programmer chose to number both the rows and columns starting with zero at the northwest corner of the island. 2 0 1 3 4 columns 0 rows 1 NORTH 2 3 What location is this?

  7. Programming steps • A Jeroo can execute 6 action methods • hop() hop once or hop(n) to hop n times • turn( relative_direction ) • pick()  pick a flower • plant()  plant a flower from the pouch • toss()  throw a flower one space ahead. • give(relativedirection)  give a flower to another jeroo • They always follow directions in order, from top to bottom. • Put it all together to solve various problems.

  8. How Jeroo works • 3 steps: • Create your environment • Write the program • Run the program

  9. Icons used to create and edit islands • Set the speed of the Jeroos • Create a new island layout • Open an existing island • Save the island • Save as • Print • Plant flowers on the island • Set nets on the island • Add water to the island • Clear the island layout (remove all extra flowers, water and nets) • Get help with the Jeroo language • Quit Jeroo

  10. Step 1. Create the Environment • To start: • Open an existing Island File • Or Create your own Island • Add or remove: • Flowers • Nets • Water • Land • You can save and re-use your islands.

  11. Learn how to create islands. • Select water, flower or net • left-click to add • right-click to remove • Learn how to save islands. • Programs and islands are saved separately • Source_file save (.jsc) • Island_file save (.jev)

  12. Creating the Jeroo environment To create your environment in Jeroo: Left-click to draw Right-click to remove

  13. Your first island Assignment: Design an island that uses water, nets and flowers to create an attractive design based on one or more of your initials. Save as yournameLetterIsland and print your island design.

  14. The End

More Related