Computational Thinking for K-12 Educators: Nested If Statements and Compound Conditionals (Coursera)

Computational Thinking for K-12 Educators: Nested If Statements and Compound Conditionals (Coursera)

How could you program a complex "choose your own adventure" game? How can your soccer game determine goals, balls out of bounds, and corner kicks? You'll learn to do both of these in this course! This class teaches the concepts of nested if/else statements and compound Boolean conditional expressions.

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 nested if/else statements and compound conditionals 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 prepare classroom resources to help your students to develop debugging skills. Additionally, you will create resources to help educate your students about the impacts of lack of equity in K-12 CS instruction.
Course 4 of 6 in the Computational Thinking & Block Programming in K-12 Education Specialization.

Syllabus

WEEK 1
Course Orientation
Nested If/Else Part 1
Explore conditional executing by learning about nested if-else statements. Use nested if-elses in examples where there are three or more options. Design your own conditional system, re-create Snap programs based on video solutions, and review some common debugging tips.

WEEK 2
Nested If/Else Part 2
Continue with nested if-else statements with our non-interactive programming puzzles to check your knowledge. Get prepared to run classroom discussions on some challenging if-else statements and explore a different, free, online programming system -- pencilcode.net

WEEK 3
Compound Conditionals Part 1
Learn how to create compound conditionals with and and or. Do an unplugged activity to see compound conditional apply in a soccer game. See how truth tables define the behavior of Boolean operators and and or and get the chance to fill one in. Create your own compound conditional programs using Snap, review others' work, and learn debugging tips.

WEEK 4
Compound Conditionals Part 2
Deepen your understanding of compound conditionals with some pretty challenging classroom discussion questions. Learn about the design behind the Scratch programming language and read and use starter code in Scratch to create a soccer game that announces goals and various out of bounds situations.

WEEK 5
Equity & Pedagogy
Explore the equity and pedagogical aspects of computer science. Learn about Grace Hopper, an iconic woman and pioneer of computing and learn about debugging tips. After practicing your debugging skills, you will learn the benefits and methods to introduce computer science to everyone. Finally, we'll introduce various communities and share advice that will be useful for computing education leaders.

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

Related Courses

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.

Sep 21st 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.

Sep 21st 2026
4 Weeks
Evolution: A Course for Educators (Coursera) Coursera
American Museum of Natural History

Evolution: A Course for Educators (Coursera)

How are all of the species living on Earth today related? How does understanding evolutionary science contribute to our well-being? In this course, participants will learn about evolutionary relationships, population genetics, and natural and artificial selection. Participants will explore evolutionary science and learn how to integrate it into their classrooms.

Sep 21st 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.

Sep 21st 2026
5-12 Weeks
Foundations of Virtual Instruction (Coursera) Coursera
University of California, Irvine

Foundations of Virtual Instruction (Coursera)

Welcome to Foundations of Virtual Instruction! This course will help you 'up' your game and develop the advanced skills and techniques that elude even some of the most experienced virtual teachers in the K-12 space. Examine pitfalls and learn how to overcome them by focusing on the fundamentals that have the most significant impact on student learning in a blended or online environment.

Sep 21st 2026
5-12 Weeks
Learning, Knowledge, and Human Development (Coursera) Coursera
University of Illinois at Urbana-Champaign

Learning, Knowledge, and Human Development (Coursera)

This course sets out to provide an understanding of theories of learning and development and how these theories relate to educational technology. It has two components. The first is theoretical, in which we attempt to develop an overall frame of reference, locating approaches to the psychology of learning in terms of large paradigm shifts, from ‘behaviorism’ to ‘brain developmentalism’ to ‘social cognitivism’. The second component is practical, in which we will use these theoretical concepts to ‘parse’ a technology-mediated learning environment for its underlying presuppositions.

Sep 21st 2026
4 Weeks
Problem Solving, Python Programming, and Video Games (Coursera) Coursera
University of Alberta

Problem Solving, Python Programming, and Video Games (Coursera)

This course is an introduction to computer science and programming in Python. Important computer science concepts such as problem solving (computational thinking), problem decomposition, algorithms, abstraction, and software quality are emphasized throughout. The Python programming language and video games are used to demonstrate computer science concepts in a concrete and fun manner. However, a learner can take the knowledge and skills from this course and apply them to non-game problems, other programming languages, and other computer science courses.

Sep 21st 2026
5-12 Weeks
Social Pedagogy across Europe (Coursera) Coursera
Universitat Autònoma de Barcelona

Social Pedagogy across Europe (Coursera)

Social Pedagogy across Europe is the first Massive Open Online Course focused on social pedagogy – a relationship-centred approach to supporting people’s learning, well-being and social inclusion in ways that promote social justice. The course is structured in eight sessions presented over four weeks – an introductory session, six sessions outlining social pedagogy in different European countries and sharing some innovative practice insights, and a review session to support you in applying your learning.

Sep 21st 2026
5-12 Weeks
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.

Sep 21st 2026
5-12 Weeks