Main content
Unit 2: Designing algorithms with conditionals
About this unit
Can computers be objective decision makers? Discover selection as you design algorithms that allow the computer to decide which code to run and when. Learn how to evaluate boolean expressions and construct conditionals to add branching logic to your programs.
What if you only want to do some things some of the time?
True or False? George Boole knows!
You come to a fork in the road: if, elif, else. Which path do you take?
Can you put a conditional inside a conditional?
How do recommendation engines know what to recommend?
Review the syntax for this unit.