Check endpoints and input representations

A telemetry receiver accepts a retry count only if its input type is integer and its value is from 0 through 4, inclusive. It performs no conversion from another type. Complete every decision cell with exactly accept or reject, using the supplied input types.

Input valueInput typeDecision
-1Integer
0Integer
4Integer
5Integer
2.0Floating point
2Text

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Defensive Design Questions: