Media Summary: Learn how to branch control flow with conditionals. Trace the execution of an Jessica introduces the idea of "booleans", values that can either be true or false. Practice this lesson yourself on ... Pamela explains how to return values from functions, especially useful in doing calculations. Practice this lesson yourself on ...
If Statements Computer Programming Khan Academy - Detailed Analysis & Overview
Learn how to branch control flow with conditionals. Trace the execution of an Jessica introduces the idea of "booleans", values that can either be true or false. Practice this lesson yourself on ... Pamela explains how to return values from functions, especially useful in doing calculations. Practice this lesson yourself on ... How can we write conditionals with multiple branches of control flow? Trace the execution of chained conditionals to understand ... Pamela explains how you can write your own custom functions to group your code and make it more reusable. Practice this lesson ... Created by: pamela Watch the next lesson: ...
Pamela shows the difference between unreadable code and readable code. Go for the latter! Practice this lesson yourself on ... Pamela explains the special predefined ProcessingJS functions that we use for drawing and interaction, like `draw()` and ... Jessica explains how to use variables to hold on to a value to use later. Variables are an important part of Jessica shows how to make your conditionals more powerful with "