An Introduction To Pseudocode Workbook
An Introduction To Pseudocode Workbook
An Introduction To Pseudocode Workbook
WELLS
Name:
________________________________________________________
=
90
degrees
100
100
TASK 1 = How do you get Minion Stuart to draw the square? What is the sequence of actions to move?
1
2
3
4
5
6
7
8
You
have
written
the
algorithm
to
show
the
list
of
instructions
and
you
have
written
it
in
pseudocode
=
numbered
list
of
instructions.
Can
you
write
the
Pseudocode
(the
sequence
of
actions)
to
move
Minion
Stuart
through
the
squares
to
collect
the
bananas?
Hint : Remember to pick up the bananas not just go over them
You
need
to
write
the
list
of
instructions
in
NOTEPAD
remembering
to
number
the
actions
Extension – Can you add a ‘question to say if the minion reaches a banana?
Can
you
write
the
pseudocode
to
get
Minion
Stuart
to
move
through
the
squares
collecting
bananas
NOT
apples
and
use
a
question
to
determine
what
action
he
does?
You
need
to
write
the
list
of
instructions
in
NOTEPAD
remembering
to
number
the
actions
and
INDENT
the
answer
to
the
question
(IF)
Example:
Technique Example
Selection/Conditional Statement IF condition THEN
true alternative
ELSE
false alternative
ENDIF
OUTPUT…
PROCEDURE name
Function/Procedure
END PROCEDURE
FUNTION name
END FUNTION
Finally:
Can
you
tell
me
in
your
own
words
what
pseudocode
is?