1/38
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
Variable Assignment
Evaluates an expression and assigns the result to a variable.
DISPLAY
Displays the value of an expression followed by a space.
INPUT()
Accepts a value from the user and returns it.
Arithmetic Operators
Used to perform arithmetic operations: +, -, *, /.
MOD
Evaluates to the remainder when one integer is divided by another.
RANDOM(a, b)
Returns a random integer between a and b, inclusive.
Relational Operators
Used to test the relationship between two expressions.
NOT condition
Evaluates to true if the condition is false.
AND
Evaluates to true if both conditions are true.
OR
Evaluates to true if at least one condition is true.
IF Statement
Executes a block of statements if the condition evaluates to true.
IF/ELSE Statement
Executes one block of statements if the condition is true, and another if false.
REPEAT n TIMES
Executes a block of statements n times.
REPEAT UNTIL
Repeats a block of statements until the condition is true.
List Indexing
Refers to the element of a list at a specific index.
Assignment in List
Assigns the value of one list element to another.
Creating a List
Assigns values to elements in a list.
For Each Loop
Iterates over each item in a list.
INSERT in List
Inserts a value at a specified index and shifts elements.
APPEND in List
Adds a value at the end of the list.
REMOVE in List
Removes an element from a list and shifts elements left.
LENGTH of List
Evaluates to the number of elements in a list.
Procedure Definition
Defines a procedure that can take parameters and contain instructions.
RETURN in Procedure
Exits the procedure and returns a value.
CAN_MOVE
Evaluates to true if there is an open square in the direction the robot is facing.
Arithmetic Procedures
Functions that perform calculations using arithmetic operators.
Boolean Logic
A way of representing truth values using true and false.
Conditionals
Statements that control the flow of execution based on conditions.
Iteration in Programming
Repeating operations until a certain condition is met.
List Operations
Methods to manipulate and manage lists in programming.
Error Handling in Lists
The process of responding to errors in list indexing.
Parameters in Procedures
Values passed to a procedure to customize its behavior.
Robot Movement
The ability of a robot to move in a grid-based environment based on conditions.
Open Square
A square in the grid that is available for the robot to move into.
Grid Boundaries
The edges of the grid which limit where the robot can move.
Value Assignment
The act of assigning data to a variable or an element in a list.
Return Value
The value yielded by a procedure when it is called.
Execution of a Block
Running a set of instructions defined in brackets.
Initialization of a Variable
Setting a variable to its initial value during declaration.