Counting acceptable upload attempts

A repair-reporting story lets a tenant attach a photo to explain a maintenance problem. Its acceptance criteria permit a file only when its format is JPG or PNG and its reported size is greater than 0 MB and at most 6 MB. Evaluate only these stated conditions, treating the reported sizes as exact.


Attempt

Format

Size

A

PNG

0 MB

B

JPG

2.4 MB

C

PNG

6 MB

D

JPG

6.01 MB

E

GIF

1 MB

F

PNG

3.2 MB


How many attempts satisfy all the criteria? Answer as a whole number of attempts, to zero decimal places.

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 User Stories Questions: