Wednesday, March 11, 2009

Fstest Production Jet Ski

Logo pseudocode. Primitives for conditionals and loops.

Let us see what are the primitives that allow us to decide whether an action is performed or not (conditional) and allow us to repeat a set of primitive one number of times (loops): IF condition

instructions: Run one or more directions depending on whether the condition

Sisin instructions1 instrucciones2 condition: Depending on whether a condition is met executes the first list of instructions, and if not running the list meets

instruction manual HAZ.HASTA condition: Evaluate
statements repeatedly many times until the condition. This will ensure that the instructions are executed at least once, before checking the condition.


equal to up to limited instructions: Repeat the instructions many times until the condition is met expressed. HAZ.MIENTRAS

instructions condition: Evaluate
statements repeatedly as many times as the condition. In this way the user may or may not
run, depending on whether the condition is met. EQUIVALENT
WHILE WHILE condition

Instructions: Repeat the instructions as many times as expressed
condition is met. ALWAYS

instructions: Executes statements repeatedly. REPEAT

number instructions: Run the instructions as many times as directed in number.

0 comments:

Post a Comment