Before processing any supplied data, an application uses ___ to confirm it matches the expected type, length, format, a…