Texas A&M University Interview Question

How to parse through a file to get needed data.