By searching on the web you find more details. But as a programmer, you know this topic. But you search other topics and see this word and you need only one sentence definition of this terminology.
Semantics: How to program executes correctly. Means it requires correct platform, computation algorithm, and input output relation.
Syntax: Everything is fine. Means on programming error, no network error, no algorithm error, no compiler error, no operating system errors, etc. So, no syntax error means it's also semantics.
Syntax Error: Show/Warn you that your program isn't working/run properly. The virus alters isn't a syntax error.
Semantics Error: Logical error. Programs run very smoothly but result become an error.
No comments:
Post a Comment