Skip to content
Middle School Python
NY-CSDF.6-8.CT.7

Write and test Boolean branches at boundaries

Use comparisons, and/or/not, and branching to choose correct outcomes.

Learn the skill

  1. 1Use comparisons, and/or/not, and branching to choose correct outcomes.
  2. 2Test boundary values, not just easy middle values.

Cited instruction

Use the publisher's material for instruction, then return to PeerTutor for the checked practice written for this skill.

Computer Science and Digital Fluency · New York State Education Department

Practice preview

What does 12 >= 12 evaluate to?

What does 5 > 0 and 5 < 10 evaluate to?

What does -2 > 0 or -2 == -2 evaluate to?

Open adaptive practice

Course mapping reviewed by Nikhil on 2026-08-26. Practice is authored for PeerTutor and does not reproduce linked providers' exercises.

Write and test Boolean branches at boundaries practice · PeerTutor