# IBM apprenticeships: who can apply and what to prepare

## Catch bad records before calculating the average

Original fictional support log. All times refer to the same day and timezone. A resolved ticket needs a valid start and end time; an open ticket does not yet have a completed duration.

### Four input rows to test

| Ticket | Status | Opened | Resolved |
| --- | --- | --- | --- |
| T1 | Resolved | 09:00 | 09:20 |
| T2 | Open | 09:10 | Blank |
| T3 | Resolved | 09:30 | 09:20 |
| T4 | Resolved | Unreadable | 09:50 |

## Your turn

Which records can support the completed-ticket average? What else must the report disclose?

## Your answer

[Write your approach here.]

## For your own application

Add a small test file to your project with valid, open and invalid records. Make the exception count visible beside the reported metric.

Return to the guide for the worked answer and source notes:
https://internshipdeadlines.com/guides/ibm-apprenticeship-application-guide
