Download presentation
Presentation is loading. Please wait.
Published byDaniel Montgomery Modified over 8 years ago
1
Introduction to Jeroo a small object oriented programming language.
2
What is a Jeroo? A category or a class of an animal that can do things …. The Jeroo Program simulates how to create and use Java objects to perform tasks…. While having fun!
3
Jeroo’s World - Santong Island Located in an uninhabited land in the South Pacific Ocean A Jeroo is similar to the Wallabies in Austrailia
4
Behaviors/Methods of a Jeroo Object
5
Jeroo Behaviors (methods) ❏ hop() ❏ toss() ❏ pick() ❏ plant() ❏ turn() Attibutes (facts associated with aJeroo object ❏ similar to a wallaby ❏ poor swimmers ❏ careless ❏ has a pouch ❏ telepathic
6
What is a Program?
7
A set of instructions for a computer
8
A Computer Program is written in a programming language. ★ Java ★ C++ ★ C# Visual Basic ★ Python
9
Source Code Set of instructions written by a programmer in a programming language.
10
Source Code: hop() ; pick() ; plant() ;
11
A computer program requires a compiler to translate a program as a whole from one form into another.
12
the 2-Step process...
13
1. A compiler translates the source code to an intermediate language An intermediate language is the language of an abstract machine to aid in the analysis of computer programs
14
Step 2 The Interpreter translates the intermediate language to Binary (1’s and 0’s)
15
An Interepreter translates a program into Machine Language
16
Every Program starts with a Plan called an algorithm. Steps to solve a problem. Problem: how will I get a Jeroo object to move forward three steps? hop();
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.