2.1 Boolean Expressions and if Statements
Skills
Apply the meaning of specific operators.
Determine the result or output based on statement execution order in a code segment without method calls (other than output).
Write program code to satisfy method specifications using expressions, conditional statements, and iterative statements.
Write program code to satisfy method specifications using expressions, conditional statements, and iterative statements.
Use test-cases to find errors or validate results.
Determine if two or more code segments yield equivalent results.
Determine the result or output based on the statement execution order in a code segment containing method calls.
Write program code to create objects of a class and call methods.
Essential Questions
How can you use different conditional statements to write a pick-your-own-path interactive story?
Why is selection a necessary part of programming languages?
2.1.1 Videos
Conceptual Videos
Boolean Expressions and if Statements - https://youtu.be/y81ZXpirYN0
Example Videos
coming soon...
2.1.2 Videos
Conceptual Videos
Boolean Expressions and if Statements - https://youtu.be/y81ZXpirYN0
Example Videos
if Statements - https://youtu.be/7CzxzXx79Ic
2.1.3 Videos
Conceptual Videos
if-else Statements - https://youtu.be/y81ZXpirYN0
Example Videos
if-else Statements - https://youtu.be/VAcUN-ZUbJE
2.1.4 Videos
Conceptual Videos
if-else Statements - https://youtu.be/y81ZXpirYN0
Example Videos
else-if Statements
Video 1 - https://youtu.be/TOZ6kApdaeg
Video 2 - https://youtu.be/AWZVc8f_QbI
2.1.5 Videos
Conceptual Videos
Compound Boolean Expressions - https://youtu.be/8DkxoryMsEI
Example Videos
Compound Boolean Expressions - https://youtu.be/h_5BADvGzQw
2.1.6 Videos
Conceptual Videos
Equivalent Boolean Expressions - https://youtu.be/MyaRy8uKWSs
Example Videos
Equivalent Boolean Expressions - https://youtu.be/baNG1DQdxHQ
2.1.7 Videos
Conceptual Videos
Comparing Objects - https://youtu.be/25b4P6bNVCs
Example Videos
Comparing Objects - https://youtu.be/x4_--u6CAJ8