Computational Thinking for K-12 Educators: Variables and Nested Loops (Coursera)

Computational Thinking for K-12 Educators: Variables and Nested Loops (Coursera)

How can students learn about abstraction by creating a movie scene? Or make an interactive map using lists? You'll learn (and do it yourself) in this course! This class teaches the concepts of abstraction (methods and parameters) and lists.

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 abstraction and lists 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 learn about the importance and logistics of assigning creative, student-designed programming projects.
Additionally, you will create a personal plan for increasing your skills in supporting a culturally responsive learning environment in your classroom.
Course 2 of 6 in the Computational Thinking & Block Programming in K-12 Education Specialization.

Syllabus

WEEK 1
Welcome!
Meet Dr. Simon and fellow learners in this class! Find out what you’ll be doing and learning.
Nested Repeats
How can we simplify instructions further with repeats? How do you dance the chicken dance? We’ll cover these questions and more in this module! Learn how nested repeats work by making dance instructions, solving programming puzzles, and creating a program. Prepare for class discussions around challenging questions about nested repeats.

WEEK 2
More Nested Repeats & Events
Be prepared for teaching nested repeats with code.org’s Bee and Zombie programming challenges, and get ready to learn about events! Find out how to grab your students’ attention with events, and practice your understanding by imagining: what if you could control someone with a game controller? Learn more about events by playing with programming puzzles and creating your own program.

WEEK 3
More Events & Variables
In this module, we’ll explore how events are taught in the classroom and go through another code.org challenge: this time, we’re creating the game of Bounce (or Pong), which is just like air hockey! We’ll also introduce how variables are placeholders for data by displaying them as a real-world placeholders: envelopes. Work on getting comfortable with variables in a variety of programming puzzles.

**WEEK 4
More Variables
After working through some tricky examples of changing variables, we’re ready to bring variables to your classroom! First, we’ll cover a more thorough lesson plan for the “variables as envelopes” metaphor. Then, we’ll head back to the code.org Artist environment to show the true power of variables and how much they can affect our drawings!

WEEK 5**
Equity & Pedagogy
We take a break from programming concepts to ensure that your classroom environment encourages a healthy learning environment. Learn how to make fun assignments a little more approachable by using Parsons’ problems, and explore how you can make your computer lab a respectful and supportive environment for all, especially students that might be underrepresented.

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

Related Courses

Multilevel Modeling (Coursera) Coursera
Erasmus University Rotterdam

Multilevel Modeling (Coursera)

In this course, PhD candidates will get an introduction into the theory of multilevel modelling, focusing on two level multilevel models with a 'continuous' response variable. In addition, participants will learn how to run basic two-level model in R. The objective of this course is to get participants acquainted with multilevel models. These models are often used for the analysis of ‘hierarchical’ data, in which observations are nested within higher level units (e.g. repeated measures nested within individuals, or pupils nested within schools).

Oct 26th 2026
4 Weeks
Applying to U.S. Universities (Coursera) Coursera
University of Pennsylvania

Applying to U.S. Universities (Coursera)

“It depends.” That is what you’ll hear when asking about the U.S. university admission process. With over 4,000 universities in the United States and no standard application system, the U.S. admission process can be confusing for everyone, but especially for students applying from other countries. This course will help international students (non-U.S. citizens) and non-native English speakers navigate the U.S. university admission process by offering practical information about the documents and pieces that make up a U.S. university application. More importantly, admission officers will discuss how they use those pieces to decide who is accepted and who is denied, so that you can understand the process beyond the pieces.

Oct 19th 2026
5-12 Weeks
My Favorite Lectures @ HKUST (Coursera) Coursera
The Hong Kong University of Science and Technology - HKUST

My Favorite Lectures @ HKUST (Coursera)

In 1994, the HKUST University Council established "The Michael G. Gale Medal for Distinguished Teaching" to commemorate the late Founding Council Member, Mr Michael G. Gale, for his distinguished service and outstanding contributions to the development of the University. This course aims to showcase our students’ favorite lectures conducted by their favorite teachers who are also the Medalists. Each speaker would share with the learners his/her teaching philosophy which is vividly illustrated in the module. The course contains four modules and in each we will feature one HKUST Michael G. Gale Medal recipient.

Oct 26th 2026
5-12 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.

Oct 19th 2026
4 Weeks
Programming with Scratch (Coursera) Coursera
The Hong Kong University of Science and Technology - HKUST

Programming with Scratch (Coursera)

Learning coding is not only about understanding the programming language being used, but also developing important computational thinking skills, which are useful for problem solving across many disciplinary areas. In this course, students will learn basic programming skills by creating interactive storybooks, animations, and games with Scratch, which is a block-based visual programming language for anyone new to coding.

Oct 26th 2026
5-12 Weeks
Foundations of Teaching for Learning: Being a Professional (Coursera) Coursera
Commonwealth Education Trust

Foundations of Teaching for Learning: Being a Professional (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.

Oct 19th 2026
5-12 Weeks
Programación en Python (Coursera) Coursera
Universidad de los Andes

Programación en Python (Coursera)

¡Te damos la bienvenida al curso de Programación en Python de la Universidad de los Andes! El propósito de este curso es ofrecerte un ambiente interactivo para que desarrolles tus habilidades de pensamiento computacional, aprendas a programar en el lenguaje Python y te entrenes en la resolución de problemas utilizando un computador. La estrategia pedagógica empleada es el aprendizaje activo basado en casos.

Oct 26th 2026
4 Weeks
The Dynamic Earth: A Course for Educators (Coursera) Coursera
American Museum of Natural History

The Dynamic Earth: A Course for Educators (Coursera)

The AMNH course The Dynamic Earth: A Course for Educators provides students with an overview of the origin and evolution of the Earth. Informed by the recently released Next Generation Science Standards, this course examines geological time scales, radiometric dating, and how scientists “read the rocks.” We will explore dramatic changes in the Earth over the last 4 billion years, including how the evolution of life on Earth has affected its atmosphere. In addition to looking at geology on a global scale, participants will take to their own backyards to explore and share their local geologic history.

Oct 19th 2026
4 Weeks
Foundations of Teaching for Learning: Introduction (Coursera) Coursera
Commonwealth Education Trust

Foundations of Teaching for Learning: Introduction (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.

Oct 19th 2026
4 Weeks
Performance Assessment in the Virtual Classroom (Coursera) Coursera
University of California, Irvine

Performance Assessment in the Virtual Classroom (Coursera)

Welcome to Performance Assessment in the Virtual Classroom! This course will help you effectively assess student performance virtually, including compliance issues, feedback models, online grade book functions, and data analysis. We will discuss why effective measures of performance and assessment are a crucial component of any virtual program, and the importance of teachers and administrators understanding both the myths and challenges of assessing performance virtually, administering standardized testing with geographical challenges, and complying with state and local requirements to make sure students are meeting requirements.

Oct 26th 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.

Oct 19th 2026
5-12 Weeks