IBM interview question

College project DFD