The page numbers below are for the 8th edition. If you are using a different edition
of the book,
read the corresponding sections.
Section | Title | Start | End |
5.1 | Boolean Expressions | 208 | 213 |
5.2 | The if Statement | 213 | 226 |
5.3 | Comparing Data | 226 | 229 |
VIDEO Using if Statements and if-else Statements
When you finish reading, take the R03a Quiz.
Need more practice?
Practice Problems have solutions in the hint so you can check your work as you go.
PRACTICE PROBLEMS Boolean expressions - numbers
PRACTICE PROBLEMS Boolean expressions - variables
PRACTICE PROBLEMS Boolean expressions - multi-cond - int
PRACTICE PROBLEMS Boolean expressions - int and boolean
PRACTICE PROBLEMS Boolean expressions - int, boolean, not
PRACTICE PROBLEMS Comparing Data
PRACTICE PROBLEMS IF - Easy
PRACTICE PROBLEMS IF-Else - Easy
PRACTICE PROBLEMS Rank
PRACTICE PROBLEMS Digital Downloads
PRACTICE PROBLEMS If -Donuts
PRACTICE PROBLEMS If - Burgers