Wiki Page, MsFernandezAP-CSP-2016-2017: Module 8: Choosing Your Path (If-Else Statements and Boolean Expressions)

Wiki Page
2016-07-26T16:10:30-06:00

Module 8 is about learning how to introduce conditional behaviors at decision points into computer programs (e.g. “I will do this, but only if a particular condition holds”) by using If-else statements (green blocks or tiles).

You learn that this allows computer programs to make a decision between two different behaviors, based on the value of a function. You also learn that If-else statements evaluate functions via mathematical expressions or Boolean operators such as True or False, <, ≤,>, ≥, = (equal), and ≠ (not equal).

Daily Learning Targets for Module 8: Choosing Your Path (If-Else Statements and Boolean Expressions)

By the end of this week, you should be able to:

Define/Explain/Describe If-Else statements or "Conditional Execution" and how they are used in computer programs.

Define/Explain/Describe Boolean expressions and how they are used to evaluate If-Else statements.

Create conditional behaviors at decision points into your programs - "I'll do this, but only if a particular condition holds" - by using If/Else statements. (green tiles)

Using If/Else statements, you can decide between two different behaviors, based on the value of a function. This is called Conditional Execution since the action(s) are only executed by the program based on evaluation of the condition of the If/Else statement.

Use If/Else statements to evaluate functions via mathematical expressions or Boolean Operators such as True or False or <, <=, >, >=, == (equal), and != (not equal).

Assignments, Quizzes, Labs and Problems to be Completed

You will complete the assignments, quizzes, labs and programming problems for Module 8 using mathematical functions and expressions.

Module 8 Questions Assignment

Mod 8 Alice World Submission: Angel Sometimes Moves.a2w

Mod 8 Alice World Submission: M8-pg5-WhoIsTaller-YourName.a2w

Module 8 Quiz

Module 8 Discussion Participation

Lab 8

Module 8 Practice Problem

Remember, grammar and punctuation counts!

We will be learning a lot of new things this week. Keep track of the assignments and the time you need to complete them!