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

Critical Thinking Skills for University Success (Coursera) Coursera
The University of Sydney

Critical Thinking Skills for University Success (Coursera)

In this course, you will learn how to develop your Critical Thinking Skills to help you achieve success in your university studies. After completing this course, you will be able to: 1. Use critical thinking and argumentation in university contexts to improve academic results ; 2. Understand the importance and function of critical thinking in academic culture ; 3. Use a variety of thinking tools to improve critical thinking ; 4. Identify types of argument, and bias within arguments, in order to better evaluate the strength of arguments; 5. Use evidence to support claims in arguments ; 6. Apply critical thinking and argumentation to real world problems and issues

Sep 7th 2026
5-12 Weeks
Disability Inclusion in Education: Building Systems of Support (Coursera) Coursera
University of Cape Town

Disability Inclusion in Education: Building Systems of Support (Coursera)

Worldwide millions of children are not able to fully participate in schooling, and this is especially a problem for children with disabilities. In this course, we explore the support that teachers need in order to meet the needs of children with severe to profound hearing, visual and intellectual disabilities. We consider how this can be done by talking with a range of experts (from teachers to activists) about inclusive education as well as sharing experiences of education.

Sep 14th 2026
5-12 Weeks
Constructivism and Mathematics, Science, and Technology Education (Coursera) Coursera
University of Illinois at Urbana-Champaign

Constructivism and Mathematics, Science, and Technology Education (Coursera)

This course is designed to help participants examine the implications of constructivism for learning and teaching in science, mathematics, and technology focused areas. Course readings, discussions, and assignments will examine constructivist views of learning, research on students' ideas and idea-based interactions, research on instructional approaches taking student ideas into account, and challenges in implementing constructivist perspectives in instruction.

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

Sep 7th 2026
4 Weeks
Assessment in Higher Education: Professional Development for Teachers (Coursera) Coursera
Erasmus University Rotterdam

Assessment in Higher Education: Professional Development for Teachers (Coursera)

Are you a teacher in higher education wanting to get the best out of your students and assessments? Then on behalf of Risbo, Erasmus University Rotterdam, we would like to welcome you to this MOOC on Assessment in Higher Education. In this MOOC we will guide you through the different phases of preparing, creating and evaluating the assessments in your course.

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
Making Sense of the News: News Literacy Lessons for Digital Citizens (Coursera) Coursera
University of Hong Kong,The State University of New York

Making Sense of the News: News Literacy Lessons for Digital Citizens (Coursera)

Never before has the need for News Literacy been more urgent. As news consumers are bombarded with a constant stream of fake news, propaganda, hoaxes, rumors, satire, and advertising — that often masquerade as credible journalism — it is becoming more and more difficult to distinguish fact from fiction. While the public’s faith in the news media erodes, purveyors of misinformation have helped give rise to troubling cultural trends and alarming political movements.

Sep 7th 2026
5-12 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).

Sep 7th 2026
4 Weeks
Aboriginal Worldviews and Education (Coursera) Coursera
University of Toronto

Aboriginal Worldviews and Education (Coursera)

Intended for both Aboriginal and non-Aboriginal learners, this course will explore indigenous ways of knowing and how they can benefit all students. Topics include historical, social, and political issues in Aboriginal education; terminology; cultural, spiritual and philosophical themes in Aboriginal worldviews; and how Aboriginal worldviews can inform professional programs and practices, including but not limited to the field of education.

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

Sep 14th 2026
5-12 Weeks
e-Learning Ecologies: Innovative Approaches to Teaching and Learning for the Digital Age (Coursera) Coursera
University of Illinois at Urbana-Champaign

e-Learning Ecologies: Innovative Approaches to Teaching and Learning for the Digital Age (Coursera)

For three decades and longer we have heard educators and technologists making a case for the transformative power of technology in learning. However, despite the rhetoric, in many ways and at most institutional sites, education is still relatively untouched by technology. Even when technologies are introduced, the changes sometimes seem insignificant and the results seem disappointing. If the print textbook is replaced by an e-book, do the social relations of knowledge and learning necessarily change at all or for the better?

Sep 7th 2026
4 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