← Back to course
Intro to CS 9-10 / Week 03
Week 03

Making Decisions

// Booleans, conditions and alert rules

A Boolean value is either true or false, and a comparison using a relational operator evaluates to a Boolean. AND is true only when both conditions are true; OR is true when either or both are true. Selection decides which parts of an algorithm run, and if-statements change the flow of control based on a Boolean expression. The same decision can be written in more than one way, and readability helps decide which way to choose. Rules can carry bias, so developers test and refine them with users in mind.

DAYS THIS WEEK

MONDAY

Monday

17 blocks · 4 graded

TUESDAY

Tuesday

19 blocks · 5 graded

WEDNESDAY

Wednesday

18 blocks · 5 graded

THURSDAY

Thursday

18 blocks · 5 graded

FRIDAY

Friday

17 blocks · 5 graded

MISSION QUEST

Mission Quest

9 blocks · 2 graded

← All weeks 📊 Week review →