15
Aug 27, 2 022 Using Jeroo

30-Aug-15 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

Embed Size (px)

Citation preview

Page 1: 30-Aug-15 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

Apr 19, 2023

Using Jeroo

Page 2: 30-Aug-15 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

Overview

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

Page 3: 30-Aug-15 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)

The Jeroo language is a small object-oriented programming language. you create objects and then do things with them.

Created in Java.

Page 4: 30-Aug-15 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

Where did Jeroo come from?

NW Missouri State University Used in introductory college programming classes. Under development It’s free. www.jeroo.org

Page 5: 30-Aug-15 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

Why use Jeroo?

Jeroo keeps the focus on important topics. Students master ideas faster. Jeroo stimulates problem solving. Jeroo encourages experimentation. It’s fun!

Page 6: 30-Aug-15 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

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.

Page 7: 30-Aug-15 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

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.

(0,0) (0,1)

(?)

(3,2)

NORTH

What location is this?

Page 8: 30-Aug-15 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

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.

Page 9: 30-Aug-15 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

How Jeroo works

3 steps:1. Create your environment

2. Write the program

3. Run the program

Page 10: 30-Aug-15 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

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

Page 11: 30-Aug-15 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

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.

Page 12: 30-Aug-15 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

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)

Page 13: 30-Aug-15 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

A video demonstrating the Jeroo environment

(click the video clip above to start video)

if the video will not run, demonstrate in Jeroo

To create your environment in Jeroo:

Left-click to draw

Right-click to remove

Page 14: 30-Aug-15 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

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.

Page 15: 30-Aug-15 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

The End