Computer Science I / Integrated Introductory Programming Practice
Practice question · Sort into groups

Passing is a score of 50 or more. Sort each score by whether it passes or fails.

Groups: Passes · Fails

Hints
  1. The rule is 50 or more, so 50 itself passes.
  2. 49 is below the boundary and fails; 50 meets it and passes.
Show the answer

Passes: 50, 51, 100

Fails: 49, 30, 0

Why

Everything at least 50 passes: 50, 51 and 100. Below 50 fails: 49, 30 and 0. The 49-versus-50 pair is the boundary the task warns about, whether the test is >= 50 or > 50 decides the fate of exactly the score 50.

Read the lesson: Integrated Introductory Programming Practice →

Practise Integrated Introductory Programming Practice

The app has 5 more questions on this lesson, and keeps your place in the course. Computer Science I is free to start.

More questions on Integrated Introductory Programming Practice