Designing solutions through programming - September 22 2016 Lesson Notes

What are we going to learn today?

1. Today in class we will focus on conditionals and loops
2. We will learn about the two types of loops
3. We will use almost all the conditional operators we can
4. If time permits, we will COMBINE conditions and loops

Homework

2. the grade bands work like this:
0 to 59 F
60 to 69 D
70 to 79 C
80 to 89 B
90 to 100 A

Following is the criteria for a successful program:

1. Your program must have a variable named `\$student_score`
2. The variable must be assigned a whole number from 0 to 100
1. if the `\$student_score` variable is between 0 and 59 inclusive, the output should be F
2. if the `\$student_score` variable is 65, the output should be D
3. if the `\$student_score` variable is 78, the output should be C
4. if the `\$student_score` variable is 85, the output should be B

This homework assignment will be assessed using our Problem set assessment

How am I being assessed today?

1. You will be formatively assessed in class today

Standards we are covering today

• Identify the condition associated with a given decision in a specified problem.
• Explain the relationship between the decisions and conditions of a system.
• Define the operators =, ≠, <, <=, >, >=, mod, div.