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

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.

Nov 9th 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?

Nov 9th 2026
5-12 Weeks
Introduction to Academic Writing (Coursera) Coursera
O.P. Jindal Global University

Introduction to Academic Writing (Coursera)

Welcome to the Introduction to Academic Writing course! By the end of this course, you will gain an in-depth understanding of reading and writing as essential skills to conduct robust and critical research. This course introduces you to critical reading and writing skills within the conventions of academic writing.

Nov 9th 2026
4 Weeks
Inclusive Online Teaching Teach-Out (Coursera) Coursera
Johns Hopkins University

Inclusive Online Teaching Teach-Out (Coursera)

In this course, higher education faculty will examine students’ barriers to learning, including unconscious bias, physical impairments, and lack of motivation. Participants will explore and discuss how inclusive pedagogy and Universal Design for Learning (UDL) can help to address those barriers and improve student learning outcomes.

Nov 2nd 2026
2 Weeks
Problem Solving Using Computational Thinking (Coursera) Coursera
University of Michigan

Problem Solving Using Computational Thinking (Coursera)

Have you ever heard that computers "think"? Believe it or not, computers really do not think. Instead, they do exactly what we tell them to do. Programming is, "telling the computer what to do and how to do it." Before you can think about programming a computer, you need to work out exactly what it is you want to tell the computer to do. Thinking through problems this way is Computational Thinking. Computational Thinking allows us to take complex problems, understand what the problem is, and develop solutions. We can present these solutions in a way that both computers and people can understand.

Nov 9th 2026
5-12 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.

Nov 2nd 2026
5-12 Weeks
Becoming a Language Friendly Teacher (Coursera) Coursera
Erasmus University Rotterdam

Becoming a Language Friendly Teacher (Coursera)

Attention teachers worldwide! Get ready to embark on an exciting journey into the world of language diversity in classrooms. As the global landscape changes, more and more children are speaking languages different from the ones used for instruction. You might have already noticed the rich tapestry of languages spoken by your students and their families, creating a wonderfully diverse environment within your school.

Nov 2nd 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.

Nov 2nd 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.

Nov 9th 2026
5-12 Weeks
Innovative Teaching with ChatGPT (Coursera) Coursera
Vanderbilt University

Innovative Teaching with ChatGPT (Coursera)

Despite what you may have heard, ChatGPT offers exciting possibilities for supporting innovative teaching and personalized education. This course provides practical techniques that any educator, from K-12 to higher education, can use to help support their teaching. No experience with ChatGPT, prompt engineering, or Generative AI is required.

Nov 9th 2026
1 Week
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.

Nov 9th 2026
4 Weeks
Niños y Adolescentes en la cultura audiovisual y digital (Coursera) Coursera
Pontificia Universidad Católica de Chile

Niños y Adolescentes en la cultura audiovisual y digital (Coursera)

Le damos la más cordial bienvenida al MOOC “Niños y Adolescentes en la cultura audiovisual y digital”, desarrollado por la Facultad de Comunicaciones de la Pontificia Universidad Católica de Chile. Este curso está enfocado en mostrar el rol que tienen los medios de comunicación y las tecnologías frente a los niños y los adolescentes que en la actualidad crecen en una cultura audiovisual y digital.

Nov 2nd 2026
4 Weeks