top of page
Search

What is the difference between a syntax, logic, and runtime error?

Syntax Error is, as the name suggests, an error in the syntax of a sequence of characters or tokens that are intended to be written in compile-time and basically, a program will not run until the syntax error is corrected. Logic Error is a bug in a program that causes it to operate incorrectly. However, unlike a Syntax error or a runtime error, the program will not crash from a logic error. Runtime Error is a program error that happens while the program is running. A logic error can be a type of runtime error. The program will typically unexpectedly quit while running causing it to crash. References and more reading on each: Syntax Error Wiki (Links to an external site.) Logic Error Wiki (Links to an external site.) Runtime Error on TechTerms.com

 
 
 

Recent Posts

See All
Assessing PCI DSS Requirement 8

Assessing PCI DSS Requirement 8: Secure Passwords for Organizations Processing Credit Card Data Credit card information is a top target...

 
 
 
The Importance of Risk Management

The Importance of Risk Management in Cyber Security Assessments and Audits In today's digital age, the risk of cyber-attacks and data...

 
 
 
The Importance of Auditing

The Importance of Auditing: A Comparative Analysis of Internal and External Audits IT auditing is the process of assessing a company's...

 
 
 

Comments


bottom of page