2. Flowcharts askName

The Pseudocode below prompts the user to enter their name, then prints it out.
Pseudocode can start with BEGIN or START.
ALGORITHM askName()

BEGIN
    PRINT "What is your name?"
    INPUT name
    PRINT "Hello, " + name
END
../_images/ask_name.png


Tasks

  1. What shape is used to start and end the flowchart?

  2. What shape is used for input?

  3. What keyword (in caps) indicates output?

  4. What shape is used for output?

  5. In the pseudocode, what is used to indicate that the PRINT and INPUT statements are part of the sequence of steps between the BEGIN and END?

What shape is used to start and end the flowchart?

A capsule.

What shape is used for input?

A parallelogram.

What keyword (in caps) indicates output?

PRINT

What shape is used for output?

A parallelogram.

In the pseudocode, what is used to indicate that the PRINT and INPUT statements are part of the sequence of steps between the BEGIN and END?

They are linked by arrows.