Using Jeroo - PowerPoint PPT Presentation

1 / 14
About This Presentation
Title:

Using Jeroo

Description:

Title: No Slide Title Author: Dianne Meskauskas Last modified by: Judith Hromcik Created Date: 9/15/2001 1:34:57 PM Document presentation format: On-screen Show – PowerPoint PPT presentation

Number of Views:34
Avg rating:3.0/5.0
Slides: 15
Provided by: dianneme
Category:
Tags: jeroo | swim | using

less

Transcript and Presenter's Notes

Title: Using Jeroo


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
  • Its 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,0) (0,1)
(?)

(3,2)
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(relative direction) ? 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
Write a Comment
User Comments (0)
About PowerShow.com