HCLTech interview question

Simple OS, SQL, and baby programs :(