@Rahul. Lol I faced the same situation a few years ago. Oftentimes during exams, we were tasked to code a program on a sheet of paper and it was hard considering that if you miss a few semicolons or what and the program wouldn't run. It isn't realistic knowing that it's impossible to face that kind of situation knowing that after coding a program, we usually test it out first to find errors.