Student OpenSource Java / Robots Guide

Note: Recommended examples have a star (    ) next to them.

 

Advanced Commands Built In To The Basic Robot

Multiple "top-level" commands

Having 1 new command call another new command

Basic If statements

If/Else statements

Logical operators: NOT ( ! )

While loops

Counting (while) loops

Output (System.out.print; println)

Input (using Scanner)

Parameters

Simple types (int; double; boolean)

Instance variables

Data Type Summary (local variables; instance variables; parameters)

Multi-file programs

Nested loops

Random numbers

for loops

Basic Arrays

Averaging an array

Arrays as parameters

Predicate methods

Arrays as return values

Logical operators: AND ( && )

Logical operators: OR ( || )