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

Teach English Now! Lesson Design and Assessment (Coursera) Coursera
Arizona State University

Teach English Now! Lesson Design and Assessment (Coursera)

Learners will be introduced to designing lesson plans based on principles and knowledge of learning objectives, assessment plans, methods, materials, and learning activities. Learners will find and prepare appropriate teaching materials through careful analysis, adaptation and creation of professional resources. Learners will also reflect on the cohesion between lesson design and teaching philosophies.

Jun 22nd 2026
5-12 Weeks
Evaluación para el aprendizaje: Enfoque cuantitativo (Coursera) Coursera
Universidad Nacional Autónoma de México

Evaluación para el aprendizaje: Enfoque cuantitativo (Coursera)

La perspectiva contemporánea de la educación ha considerado que dentro del proceso educativo es indispensable la evaluación como una parte esencial de la enseñanza y el aprendizaje. Realizar este proceso de manera adecuada requiere de una formación especializada que nos permita conocer tanto el proceso en sí mismo, así como los elementos involucrados en él y la pertinencia de hacer uso de las técnicas e instrumentos más adecuados y necesarios para cada tipo de evaluación.

Jun 22nd 2026
4 Weeks
Introduction to EdTech (Coursera) Coursera
EDHEC Business School

Introduction to EdTech (Coursera)

Co-developed by Supercharger Ventures and EDHEC Business School. EdTech, short for Education Technology, is one of the most exciting sectors in the economy today poised to re-shape how education systems work and how people learn around the world. Introduction to EdTech MOOC is designed to explore EdTech fundamentals and build the foundational knowledge for educators, institutions, entrepreneurs and governments to appreciate the impact and potential of new tools, technologies, business models and learning methods in education.

Jun 22nd 2026
4 Weeks
Expanding SEL (Coursera) Coursera
University of Colorado Boulder

Expanding SEL (Coursera)

Social and emotional learning, or SEL, programs have flourished in schools during the last decade. In this course the instructors (Emily Price and Ben Kirshner) introduce and help you examine community based and youth-empowerment approaches to social and emotional learning. Some of these approaches address the impact of social and political systems, such as immigration and structural racism, on children’s social and emotional experiences.

Jun 22nd 2026
5-12 Weeks
Critical Issues in Urban Education (Coursera) Coursera
University of Chicago

Critical Issues in Urban Education (Coursera)

Urban school reform in the United States is characterized by contentious, politicized debate. This course explores a set of critical issues in the education and educational reform space, with a focus on aspects of the field that have sparked controversy and polarized views. We will dig into these debates, situating them within the larger history of public education and school reform, and considering the viewpoints, the evidence, and translation of issues into educational policy.

Jun 22nd 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.

Jun 22nd 2026
5-12 Weeks
Educating Deaf Children: Becoming an Empowered Teacher (Coursera) Coursera
University of Cape Town

Educating Deaf Children: Becoming an Empowered Teacher (Coursera)

Many Deaf children around the world still leave school functionally illiterate. In some cases there is no allowance made for education of Deaf children at all. This 4 week course provides you with invaluable knowledge and skills about teaching Deaf children. You will learn about the importance of Deaf culture and community, the need for a language rich environment for the Deaf child from as young as possible, and that having access to sign language can help Deaf children academically, emotionally, and socially.

Jun 22nd 2026
4 Weeks
Aprendizaje de las matemáticas de primaria (Coursera) Coursera
Universidad de los Andes

Aprendizaje de las matemáticas de primaria (Coursera)

En este segundo curso de acceso gratuito* del programa especializado Educación Matemática para profesores de primaria, conocerás las cuestiones particulares sobre el aprendizaje de las matemáticas y las dificultades y los errores más frecuentes que tienen que enfrentar los estudiantes al aprenderlas. El curso tiene una duración aproximada de seis semanas, con una dedicación promedio de 4 horas semanales. Todas las evaluaciones tienen retroalimentación y podrás descargar la mayoría de los recursos del curso.

Jun 22nd 2026
5-12 Weeks
Computational Thinking for Problem Solving (Coursera) Coursera
University of Pennsylvania

Computational Thinking for Problem Solving (Coursera)

Computational thinking is the process of approaching a problem in a systematic manner and creating and expressing a solution such that it can be carried out by a computer. But you don't need to be a computer scientist to think like a computer scientist! In fact, we encourage students from any field of study to take this course. Many quantitative and data-centric problems can be solved using computational thinking and an understanding of computational thinking will give you a foundation for solving problems that have real-world, social impact.

Jun 22nd 2026
4 Weeks
Evaluación para el aprendizaje: Enfoque cualitativo (Coursera) Coursera
Universidad Nacional Autónoma de México

Evaluación para el aprendizaje: Enfoque cualitativo (Coursera)

La formación en educación media superior y superior implica no solamente el aprendizaje de conocimientos, sino también el desarrollo de habilidades y la formación de actitudes y valores, para lo cual es fundamental contar con instrumentos, estrategias y técnicas que le permitan al profesor obtener información sobre el progreso de sus estudiantes y así contribuir a la toma de decisiones para alcanzar el logro de los aprendizajes esperados, para ello el uso sistemático de instrumentos de evaluación de carácter cualitativo es frecuente en educación superior, particularmente en las áreas sociales y de la salud, como por ejemplo en Biología, Trabajo social, Psicología, Medicina, Antropología, entre otras.

Jun 22nd 2026
3 Weeks
Try RRI! A guide for Responsible Research and Innovation (Coursera) Coursera
University of Amsterdam

Try RRI! A guide for Responsible Research and Innovation (Coursera)

In this online course you will learn how to apply Responsible Research and Innovation (RRI) in your own work. First by understanding why it is important to act responsibly in your research and innovation processes at all. In a second step, you will get introduced to several tools that will help make your own work in research and/or innovation more aware by introducing concepts of RRI.

Jun 22nd 2026
3 Weeks
Noun Clauses and Conditionals (Coursera) Coursera
University of California, Irvine

Noun Clauses and Conditionals (Coursera)

This is the third course in the Learn English: Advanced Grammar and Punctuation specialty. In this class, you will learn about the advanced grammar concepts of noun clauses and conditionals. You will learn about several different types of each and get lots of practice using them appropriately. This may seem like difficult grammar, but this course will make them easy to understand. These grammar points are essential for any learner trying to master fluency in the English language.

Jun 22nd 2026
4 Weeks