Name ______Period ______
Introduction to Jeroo
Directions: Open the 1 Day Introduction to Jeroo power point and use it to fill in the information below.
- Jeroo is a ______oriented programming language.
- Define:
- Program: ______
- Source Code: ______
- Compiler: ______
- Interpreter : ______
- Java Byte Code: ______
- Machine Code: ______
- Algorithm: ______
- Syntax: ______
- Semantics: ______
- Object: ______
- Part 1: ______
- Part 2: ______
- Attribute: ______
- Behavior: ______
- Method: ______
- Method Precondition: ______
- Method Postconditions: ______
- Message: ______
- Class: ______
- Instantiation: ______
- If you want to install Jeroo onto your home computer for free go to ______
- The story behind the Jeroos. A jeroo is an animal similar to the ______that lives on ______but can't ______. They pick ______and try to avoid ______.
(0,0) / (0,1)
(?)
(3,2)
- The northwest corner of the island is location ______
- What is the location marked by (?) ______
- Draw an arrow in location (2,4) that points to the north.
- Draw a flower in location (1, 0)
- Draw an X to represent a net in location (3,4)
BCS-CMW-20a-i Programming
Name ______Period ______
- The 6 things a Jeroo can do are:
- ______
- ______
- ______
- ______
- ______
- ______
- 3 steps to creating a program in Jeroo
- ______
- ______
- ______
BCS-CMW-20a-i Programming
Name ______Period ______
12. Creating the environment. Identify all the icons by writing the correct number beside each letter.
- Save the island layout ______
- Set nets on the island ______
- Create a new island layout ______
- Quit ______
- Print the island layout ______
- Plant flowers ______
- Open the Jeroo language summary ______
- Clear the island layout ______
- Change how fast the jeroos move when the program executes. ______
- Add water to the island ______
- Save the island layout as a new file ______
- Open an island file ______
Jeroo Practice Intro.
Review: use the picture to the right to answer the questions below
Nelson the Jeroo (blue arrow) is at location (1,1) [row 1, column 1]
- Knowing the way maps are ordinarily represented, what direction would you say Nelson is facing? ____
- What is the exact location of the flower? ______
- Where is the net? ______
Practice Lab 0 - Create an original letter island Assignment:
1. Go to the My Documents folder and the Jeroo folder and double click Jeroo.jar and click Remember preferences
2. Using water, nets and flowers design an island with an attractive design based your initials.
3. Click the floppy disk on the island side and save as yournameLetterIsland1 to your folder by clicking the down arrow for Save in and choosing the Thawspace (T:) and double clicking the lower case: wbhs-lab6105 (middle) and double clicking My Documents folder and double clicking your folder. Print your island design.
4. Try making the rest of your initials yournameLetterIsland2 & 3.
Jeroo Code
Directions: Use Jeroo to fill in the information below.
Writing Jeroo programs
- How many Jeroos can you create in 1 program? ______
- What is the one method you MUST have in your program? ______
- Write the code to create a new Jeroo named neo ______
- Write the code to make neo hop one space forward. ______
- Write the code to make neo turn right ______
- Write the code to make neo hop forward 5 times ______
Label the controls used to run a program by writing the correct number next to each letter.
- run one step ___
- stop ___
- go back to the beginning ___
- run continuously ___
- pause ___
What language setting should you select when you run a program in Jeroo? ______
Jeroo Code Practice.
Directions: Open Jeroo and type the code you see displayed below and run it.
- Using the island and program below, what is the logic error in the code that killed Alexandria Jeroo?
______
- If she were to turn a different direction what would be the logic errors that keep her from picking up the flower?
______
______
- What is the location of the flower? ______
- What direction is the Jeroo facing when it is first created? ______
- What is the minimum number of hops required to get the Jeroo at 0,0 onto the flower? ______
- What is the minimum number of times the Jeroo at 0,0 must turn in order to get on top of the flower?___
Directions: Take the mixed up lines of code below and write them in the correct order in the box to the right so the program will work. You can re-use the same line of code as many times as you need to.
yourname.hop( );
}
yourname.pick();
Jeroo yourname = new Jeroo( );
method main( )
{
Directions: Experiment to find the answers to the problems below by using the pictures right or Jeroo.
- What if you create a Jeroo and there is a net in the northwest corner of the island?______
- What if you create a Jeroo and there is a flower in the northwest corner of the island?______
- What if you create 2 Jeroos in a row?
______
jane (blue arrow) is at location (0,0)
- What direction is she facing? ______
- Where is the flower? ______
- Where is the net? ______
- Write the code to create jane. ______
______
______
______
______
- Write the code to send jane to pick up the flower and toss it at the net.
______
______
______
______
______
______
______
______
______
Test your program in Jeroo and call it Your Initials PracticeToss.
What happened to the net? ______
BCS-CMW-20a-i Programming