Jeroo Code 7-Sep-19.

Slides:



Advertisements
Similar presentations
Using Jeroo Dianne Meskauskas
Advertisements

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.
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.
How to Debug VB .NET Code.
A BIT MORE ON… REPETITIVE EXECUTION MET 50. The “IF” statement In Meteorology, it is common to use the letters I,J,K to denote counters. “I” is the counter.
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.
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.
Microsoft Excel 2007 © Wiley Publishing All Rights Reserved. The L Line The Express Line to Learning L Line.
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.
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.
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.
By Deborah Nelson Duke University Professor Susan Rodger July 13, 2008.
25-Oct-15 Jeroo Code. Overview In this presentation we will discuss: How to write code in Jeroo How to run a Jeroo program.
Session Objectives How to Debug PTF test case/Script Session-6 DebuggingSlide 2.
# 1# 1 CS 105 Spring 2010 Macros: Sub Procedures You Record What is a macro? What is With…End With? What is Sub…End Sub? Relative vs. Absolute.
1 Κατανεμημένες Διαδικτυακές Εφαρμογές Πολυμέσων Γιάννης Πετράκης.
Lists Tutorial By Deborah Nelson Duke University Professor Susan Rodger July 13, 2008.
For loops in programming Assumes you have seen assignment statements and print statements.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 8 Debugging, Creating Executable Files, and Distributing a Windows Application.
Go to your school’s web locker site Your user name is the first letter of your first name, the first four letters of.
13-Nov-15 Control Structures. Overview Without control structures, everything happens in sequence, the same way every time Jeroo has two basic control.
CW-V1 SDD 0901 Principals of Software Design and Development Loops Starter: Water JugsWater Jugs.
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
Review for test! Alice Chapter 1&2 Test is tomorrow! - March 26 th March 25th.
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.
Jeopardy $100 VariablesErrorsLoops Classes and Objects Program Structure $200 $300 $400 $500 $400 $300 $200 $100 $500 $400 $300 $200 $100 $500 $400 $300.
National Diploma Unit 4 Introduction to Software Development Data Structures – Loops and selection.
Microsoft® Small Basic Conditions and Loops Estimated time to complete this lesson: 2 hours.
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.
Methods 9-Mar-17.
Exploring Excel Chapter 7 Automating Repetitive Tasks: Macros and
Module 4: Building Reports
Control Structures part 2
Jeroo Code 18-Jul-18.
2.2 Algorithms 21-Jul-18.
Using Excel with Google Maps
OOP features of Jeroo 8-Nov-18.
a small object oriented programming language.
When I want to execute the subroutine I just give the command Write()
Exploring Microsoft Excel
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?
Control Structures 5-Apr-19.
Scripts In Matlab.
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.
Microsoft Excel 2007 – Level 2
Presentation transcript:

Jeroo Code 7-Sep-19

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 (Sub) Each Jeroo gets a name when it is created Refer to them by name to send them a message

The DIM statement Dim Alfred as Jeroo = 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 Answers: Dim Neo as Jeroo = new Jeroo() Neo.hop( ) 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. Dim Neo as Jeroo = 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 (watch the video of a Jeroo program while it runs above) (it will loop until you stop it, if the video won’t run, demonstrate in Jeroo)

Step 3: Run the program 2 different language modes You want VB.net

What is the logic error here? 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 Dim MrsM as Jeroo = 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 MrsM.hop( ) You must address your Jeroo by name. repeat this statement each time you want your Jeroo to hop MrsM.turn (relative direction) You must turn either LEFT or RIGHT (capitals don’t matter) Tell it to pick the flower MrsM.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 ‘ just like in visual basic)

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

The End