Computational Thinking for K-12 Educators: Conditional Loops and If Statements

Beginner Level
1 week to complete
Flexible Schedule

Beth Simon

Skills You’ll Gain

Computational Logic Computer Programming Debugging Diversity Equity and Inclusion Initiatives Digital pedagogy Programming Principles Event-Driven Programming Program Development Computational Thinking Computer Science

Shareable Certificate

Earn a shareable certificate to add to your LinkedIn profile.

Develop Your Specialized Knowledge

Learn new concepts from industry experts

Gain a foundational understanding of a subject or tool

Develop job-relevant skills with hands-on projects

Earn a shareable career certificate

There are 6 modules in this course

Meet Dr. Simon and fellow learners in this class! Find out what you’ll be doing and learning.

In this module we will learn about conditional loops and how they vary from fixed loops. We'll examine different examples of both loop types and look at some common challenges that you may come across. Finally you'll create your own conditional loop program and have the opportunity to create an assignment and conduct peer reviews.

Now that you've gotten an introduction to conditional loops, we will further explore them and their variations. We will look at why some programs require conditional loops and discuss suggestions that will help students trace each program. Finally we'll learn about a variation on the repeat until loop, called the do-while loop.

In this module we'll get an introduction to conditionals, which are also known as if-else statements. First we'll examine some examples of if-else conditionals that exist in our everyday life. Next you will take a look at videos of completed programs and recreate the code. We'll end with some debugging tips and have you create your own if-else program assignment.

Now that you have a basic understanding of conditionals, we look at some more complicated cases. You'll watch a video of how a teacher introduces the topic to her class and learn about conditionals with more than 2 scenarios. You'll also look at programs with two independent conditionals and learn how this varies from else-if statements. Finally, you'll analyze some misconceptions and challenges you initially had when learning about conditionals and create resources to help others learn about conditionals.

In this module we take a look at peer instruction, an interactive teaching method that promotes learning. You will learn how peer instruction works and its benefits through various evidence-based studies. Then you'll determine how it can be applied to a computer science course and examine additional reasons peer instruction is beneficial in teaching computer science in class. You will have the opportunity to apply what you learn when creating a resource and peer reviewing others' work.