Skip to content

Jan 26: CodingBat Logic

Class Canceled

Due to inclement weather, JMU is closed today. Assignment due dates remain unchanged. See the announcement on Canvas for more details.

Learning Objectives

After today’s class, you should be able to:

  • Write short methods that include conditional and logic expressions.
  • Apply combined conditionals as substitutes for decision statements.
  • Describe the range of test cases needed to test decision statements.

Lesson Outline

Part 1 [25 min]

Part 2 [25 min]

  • Complete at least 2 problems from Logic-1
  • Complete at least 2 problems from Logic-2

Your To-Do List