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

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

Want to make a game that ends when you "catch" an object by clicking on it? Or maybe you get points based on how close you came? You'll do that in this class! This class teaches the concepts of conditional loops and if/else statements.

Class Deals by MOOC List - Click here and see Coursera's Active Discounts, Deals, and Promo Codes.

For each concept, we'll start by helping you connect real-world experiences you are already familiar with to the programming concept you are about to learn. Next, through a cognitively scaffolded process we'll engage you in developing your fluency with problem solving with repeat until loops, while loops, and if/else statements in a way that keeps frustration at a minimum.
Along the way you will learn about the common challenges or "bugs" students have with these concepts as well as ways to help them find and fix those concepts. You'll also be guided in running classroom discussions to help students develop deeper understanding of these concepts.
Finally, you'll learn how to support interactive learning experiences among your students with Peer Instruction.
Additionally, you will create a resource for your classroom to support an equitable classroom.
Course 3 of 6 in the Computational Thinking & Block Programming in K-12 Education Specialization.

Syllabus

WEEK 1
Course Orientation
Meet Dr. Simon and fellow learners in this class! Find out what you’ll be doing and learning.
Conditional Loops
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.

WEEK 2
More Conditional Loops
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.

WEEK 3
If statements
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.

WEEK 4
More If statements
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.

WEEK 5
Equity & Pedagogy
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.

Go to Class
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Related Courses

Emerging Trends & Technologies in the Virtual K-12 Classroom (Coursera) Coursera
University of California, Irvine

Emerging Trends & Technologies in the Virtual K-12 Classroom (Coursera)

Welcome to Emerging Trends and Technologies in K-12! This course will help you evaluate and implement technology in the most useful way within your virtual classroom setting. We will discuss the possibilities and challenges of using technology in fully online environments, although many of the ideas can be applied to blended and traditional environments as well.

Dec 21st 2026
4 Weeks
Engaging ELLs and Their Families in the School and Community (Coursera) Coursera
Arizona State University

Engaging ELLs and Their Families in the School and Community (Coursera)

In this course, you will learn how to better and more successfully engage your ELL(s) and their families in the school and community. You will learn how to engage your ELL student in the classroom setting as well as in various aspects of the school including extracurricular activities and the inner workings of the school and education system. You will also be introduced to strategies for engaging the families of your ELL students in the school community and the wider community of your city and state.

Dec 28th 2026
5-12 Weeks
Uncommon Sense Teaching (Coursera) Coursera
Deep Teaching Solutions

Uncommon Sense Teaching (Coursera)

Do your students spend too much (or too little) time learning, with disappointing results? Do they procrastinate in their study because it’s boring and they’re easily distracted? Are you working to make your teaching even more inclusive? Uncommon Sense Teaching will give you practical new insights that will help you solve these goals and challenges, and many more.

Dec 28th 2026
4 Weeks
Get Interactive: Practical Teaching with Technology (Coursera) Coursera
University of London,Bloomsbury Learning Environment

Get Interactive: Practical Teaching with Technology (Coursera)

This course is designed to help you create dynamic, interactive online courses through the use of multimedia tools, student collaboration opportunities, and formative assessment and feedback. Each week we will focus on a particular topic: Using multimedia for teaching and learning; Encouraging student collaboration; Formative assessment and feedback.

Dec 28th 2026
3 Weeks
Serious Gaming (Coursera) Coursera
Erasmus University Rotterdam

Serious Gaming (Coursera)

Have you ever wondered how playing games can help us to train people, deal with societal challenges or raise awareness of contemporary social issues? In this MOOC you will learn the ins and outs of games that are designed with exactly those purposes in mind: serious games. We will define serious games and discuss the different types that have been developed. We will explain why people like to play them and what impact they may have.

Jan 4th 2027
5-12 Weeks
Learning to Teach Online (Coursera) Coursera
UNSW Sydney - University of New South Wales

Learning to Teach Online (Coursera)

Are you an educator? Have you ever wanted to understand more about how to design your class to make better use of educational technology – whether fully online or in blended contexts? Would you like to learn from those who have extensive practical experience with online technologies? The Learning to Teach Online (LTTO) MOOC will help you develop a working understanding of successful online teaching strategies that you can apply in your own practice. The course is based upon the multi award winning open educational resource developed by Dr Simon McIntyre and Karin Watson.

Dec 21st 2026
5-12 Weeks
Niños y Adolescentes en la cultura audiovisual y digital (Coursera) Coursera
Pontificia Universidad Católica de Chile

Niños y Adolescentes en la cultura audiovisual y digital (Coursera)

Le damos la más cordial bienvenida al MOOC “Niños y Adolescentes en la cultura audiovisual y digital”, desarrollado por la Facultad de Comunicaciones de la Pontificia Universidad Católica de Chile. Este curso está enfocado en mostrar el rol que tienen los medios de comunicación y las tecnologías frente a los niños y los adolescentes que en la actualidad crecen en una cultura audiovisual y digital.

Dec 28th 2026
4 Weeks
Conciencia Lingüística (Coursera) Coursera
Universidad Autónoma Metropolitana

Conciencia Lingüística (Coursera)

Al finalizar el curso serás capaz de: Tomar conciencia acerca de cómo funciona el lenguaje humano, en lo que se refiere a la formación de palabras y estructuras que usamos a diario, su combinación y sus distintas posibilidades de significado. Con ello, se espera que el estudiante desarrolle una conciencia lingüística sobre el español y, con ello, logre un mayor control sobre el uso creativo de las palabras y las oraciones en español.

Dec 28th 2026
4 Weeks
Usos didácticos del cine: Introducción al análisis (Coursera) Coursera
Universidad Nacional Autónoma de México

Usos didácticos del cine: Introducción al análisis (Coursera)

¡Hola! Bienvenido al MOOC "Usos Didácticos del Cine: Introducción al Análisis", ofrecido por la UNAM. A lo largo de este curso, te presentaremos varias formas de usar películas en tus clases para mejorar el rendimiento de tus estudiantes. Además, podrás acceder a una variedad de herramientas y marcos conceptuales referentes a la teoría del cine válidos para poder usar con más conocimientos cualquier obra cinematográfica en el aula.

Dec 28th 2026
5-12 Weeks
Literacy Teaching and Learning: Aims, Approaches and Pedagogies (Coursera) Coursera
University of Illinois at Urbana-Champaign

Literacy Teaching and Learning: Aims, Approaches and Pedagogies (Coursera)

This course opens with an exploration of the social context and aims of literacy teaching and learning. It goes on to describe a range of historical and contemporary approaches to literacy pedagogy, including didactic, authentic, functional, and critical approaches. The course takes has a 'Multiliteracies' perspective, which aims to expand the definition of literacy to encompass today's multimodal communications, and the diversity of literacies across different social and culltural contexts.

Dec 28th 2026
4 Weeks
Diversity and Inclusion in Education (Coursera) Coursera
University of Glasgow

Diversity and Inclusion in Education (Coursera)

Student diversity is becoming the rule rather than the exception in education systems across the world. Students bring to classroom different characteristics such as ability and disability, socio-economic background, race, ethnicity, and cultural background, beliefs and religion, and gender characteristics. The United Nations’ Sustainable Development Goal 4 aims to ensure inclusive and equitable quality education and promote lifelong learning opportunities for all (United Nations, 2015).

Dec 28th 2026
4 Weeks