Thinking in Code

Build solid foundations for computational problem solving.

48 Lessons585 Exercises

Level 1

Taking the First Steps

Writing Programs

Sequencing Commands

Repeating Patterns

Debugging Programs

Looping With Logic

While Loop Challenge

Level 3

Branching

Using if Statements

Preventing Errors

Using if-else Statements

Branching with Logic

Branching Challenge

Making Binary Decisions with If-Else Statements

Learn how if-else statements enable programs to choose between two different actions based on changing conditions. Master the concept of binary decision-making where programs can execute one block of code or another, but never both. Practice implementing two-way branching logic for problem-solving scenarios. Develop the conditional thinking skills that make programs truly responsive and intelligent.


Video

We're working on adding this video

Interactive lesson

·

2 mins

A lesson UI tile

Put your learning to the test with an interactive lesson


More from this course

Thinking in Code

Build solid foundations for computational problem solving.

48 Lessons585 Exercises
Visit full course