BrightChamps interview question

Discussion of a scratch program