A program will not run if it has syntax errors. Any such errors must be fixed first. A good integrated development environment (IDE) will usually point out any syntax ...
Any one or more of these errors may exist in a program, and each will cause the program to crash or not run at all.
India's computer science exams still rely on outdated pen-and-paper methods. This disconnect harms student learning and widens the employability gap in the tech industry.