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

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.

Sep 7th 2026
5-12 Weeks
THINK GLOBAL: TEACHERS TRAINING COURSE (IDP-ICE) (Coursera) Coursera
University of Barcelona

THINK GLOBAL: TEACHERS TRAINING COURSE (IDP-ICE) (Coursera)

A group of seven European partners from Catalonia, Belgium, and Wales worked together on the Erasmus+ funded ‘Think Global’ project on global competence. The project seeks to address the following research question through development and piloting of practical classroom activities: What is global competence, and how can it be learned effectively?

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

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

Sep 14th 2026
3 Weeks
What future for education? (Coursera) Coursera
University of London,UCL Institute of Education

What future for education? (Coursera)

Through this course you will start to critically examine your own ideas about education, teaching and learning. The critique will be developed through engagement with theories and ideas developed through educational research. You will be encouraged to use these ideas to challenge or support your own ideas about education. Each week we will focus on one key question, using video lectures, key readings and challenges to explore some commonplace notions about education.

Sep 14th 2026
5-12 Weeks
Multimodal Literacies: Communication and Learning in the Era of Digital Media (Coursera) Coursera
University of Illinois at Urbana-Champaign

Multimodal Literacies: Communication and Learning in the Era of Digital Media (Coursera)

Whereas the focus of traditional literacy pedagogy has been the written word in its standard and literary forms, this courser expands the scope of literacy learning to encompass contemporary multimodal texts and the wide range of ways of making meaning that occur in different social and cultural contexts. Another course, "Literacy Teaching and Learning: Aims, Approaches and Pedagogies" addresses pedagogical aspects of literacies. This "Multimodal Literacies" learning module does not require or expect that participants will have already completed the "Literacy Teaching and Learning" module.

Sep 14th 2026
4 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
Copyright for Educators & Librarians (Coursera) Coursera
Duke University,Emory University,University of North Carolina at Chapel Hill

Copyright for Educators & Librarians (Coursera)

Fear and uncertainty about copyright law often plagues educators and sometimes prevents creative teaching. This course is a professional development opportunity designed to provide a basic introduction to US copyright law and to empower teachers and librarians at all grade levels. Course participants will discover that the law is designed to help educators and librarians.

Sep 14th 2026
5-12 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
Engaging ELLs and Their Families in the School and Community (Coursera) Coursera
Arizona State University

Engaging ELLs and Their Families in the School and Community (Coursera)

In this course, you will learn how to better and more successfully engage your ELL(s) and their families in the school and community. You will learn how to engage your ELL student in the classroom setting as well as in various aspects of the school including extracurricular activities and the inner workings of the school and education system. You will also be introduced to strategies for engaging the families of your ELL students in the school community and the wider community of your city and state.

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