This unit explores how variables, conditionals, and functions allow for the design of increasingly complex apps. Learn how to program with these three new concepts through a sequence of collaborative activities. Then build your own decision maker app to share with friends and help them make a decision.
Students will be able to:
Use appropriate vocabulary to describe variables, expressions, and variable assignment.
Evaluate expressions that include numbers, strings, and arithmetic operators.
Trace simple programs that use variables, expressions, and variable assignment.
Students will be able to:
Identify common programming patterns when using variables as part of an app
Explain the purpose of those programming patterns with variables both in terms of how they work and what they accomplish
Modify apps that make use of common programming patterns with variables to adjust their functionality
Students will be able to:
Write programs that use variables and expressions with the support of sample code.
Debug programs that use variables and expressions
Students will be able to:
Recognize the need for programming patterns with variables as part of developing a functioning app
Implement programming patterns with variables to develop a functioning app
Write comments to clearly explain both the purpose and function of different segments of code within an app
Use debugging skills as part of developing an app
Students will be able to:
Use appropriate vocabulary to describe Boolean expressions and conditional statements
Evaluate expressions that include Boolean values, comparison operators, and logical operators
Trace simple programs that use Boolean expressions and conditional statements
Students will be able to:
Identify common programming patterns using boolean expressions and conditional statements
Explain the purpose of those programming patterns with boolean expressions and conditional statements both in terms of how they work and what they accomplish
Modify apps that make use of common programming patterns with boolean expressions and conditional statements to adjust their functionality
Students will be able to:
Write programs that use boolean expressions and conditional statements with the support of sample code.
Debug programs that use boolean expressions and conditional statements
Students will be able to:
Recognize the need for programming patterns with Boolean expressions and conditional statements as part of developing a functioning app
Implement programming patterns with boolean expressions and conditionals statements to develop a functioning app
Write comments to clearly explain both the purpose and function of different segments of code within an app
Use debugging skills as part of developing an app
Students will be able to:
Use appropriate vocabulary to describe the declaring and calling of functions
Trace the flow of execution in programs that declare and call functions
Describe the way a function call interrupts the normal flow of execution within a program
Modify programs that declare and call functions to adjust their functionality
Students will be able to:
Write programs that use functions with the support of sample code
Debug programs that use functions
Identify opportunities to use functions to reduce repeated code within a program
Students will be able to:
Recognize the need for a function to reduce repeated code while developing a functional app
Implement a function using programming patterns while developing a functional app
Write comments to clearly explain both the purpose and function of different segments of code within an app
Use debugging skills as part of developing an app