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

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?

Dec 28th 2026
4 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.

Dec 28th 2026
5-12 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
TECH MeD: Transdisciplinary Education for Critical Hacks of Medical Devices (Coursera) Coursera
University of Florida

TECH MeD: Transdisciplinary Education for Critical Hacks of Medical Devices (Coursera)

This course seeks to create an informed public, aware of the technical, medical, legal, and ethical issues associated with implantable medical devices. The course features conversations with experts from a variety of relevant fields to discuss the present and future technological, ethical, legal, and social challenges associated with implantable medical devices.

Dec 21st 2026
5-12 Weeks
ADHD: Everyday Strategies for Elementary Students (Coursera) Coursera
University at Buffalo,The State University of New York

ADHD: Everyday Strategies for Elementary Students (Coursera)

This course will provide an overview of ADHD diagnosis and treatment. Course participants can expect to learn about ADHD as a developmental disorder that begins early in childhood, and participants will also learn about evidence-based approaches for diagnosing ADHD. Following that, two evidence-based treatment approaches (the Daily Report Card and Parenting Strategies) will be introduced. (Note these course activities are informational and are not intended to replace working with a licensed/trained professional).

Dec 21st 2026
4 Weeks
Potenciando mi aprendizaje en el primer año de Universidad (Coursera) Coursera
Universidad de Chile

Potenciando mi aprendizaje en el primer año de Universidad (Coursera)

El propósito del curso es acompañar a los estudiantes de primer año a potenciar sus aprendizajes, con la finalidad de fomentar una buena experiencia en la universidad. Lo anterior se realiza a través de un auto- diagnóstico y de la familiarización con distintas estrategias de estudio, de gestión del tiempo y del abordaje de evaluaciones.

Dec 21st 2026
5-12 Weeks
Disability Awareness and Support (Coursera) Coursera
University of Pittsburgh

Disability Awareness and Support (Coursera)

The goal of this course is to promote equal opportunity and the full participation of students with disabilities in higher education by helping participants advance their awareness of the meaning of accessibility in education. Participants will gain competence and confidence in working with students by focusing on legislation, universal design, and assistive technologies. Thank you to Abbas (Bobby) Husain Quamar, Graduate Student Researcher in the Department of Rehabilitation Science and Technology at the University of Pittsburgh, for his contributions to the course.

Dec 21st 2026
4 Weeks
Overcoming Dyslexia (Coursera) Coursera
Yale University

Overcoming Dyslexia (Coursera)

Dyslexia is everywhere, touching so many children and adults, and while science has made extraordinary progress in understanding and clarifying the condition, this incredible powerful knowledge rarely reaches those who most need to know and would greatly benefit from it. Our goal is to change all this with the Coursera you are about to view, produced by Dr. Sally Shaywitz, the Audrey G. Ratner Professor in Learning Development, both the leading scientist studying dyslexia and the most devoted advocate for helping those who are dyslexic.

Dec 26th 2026
5-12 Weeks