SEND ME AN EMAIL MESSAGE TODAY TELLING ME THE SCORE ON YOUR QUIZ AND THE EXERCISES YOU WERE ABLE TO COMPLETE.

Lesson: 4.4 If Statements

Section:


JavaScript uses if statements as a way to make decisions and execute specific code. If statements are helpful in writing code that can be used in different situations.

Objective

Students will be able to…
* Explain the purpose of if statements
* Create their own if statements to selective choose which code is executed in their programs

Activities

These are all the activities included in the lesson.

Activity

4.4.1 If Statements

Video

4.4.2 If Statements Quiz

Quiz SHOW ME

4.4.3 Negative Numbers

Example

4.4.4 Great Names

Example

4.4.5 Even and Odd

Example

4.4.6 Secret Password

Example

4.4.7 Teenagers

Exercise SHOW ME

4.4.8 Stop Light

Exercise SHOW ME

4.4.9 Conditionals Badge

Badge

Open the Google Doc for this class. In your own words at the TOP of the Doc, explain what you learned today and how it can help you write programs.

SANDBOX–create a new programs that uses at least one WHILE LOOP and IF ELSE statement.  Include at least 2 of your own functions. Show me.

Leave a Reply

Your email address will not be published. Required fields are marked *