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

Explorando os recursos educacionais da Khan Academy (Coursera) Coursera
Fundação Lemann,Instituto Península,Ismart,Instituto Natura

Explorando os recursos educacionais da Khan Academy (Coursera)

O curso "Explorando os recursos educacionais da Khan Academy" tem como objetivo ajudar todos aqueles que desejam utilizar a plataforma como um recurso pedagógico. No decorrer do curso, você terá a oportunidade de conhecer a plataforma do ponto de vista do estudante e do ponto de vista do tutor, sabendo exatamente como utilizá-la em favor da aprendizagem. Ao longo do curso, você terá todas as orientações de que precisa para utilizar a plataforma com seus alunos.

Dec 14th 2026
5-12 Weeks
Generative AI in Education (Coursera) Coursera
University of Glasgow

Generative AI in Education (Coursera)

Discover the foundations of generative AI in our dynamic course. Gain a comprehensive grasp of generative AI basics, including definitions, prompt engineering, ethical considerations, and best practices. This engaging, discussion-focused course empowers learners to explore generative AI through hands-on practice with recommended tools. Learners actively participate in discussions, sharing insights and findings in the forum.

Dec 14th 2026
4 Weeks
Applying to U.S. Universities (Coursera) Coursera
University of Pennsylvania

Applying to U.S. Universities (Coursera)

“It depends.” That is what you’ll hear when asking about the U.S. university admission process. With over 4,000 universities in the United States and no standard application system, the U.S. admission process can be confusing for everyone, but especially for students applying from other countries. This course will help international students (non-U.S. citizens) and non-native English speakers navigate the U.S. university admission process by offering practical information about the documents and pieces that make up a U.S. university application. More importantly, admission officers will discuss how they use those pieces to decide who is accepted and who is denied, so that you can understand the process beyond the pieces.

Dec 14th 2026
5-12 Weeks
Lesson Planning with the ELL in Mind (Coursera) Coursera
Arizona State University

Lesson Planning with the ELL in Mind (Coursera)

In this course you will learn how to design lesson plans around the needs of your ELL students and their language level through the analysis of content language and cognitive demands. You will learn how to align language objectives to the adopted standards of your school and content area. You will learn how to modify existing course materials as well as develop graphic organizers and languages frames to support ELLs’ access to content. Analysis of second language acquisition theories will be applied to lesson planning.

Dec 14th 2026
5-12 Weeks
Training and Learning Programs for Volunteer Community Health Workers (Coursera) Coursera
Johns Hopkins University

Training and Learning Programs for Volunteer Community Health Workers (Coursera)

Volunteer community health workers (CHWs) are a major strategy for increasing access to and coverage of basic health interventions. Our village health worker training course reviews the process of training and continuing education of CHWs as an important component of involving communities in their own health service delivery. Participants will be guided through the steps of planning training and continuing education activities for village volunteers. The course draws on real-life examples from community-directed onchocerciasis control, village health worker programs, community case management efforts, peer educators programs and patent medicine vendor training programs, to name a few.

Dec 7th 2026
5-12 Weeks
Ensino Híbrido: Personalização e Tecnologia na Educação (Coursera) Coursera
Fundação Lemann,Instituto Península

Ensino Híbrido: Personalização e Tecnologia na Educação (Coursera)

Neste curso, oferecido pela Fundação Lemann em parceria com o Instituto Península, você terá a oportunidade de aprender, a partir de experiências reais, como integrar as tecnologias digitais no seu contexto escolar. As vivências compartilhadas pelos diferentes professores envolvidos neste curso lhe proporcionará reflexões sobre os modelos de Ensino Híbrido e sua relação com a personalização do ensino.

Dec 14th 2026
5-12 Weeks
Foundations of Teaching for Learning: Introduction (Coursera) Coursera
Commonwealth Education Trust

Foundations of Teaching for Learning: Introduction (Coursera)

The Foundations of Teaching for Learning programme is for anyone who is teaching, or who would like to teach, in any subject and any context - be it at school, at home or in the workplace. With dynamic lessons taught by established and respected professionals from across the Commonwealth, this eight course programme will see you develop and strengthen your skills in teaching, professionalism, assessment, and more. As you carry on through the programme, you will find yourself strengthening not only your skills, but your connection with colleagues across the globe. A professional development opportunity not to be missed.

Dec 14th 2026
4 Weeks
Foundations of Teaching for Learning: Being a Teacher (Coursera) Coursera
Commonwealth Education Trust

Foundations of Teaching for Learning: Being a Teacher (Coursera)

The Foundations of Teaching for Learning programme is for anyone who is teaching, or who would like to teach, in any subject and any context - be it at school, at home or in the workplace. With dynamic lessons taught by established and respected professionals from across the Commonwealth, this eight course programme will see you develop and strengthen your skills in teaching, professionalism, assessment, and more. As you carry on through the programme, you will find yourself strengthening not only your skills, but your connection with colleagues across the globe. A professional development opportunity not to be missed.

Dec 14th 2026
5-12 Weeks
Foundations of Teaching for Learning: Being a Professional (Coursera) Coursera
Commonwealth Education Trust

Foundations of Teaching for Learning: Being a Professional (Coursera)

The Foundations of Teaching for Learning programme is for anyone who is teaching, or who would like to teach, in any subject and any context - be it at school, at home or in the workplace. With dynamic lessons taught by established and respected professionals from across the Commonwealth, this eight course programme will see you develop and strengthen your skills in teaching, professionalism, assessment, and more. As you carry on through the programme, you will find yourself strengthening not only your skills, but your connection with colleagues across the globe. A professional development opportunity not to be missed.

Dec 14th 2026
5-12 Weeks
Assessment for Learning (Coursera) Coursera
University of Illinois at Urbana-Champaign

Assessment for Learning (Coursera)

For several decades now, assessment has become an increasingly pressing educational priority. Teacher and school accountability systems have come to be based on analysis of large-scale, standardized summative assessments. As a consequence, assessment now dominates most conversations about reform, particularly as a measure of teacher and school accountability for learner performance. This course is an overview of current debates about testing, and analyses the strengths and weaknesses of a variety of approaches to assessment.

Dec 14th 2026
4 Weeks
Kids with Cancer Still Need School: The Providers Role (Coursera) Coursera
Johns Hopkins University

Kids with Cancer Still Need School: The Providers Role (Coursera)

This course will help you understand and address the challenges parents and families face regarding schooling after a cancer diagnosis. When a child is diagnosed with cancer, families can be overwhelmed learning about and managing this new and frightening reality. As they adjust to the new normal of ongoing treatment, school may be the farthest thing from their mind. However, as their oncology health care provider, you have a critical role in starting conversations about schooling. Even for your youngest patients, it is important to talk with parents and caregivers about schooling issues early and often.

Dec 14th 2026
5-12 Weeks