Assessment Tool

Java course:  Conditionals

Activity:  Application Card

We saw conditionals in a recent lecture.  Here you have the opportunity to describe conditionals that you use in your everyday life.

Where do you use conditionals in your life?  Describe the control flow and the events of these conditionals by drawing a diagram.  Two examples appear below.

Example 1:  If it's Monday, Tuesday, Wednesday, Thursday, or Friday, I wake up at 7:00 am.  Otherwise, I wake up at 9:00 am.  Then I take a shower.

Example 2:  If it's raining or rain is in the forecast, I take my umbrella.  Then I go outside.