25-Oct-15 Jeroo Code. Overview In this presentation we will discuss: How to write code in Jeroo How to run a Jeroo program.

Slides:



Advertisements
Similar presentations
Using Jeroo Dianne Meskauskas
Advertisements

Robofest 2005 Introduction to Programming RIS 2.0 RCX Code.
Welcome to Famis From W&M home page – Search famis.
13-Jun-14 OOP features of Jeroo. Overview In this presentation we will discuss these topics: OOP terminology Jeroo syntax constructors methods.
Extended DISC Online System User Instruction: How to Run a Team Analysis.
11-May-15 Control Structures part 2. Overview Control structures cause the program to repeat a section of code or choose between different sections of.
Programming in Jessica By Joaquin Vila Prepared by Shirley White Illinois State University Applied Computer Science Department.
SIMPLE PROGRAMS Jeroo – Chapter 4 –. Basic Concepts Jeroo (Java/C++/object-oriented) programing style is case-sensative. Be consistent in coding Logic.
The IDE (Integrated Development Environment) provides a DEBUGGER for locating and correcting errors in program logic (logic errors not syntax errors) The.
Assignment 10 Sample problems. Generalized Manhattan.
Spreadsheet. Objectives Create a new blank workbook. Create a new blank workbook. Identify user interface elements that you can use to accomplish basic.
Exploring Microsoft Excel 2002 Chapter 8 Chapter 8 Automating Repetitive Tasks: Macros and Visual Basic for Applications By Robert T. Grauer Maryann Barber.
Automating Tasks with Macros. Macro Essentials  A macro is a list of actions that happen when you run the macro.  Creating a Macro: − Choose Create.
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.
Using Jeroo To Teach Object-Oriented Concepts By Christian Digout.
Noadswood Science,  To know the basics of Python coding and decoding Monday, September 07, 2015.
South Dakota Library Network ALEPH XSL Creator © South Dakota Library Network, 2008 Modified for SDLN Version 16 Last Update: June 2008 South Dakota Library.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 7 BACKNEXTEND 7-1 LINKS TO OBJECTIVES Record & run a macro Record & run a macro Save as a macro-
17-Sep-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.
Marie-Laure Hoffmann Janvier  Students/ teachers work on a project together.  It is easier to access than sending s back and forth. It.
CS161 Topic #21 CS161 Introduction to Computer Science Topic #2.
5-Oct-15 Introduction and Code. Overview In this presentation we will discuss: What is Jeroo? Where can you get it? The story and syntax of Jeroo How.
Open the Goodyear Homepage Click on Teacher Tools.
Selecting, Formatting, and Printing a finished Report…….
16-Oct-15 Loops in Methods And compound conditions.
Debugging in Java. Common Bugs Compilation or syntactical errors are the first that you will encounter and the easiest to debug They are usually the result.
Session Objectives How to Debug PTF test case/Script Session-6 DebuggingSlide 2.
Shannon K. Basher, MLS Houston Academy of Medicine – Texas Medical Center Library.
1 Reports. 2 Objectives  Use concatenation in a query  Change column headings and formats  Add a title to a report  Group data in a report  Include.
13-Nov-15 Control Structures. Overview Without control structures, everything happens in sequence, the same way every time Jeroo has two basic control.
T.J. Poland.  Open Excel and notice the columns and rows.  In the top row and first column fill in your.
16-Dec-15 Control Structures VB. Overview Without control structures, everything happens in sequence, the same way every time Jeroo has two basic control.
Introduction to OOP in VB.NET using Robots ACSE Conference, Nov 2004 Michael Devoy Monsignor Doyle C.S.S., Cambridge
You will need Dev C++ to help you with this project. If you do not already have this programming tool on your device you can visit
17-Feb-16 Methods. Overview In this presentation we will discuss these 4 topics: Main method vs. Jeroo methods Choosing behaviors to turn into methods.
1 Week # 4 Introduction to PDM PDM is a workbench environment that lets programmers and system operators navigate the three levels of the AS/400’s object-based.
Jeopardy $100 VariablesErrorsLoops Classes and Objects Program Structure $200 $300 $400 $500 $400 $300 $200 $100 $500 $400 $300 $200 $100 $500 $400 $300.
Microsoft® Small Basic Conditions and Loops Estimated time to complete this lesson: 2 hours.
Groups of cells labeled with letters that go up and down (vertical)
CHAPTER 3 COMPLETING THE PROBLEM- SOLVING PROCESS AND GETTING STARTED WITH C++ An Introduction to Programming with C++ Fifth Edition.
11-Jun-16 Algorithms 2.2. Overview In this presentation we will discuss: What is an algorithm? 5 steps in developing an algorithm A Jeroo example.
Introduction to Jeroo a small object oriented programming language.
Lesson 17 Mail Merge. Overview Create a main document. Create a data source. Insert merge fields into a main document. Perform a mail merge. Use data.
Methods 9-Mar-17.
Module 4: Building Reports
Control Structures part 2
Jeroo Code 18-Jul-18.
2.2 Algorithms 21-Jul-18.
OOP features of Jeroo 8-Nov-18.
a small object oriented programming language.
Debugging with Eclipse
Tonga Institute of Higher Education
Making Objects Move in Unison: Using Lists
adapted from Recursive Backtracking by Mike Scott, UT Austin
Introduction and Code 18-Jan-19.
Overview Introduction to Jeroo: What is Jeroo? Where did it come from?
Introduction to Object-Oriented Programming in Alice
Control Structures 5-Apr-19.
Control Structures part 2
It’s a Little Thing Called Life: What’s Your Story?
Control Structures 12-May-19.
Making Objects Move in Unison: Using Lists
2.2 Algorithms 26-Jun-19.
OOP features of Jeroo 3-Jul-19.
Indentation & Comments
Control Structures VB part 2
IF 1-Jul-19.
Debugging with Eclipse
Jeroo Code 7-Sep-19.
Microsoft Excel 2007 – Level 2
Presentation transcript:

