# Unit 3 Lesson 18: Online PD Discussion

#1

Use this space to discuss the challenge activity for online pd. If you completed this lesson as part of your PD, be sure to share the following:

• The programming artifact you created in doing the lesson (specific level is specified in code studio).
• The assessment question or extending learning activity that you produce for this lesson.
• Notes for others who are going to teach this lesson. This should include:
• Advice for someone who is going to teach this lesson (consider what was challenging about doing the activity, what you think students will struggle with, etc).
• What ideas do you have about how to structure and teach this lesson? what modifications do you plan to make to the lesson?
• What additional resources (if any) might be helpful in teaching this lesson

#2

assessment question - Whatâ€™s the difference between â€śwhenâ€ť and â€śifâ€ť? Do all conditionals have â€śtrueâ€ť and â€śfalseâ€ť answers? What happens to your code after the conditional is executed as â€śtrueâ€ť? as â€śfalseâ€ť?

advice - students will have trouble stringing conditionals together into an if/else if/else if/elseâ€¦ sequence from the flowchart. Make sure to explain the program flow, especially when thereâ€™s another conditional preceding or following it.Biggest issue will be translating from flowchart into code. It would help to go thru a few exercises, even using the ones in the lesson itself, to demonstrate how to create code/logic from the flowcharts.

#3

assessment question -
If die = 3 which of the two sections of code below will add more points to the score?

if(die == 1) score = score + 1;
else if (die >= 2) score = score + 1;
else score = score + 1;

if (die >= 1) score = score + 1;
if (die >= 2) score = score + 1;
if (die >= 3) score = score + 1;

advice - Students can have a difficult time distinguishing between when to use multiple if statements (in which each condition must be evaluated and the statements will execute if the condition is evaluated as true) and else if statements (in which only one statement will execute when a condition is evaluated as true).

#4

While it is true that many students may have a difficult time reading and understanding flow charts, the charts can be very helpful in demonstrating the flow of a program when the students have a difficult time knowing how to code conditionals.

#5

I agree with the flowchart piece. A lot of my students didnâ€™t want to look at or take the time to read the flowcharts, but if you really focus on them, the coding is super easy. Next year when I teach it Iâ€™m going to be a lot more explicit about teaching how to effectively use the flow charts.

#6

Artifact

Assessment or extension:

Extension- Create a flow chart for the casino game Craps

Advice- Have students practice flow charting. I think it gives them an advantage on writing algorithms and prepare for the PT.

#7

I agree that students have a difficulty with determining when to use multiple ifs or nested ifs. They donâ€™t always realize that it will keep checking each if if they are not nested.