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

Innovative Teaching with ChatGPT (Coursera) Coursera
Vanderbilt University

Innovative Teaching with ChatGPT (Coursera)

Despite what you may have heard, ChatGPT offers exciting possibilities for supporting innovative teaching and personalized education. This course provides practical techniques that any educator, from K-12 to higher education, can use to help support their teaching. No experience with ChatGPT, prompt engineering, or Generative AI is required.

Sep 14th 2026
1 Week
Multimodal Literacies: Communication and Learning in the Era of Digital Media (Coursera) Coursera
University of Illinois at Urbana-Champaign

Multimodal Literacies: Communication and Learning in the Era of Digital Media (Coursera)

Whereas the focus of traditional literacy pedagogy has been the written word in its standard and literary forms, this courser expands the scope of literacy learning to encompass contemporary multimodal texts and the wide range of ways of making meaning that occur in different social and cultural contexts. Another course, "Literacy Teaching and Learning: Aims, Approaches and Pedagogies" addresses pedagogical aspects of literacies. This "Multimodal Literacies" learning module does not require or expect that participants will have already completed the "Literacy Teaching and Learning" module.

Sep 14th 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.

Sep 6th 2026
3 Weeks
Teaching Children with Visual Impairment: Creating Empowering Classrooms (Coursera) Coursera
University of Cape Town

Teaching Children with Visual Impairment: Creating Empowering Classrooms (Coursera)

In the education of children with visual impairment, there is at present a global movement away from segregated special schooling, and towards inclusive neighbourhood schools. Inclusion provides an opportunity for everyone, teachers as well as learners, to become more acquainted about life with visual impairment and to overcome some of the barriers of difference which have existed in the past. But if it is to be successful, teachers and others require key skills and insights in order to create classroom environments which fully accommodate the learning needs of children with visual impairment.

Sep 7th 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.

Sep 7th 2026
5-12 Weeks
Basics of Inclusive Design for Online Education (Coursera) Coursera
University of Colorado Boulder

Basics of Inclusive Design for Online Education (Coursera)

This course provides instruction and strategies to support you in developing a course that is inclusive to students with a wide range of abilities, including students with disabilities. We cover effective practices to increase inclusion and avoid some of the common accessibility issues that can arise in an online course.

Sep 14th 2026
5-12 Weeks
Assessing Achievement with the ELL in Mind (Coursera) Coursera
Arizona State University

Assessing Achievement with the ELL in Mind (Coursera)

In this course, you will learn how to design assessments around the needs of your ELL students and their language level. You will learn how to incorporate language and content requirements for both formative and summative assessment types. You will learn to assess your ELL students through the use of project and task-based assignments.

Sep 7th 2026
5-12 Weeks
Copyright for Educators & Librarians (Coursera) Coursera
Duke University,Emory University,University of North Carolina at Chapel Hill

Copyright for Educators & Librarians (Coursera)

Fear and uncertainty about copyright law often plagues educators and sometimes prevents creative teaching. This course is a professional development opportunity designed to provide a basic introduction to US copyright law and to empower teachers and librarians at all grade levels. Course participants will discover that the law is designed to help educators and librarians.

Sep 14th 2026
5-12 Weeks
Formación docente basada en la práctica para desarrollar habilidades del siglo XXI (Coursera) Coursera
Pontificia Universidad Católica de Chile

Formación docente basada en la práctica para desarrollar habilidades del siglo XXI (Coursera)

El curso presenta, en primer lugar, las habilidades del siglo XXI y su relevancia para la formación docente con el fin de preparar docentes para la sociedad del conocimiento, capaces de pensar de manera crítica y creativa y con habilidades de comunicación y colaboración para promover oportunidades de aprendizaje equitativas y de calidad en los contextos escolares. En segundo lugar, se discute sobre el enfoque basado en la práctica para la formación docente y la necesidad de ofrecer andamiajes que les permitan a los docentes aprender a poner en acto prácticas generativas complejas que requieren conocimientos especializados.

Sep 14th 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.

Sep 7th 2026
4 Weeks
Tinkering Fundamentals: Circuits (Coursera) Coursera
Exploratorium

Tinkering Fundamentals: Circuits (Coursera)

The Tinkering Fundamentals course will offer educators and enthusiasts an opportunity to develop a practice of tinkering and making. We see tinkering as a serious endeavor -- one that is generalizable across content and especially good at interweaving disciplines in a way that leads to complex projects and individualized learning opportunities.

Sep 21st 2026
5-12 Weeks
Teaching LGBTQ+ Health (Coursera) Coursera
Stanford University

Teaching LGBTQ+ Health (Coursera)

This curriculum is designed for faculty members and health professions educators. The course goals are to improve your knowledge, teaching skills, and attitudes pertaining to the provision of health care to LGBTQ+ patients.e.g. This is primarily aimed at first- and second-year undergraduates interested in engineering or science, along with high school students and professionals with an interest in programming.

Sep 14th 2026
2 Weeks