Scott Grissom
School of Computing & Info Systems
Grand Valley State University
picture

Lab: Practice with Conditional Statements

Preparation

Do the following before arriving at lab:

  • Read chapter 3.8
  • Understand the role of boolean comparisons: &&, ||, and !
  • Read the "If Boolean Logic" tutorial at JavaBat.com
  • Spend at least one hour practicing with the Warmup exercises

Objectives

After completing this lab, you should be able to:

  • use compound conditional statements to solve small problems

Exercises

Go to JavaBat and perform ten of the Logic exercises (your choice).

Grading Criteria

This lab is worth a possible 10 points.

  • Show your instructor your Done page (10 pts)