# Teaching conditionals

**URL:** <https://forum.code.org/t/teaching-conditionals/406>\
**Category:** General Teaching and Learning (All Grades)\
**Created:** [June 4, 2015, 9:55pm UTC](https://forum.code.org/t/teaching-conditionals/406 "2015-06-04T21:55:05Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![romina\_quattrini\_897](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/romina_quattrini_897/32/828_2.png) [@romina\_quattrini\_897](https://forum.code.org/u/romina_quattrini_897)\
**Post date:** [March 27, 2016, 8:27pm UTC](https://forum.code.org/t/teaching-conditionals/406/41 "2016-03-27T20:27:43Z")

</div>

Che bello! Un idioma conosciuto…

---

<div class="post-metadata">

**Author:** ![kmusmeci](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/kmusmeci/32/130_2.png) [@kmusmeci](https://forum.code.org/u/kmusmeci)\
**Post date:** [March 27, 2016, 9:34pm UTC](https://forum.code.org/t/teaching-conditionals/406/42 "2016-03-27T21:34:50Z")

</div>

Ciao Romina! Anche a me piace incrociare il mio stesso idioma!! Come hai trattato il concetto di condizionale?

---

<div class="post-metadata">

**Author:** ![romina\_quattrini\_897](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/romina_quattrini_897/32/828_2.png) [@romina\_quattrini\_897](https://forum.code.org/u/romina_quattrini_897)\
**Post date:** [March 29, 2016, 12:07pm UTC](https://forum.code.org/t/teaching-conditionals/406/43 "2016-03-29T12:07:07Z")

</div>

Boh…che dirti…mi trovo in forte difficoltà: ho una wi fi che fa schifo e due anni fa hanno smantellato l’aula d’informatica… Nonostante abbia delle basi di programmazione per ora cerco di fare tesoro di tutto.  
Ho pure provato la classe digitale con il BYOD…ma senza un wi fi decente non riesco a scaricare neanche una misera app…

---

<div class="post-metadata">

**Author:** ![kmusmeci](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/kmusmeci/32/130_2.png) [@kmusmeci](https://forum.code.org/u/kmusmeci)\
**Post date:** [March 30, 2016, 8:53pm UTC](https://forum.code.org/t/teaching-conditionals/406/44 "2016-03-30T20:53:53Z")

</div>

Capisco … sono problemi ahimè molto, ma MOLTO comuni! 😏 💬 💬 Non demordiamo, però. Buon lavoro!! Katya 😊

---

<div class="post-metadata">

**Author:** ![laura\_alberti2](https://avatars.discourse-cdn.com/v4/letter/l/eb9ed0/32.png) [@laura\_alberti2](https://forum.code.org/u/laura_alberti2)\
**Post date:** [March 31, 2016, 8:29pm UTC](https://forum.code.org/t/teaching-conditionals/406/45 "2016-03-31T20:29:14Z")

</div>

I would connect conditionals with some games such as for example “Simon says”, where students have to pay attention to the conditions to decide whether to do an action or not.

---

<div class="post-metadata">

**Author:** ![nichole\_jasper](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/nichole_jasper/32/923_2.png) [@nichole\_jasper](https://forum.code.org/u/nichole_jasper)\
**Post date:** [April 28, 2016, 1:39pm UTC](https://forum.code.org/t/teaching-conditionals/406/46 "2016-04-28T13:39:35Z")

</div>

After reading some of the other comments below, I think a variety of unplugged activities may be the way to go. Using the cards will be a great start, but then move on to something more active or/and relevant to RL examples like the one displayed in the video.

---

<div class="post-metadata">

**Author:** ![avanbavel](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@avanbavel](https://forum.code.org/u/avanbavel)\
**Post date:** [May 8, 2016, 10:54pm UTC](https://forum.code.org/t/teaching-conditionals/406/47 "2016-05-08T22:54:33Z")

</div>

I am a second grade teacher who is just beginning to explore the concept of coding and computer science. I imagine that I will begin to introduce the concept of conditionals by relating it to what they are already familiar with… consequences and rewards for their actions. “If this happens, then that will happen.” I will transition their cause and effect type thinking to the “else” vocabulary by modeling the use for them in our daily coding conversations.

---

<div class="post-metadata">

**Author:** ![jedmonds](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@jedmonds](https://forum.code.org/u/jedmonds)\
**Post date:** [May 25, 2016, 3:24pm UTC](https://forum.code.org/t/teaching-conditionals/406/48 "2016-05-25T15:24:18Z")

</div>

I used the example “if you are quiet then you will get \_\_\_\_\_\_\_\_\_.” The students understood the concept immediately.

---

<div class="post-metadata">

**Author:** ![rbogart](https://avatars.discourse-cdn.com/v4/letter/r/5fc32e/32.png) [@rbogart](https://forum.code.org/u/rbogart)\
**Post date:** [June 13, 2016, 3:45pm UTC](https://forum.code.org/t/teaching-conditionals/406/49 "2016-06-13T15:45:58Z")

</div>

Conditionals are like in math an if then statement, like in media if you type text in your timeline then you have to decide how long it is on the screen, if something is true then something will happen, like when I talk with my daughter, if you eat your dinner then you get your dessert.

---

<div class="post-metadata">

**Author:** ![jscoville](https://avatars.discourse-cdn.com/v4/letter/j/b487fb/32.png) [@jscoville](https://forum.code.org/u/jscoville)\
**Post date:** [June 21, 2016, 2:05am UTC](https://forum.code.org/t/teaching-conditionals/406/50 "2016-06-21T02:05:40Z")

</div>

Since I teach kinder I think I would keep it pretty simple. I like the idea presented in the video of clapping for one card, and sighing for another card.

---

<div class="post-metadata">

**Author:** ![flaviadyer](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/flaviadyer/32/1106_2.png) [@flaviadyer](https://forum.code.org/u/flaviadyer)\
**Post date:** [June 28, 2016, 7:27pm UTC](https://forum.code.org/t/teaching-conditionals/406/51 "2016-06-28T19:27:47Z")

</div>

I like the idea of linking conditionals to games. Like Simons says with conditional statements such as:  
If I clap my hands you sit down, else stand up… etc.

---

<div class="post-metadata">

**Author:** ![flaviadyer](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/flaviadyer/32/1106_2.png) [@flaviadyer](https://forum.code.org/u/flaviadyer)\
**Post date:** [July 5, 2016, 2:00pm UTC](https://forum.code.org/t/teaching-conditionals/406/52 "2016-07-05T14:00:04Z")

</div>

I like connecting everyday life to computer programming.  
Events: When the stoplight changes to red… action: stop!

---

<div class="post-metadata">

**Author:** ![jillo\_127](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@jillo\_127](https://forum.code.org/u/jillo_127)\
**Post date:** [July 7, 2016, 1:22pm UTC](https://forum.code.org/t/teaching-conditionals/406/53 "2016-07-07T13:22:31Z")

</div>

To encourage positive behavior in my classroom I hand out “aviator bucks”. When students earn 30 aviator bucks in 2 weeks time they get to go to treasure box. I could use my students knowledge of this incentive to teach conditionals. If the students follow the carpet rule then they earn an aviator buck, if else they do not earn an aviator buck.

---

<div class="post-metadata">

**Author:** ![wendy\_duha](https://avatars.discourse-cdn.com/v4/letter/w/e480ec/32.png) [@wendy\_duha](https://forum.code.org/u/wendy_duha)\
**Post date:** [July 15, 2016, 1:46am UTC](https://forum.code.org/t/teaching-conditionals/406/54 "2016-07-15T01:46:33Z")

</div>

I think that children have a good understanding of the first part of the If/Else. We use it with kids all of the time. If you eat all your dinner you can have dessert. If you are finished your assignment you can have free time. I think they less often think about the else. I like how the teacher in the video talked about the “or else” that adults used to remind them what happens if the If statement is not true. I think the card game is also a good way to make those ideas concrete in a fun manner.

---

<div class="post-metadata">

**Author:** ![letranxuanphuong](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/letranxuanphuong/32/1204_2.png) [@letranxuanphuong](https://forum.code.org/u/letranxuanphuong)\
**Post date:** [July 17, 2016, 4:05am UTC](https://forum.code.org/t/teaching-conditionals/406/55 "2016-07-17T04:05:39Z")

</div>

Condition statements happens every at my home school and I think my kids understand it clearly. For example, If thay can complete the homework they can play game in 15 minutes 😊

---

<div class="post-metadata">

**Author:** ![hbreton](https://avatars.discourse-cdn.com/v4/letter/h/9e8a1a/32.png) [@hbreton](https://forum.code.org/u/hbreton)\
**Post date:** [July 19, 2016, 10:40pm UTC](https://forum.code.org/t/teaching-conditionals/406/56 "2016-07-19T22:40:48Z")

</div>

I would teach conditionals to my second graders by showing them that they already deal with conditionals on a daily basis. I would relate real life experiences that they come across every day. If they do a chore at home, then they can earn a reward or an allowance.

---

<div class="post-metadata">

**Author:** ![Silvia1CS](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/silvia1cs/32/1218_2.png) [@Silvia1CS](https://forum.code.org/u/Silvia1CS)\
**Post date:** [July 20, 2016, 10:53am UTC](https://forum.code.org/t/teaching-conditionals/406/57 "2016-07-20T10:53:57Z")

</div>

I teach 5 and 6 grade English as a second language, so before playing condicionals in the computer, the best way to introduce them to conditionals is through the card games that is in the unppluged lessons and showing them examples lsuch as the one explainend in the video in this program.

---

<div class="post-metadata">

**Author:** ![alexanderantionette](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@alexanderantionette](https://forum.code.org/u/alexanderantionette)\
**Post date:** [August 2, 2016, 12:11am UTC](https://forum.code.org/t/teaching-conditionals/406/58 "2016-08-02T00:11:31Z")

</div>

I love the card game. I could also see using Simon Says as an example or combine it with science when doing a dichotomus key to figure out classifications

---

<div class="post-metadata">

**Author:** ![cindy\_lewis](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@cindy\_lewis](https://forum.code.org/u/cindy_lewis)\
**Post date:** [August 3, 2016, 1:52pm UTC](https://forum.code.org/t/teaching-conditionals/406/59 "2016-08-03T13:52:57Z")

</div>

I think many of the comments already listed are great ideas. One other example I thought of was using chores as an example. I would ask the students to share examples of conditionals that parents often set. For example, If your room is clean, you may go out and play else you will have to keep cleaning. I agree that it’s important to use the correct CS vocabulary.

---

<div class="post-metadata">

**Author:** ![bbaker](https://avatars.discourse-cdn.com/v4/letter/b/5fc32e/32.png) [@bbaker](https://forum.code.org/u/bbaker)\
**Post date:** [August 7, 2016, 7:23pm UTC](https://forum.code.org/t/teaching-conditionals/406/60 "2016-08-07T19:23:31Z")

</div>

This reminds me of if/then statements. This will be my first year to teach CS to 5th graders so I will depend heavily on your lesson plans!

[Previous page](https://forum.code.org/t/teaching-conditionals/406.md?page=2)

[Next page](https://forum.code.org/t/teaching-conditionals/406.md?page=4)
