1 of 14

Online Student Workbook

Goldberg Engineering Explorers Summer Program

2022

2 of 14

Process Mapping

Morning Routine

Alarm

Wake Up

Turn Off Alarm

Start Day

Check Phone

Go to bathroom

Brush teeth

Get Breakfast

What do you notice about this process map?

What do you see? What do you think it means?

Are there any patterns?

D1A2.1 S

3 of 14

Process: A sequence of activities intended to produce particular results

Steps to Building a Process Map

  1. Identify the process
  2. Determine the boundaries: inputs (start) and outputs (end)
  3. Start with the big picture steps
  4. Add in the details: Actions, Decisions and Questions, Relationships to map flow
  5. Complete the ENTIRE map before refining
  6. Assess the map for improvement areas: Ask questions and make notes to locate possible problem areas
  7. Get feedback from peers or users

Map the process to make a PBJ sandwich

Name:

Process Mapping

Inputs

Outputs

Decisions

Actions/

Steps

Process Map Key

The start of your process

The end result of your process

The steps in the process: how to get from the start to the end

Questions or choices that can change the flow of the process

Show the direction of the steps in the process

D1A2.1 S

4 of 14

Jelly

PB

Print & cut these to use to help students map their process

D1A2.1 S

5 of 14

Name & Icon Badge

Look at the code blocks under the “Basic” section of MakeCode. Identify which code blocks you think you would use and the order you would put the block in to match the process map

Inputs

Outputs

Decisions

Actions/

Steps

Process Map Key

The start of your process

The end result of your process

The steps in the process: how to get from the start to the end

Questions or choices that can change the flow of the process

Show the direction of the steps in the process

Forever

Show Name

Show Icon

Name & Icon Badge

Pause

Clear Screen

D1A2.2 S

6 of 14

Name & Icon Badge

Look at the code blocks and identify which code blocks and the order to match the process map

Press Button A

Show Name

Play Song

Name & Icon Badge

Show Icon

Which

order?

Flash Icon (Loop)

Show Icon

Flash Icon

(Loop)

Play Song

Press Button B

Stop all sounds

Silent Name Badge

OR

D1A2.2 S

7 of 14

Name & Icon Badge

Explore the different types of code in MakeCode.

Which blocks of code would you use to…

Display your name?

>

Display the icon?

>

Play sound or music?

>

Repeat code?

>

Make the icon flash?

>

D1A2.2 S

8 of 14

Logic

Let’s talk through examples of Logic. This is how computers are programmed to make decisions based on different inputs or conditions.

We are going to talk about Ice Cream.

IF/THEN

One action to happen in response to an input

Set Ice Cream to 1

Happy

Have Ice Cream

IF Ice Cream = 1

THEN

If Ice Cream = 1

D1A2.3 S

9 of 14

Logic

Let’s talk through examples of Logic. This is how computers are programmed to make decisions based on different inputs or conditions.

We are going to talk about Ice Cream.

IF/ELSE

Is for two actions to happen depending on the input

Have Ice Cream

Happy

Sad

IF Ice Cream = 1

THEN

Set Ice Cream to 1 or 0

ELSE

Ice Cream = 0

THEN

If Ice Cream = 1

If Ice Cream = 0

D1A2.3 S

10 of 14

Logic

IF/ELSE IF/ELSE

Is for options of 3+ actions to happen depending on the input

Happy

Upset Stomach

Sad

Set Ice Cream =

0, 1, or 2

Have Ice Cream

IF Ice Cream = 1

THEN

ELSE IF

Ice Cream = 2

THEN

ELSE

Ice Cream = 0

THEN

If Ice Cream = 1

If Ice Cream = 0

If Ice Cream = 2

D1A2.3 S

11 of 14

Troubleshooting and Debugging

Code

Compare the actions process map and the given code to find the bug. Can you find the bug before seeing the code on the Micro:bit?

1

Actions Process Map

Show a Random Number 1-10

Forever

ELSE

THEN

IF Button A is Pressed

Show A Number

Show

“Hold A”

Show Button Command

Clear Screen

Clear Screen

Pause 1 Second

2

D1A2.4 S

12 of 14

Troubleshooting and Debugging

Compare the actions process map and the given code to find the bug. Can you find the bug before seeing the code on the Micro:bit?

Code

1

Actions Process Map

On Shake

ELSE

IF Input ≤ 5

THEN

Play Joke Music

Set Input to pick random number 0-10

Show Number

Input

Pause 3 second

Play Scary Music

Show Number

Input

Pause 3 second

2

D1A2.4 S

13 of 14

Troubleshooting and Debugging

Create a simple code to with a bug for your partner to find. Make a process map of the actions your code is supposed to do. Code your program in MakeCode then switch code with your partner. Can you find the bug before you partner? Can you fix the code so it runs correctly?

1

Code

Actions Process Map

Make a bug. Find a bug. Fix the bug.

2

D1A2.4 S

14 of 14

List some situations that you think could be solved with the help of computers.

Would finding a solution to this problem help the world?

Would finding a solution to this problem help your local community?

Would finding a solution to this problem help you or your family?

Do you think the problem is solvable?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Map a process to solve one of the problems you listed above

Name:

Problem Solving

D1A2 S