25-Oct-15 Jeroo Code

Overview In this presentation we will discuss: How to write code in Jeroo How to run a Jeroo program

Review: 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.

Step 2. Write the program You can create and control up to 4 Jeroos. Your program must have a main method Each Jeroo gets a name when it is created Refer to them by name to send them a message

The constructor statement Jeroo alfred = new Jeroo() A new Jeroo is created and assigned the name alfred. alfred will appear in the top left corner of the island, facing east. All statements in the main program must specify which Jeroo is to act, and what it is to do. alfred.toss() tells alfred to toss a flower into the space ahead.

Coding practice Write the code to create a new Jeroo named neo Write the code to make neo hop Write the code to make neo turn right. Answers: Jeroo neo = new Jeroo(); neo.hop( ); neo.turn(RIGHT);

hopping hop() alone means hop once in the direction the Jeroo is facing hop(n) will tell the Jeroo to hop n times Example: alexandria.hop(3); is the same as: alexandria.hop(); Write the code to make neo hop forward 5 times. neo.hop(5);

Step 3: Run the program Animation shows Jeroos moving around the island Source code highlights while executing You can run one step at a time Run the whole program continuously Pause at any time Go back to the beginning, or stop

Watch a program running the code is highlighted the Jeroo acts

Step 3: Run the program 3 different language modes You want Java/C++/C#

Find the logic errors Go to Jeroo and demonstrate and fix alexandria

Your First Program Start Jeroo Enter your name 1. Create the environment Clear the island layout. Place a flower at location Row 3 Column 2 2. Write the program Create a Jeroo with your name Tell it to hop to the flower Tell it to pick the flower 3. Run the program If it doesn’t work, fix it!

The program goes in the main method Create a Jeroo with your name Jeroo mrsH = new Jeroo( ); It will appear in location 0,0 facing EAST with no flowers in its pouch. Tell it to hop onto the location with the flower mrsH.hop( ); You must address your Jeroo by name. repeat this statement each time you want your Jeroo to hop mrsH.turn (relative direction); You must turn either LEFT or RIGHT Tell it to pick the flower mrsH.pick( ); It will stop when it reaches the end of the program.

Top Grade Write a program to get a Jeroo from one end of your original letter island to the other using AT LEAST 8 programming steps. Add a comment to your code with your name in it and print the code. (comments start with //)

Choosing directions Four relative directions LEFT RIGHT AHEAD HERE Four compass directions NORTH SOUTH EAST WEST When you turn, you must specify a relative direction

The End