Technology has advanced to the point where programming has become an essential part of our lives. We use software and applications for communication, entertainment, education, and work, and these are all built on programming languages.

Syntax and Semantic

Syntax is a grammar of writing program. It is the rule of writing program in a correct way that may decreases the possibility of bug in the program. Programs written in any language have their own syntax rule. A coder/programmer must follow these rule so as to execute instructions in a correct way.

Semantic is a meaningful output of any instruction given by the programmer. Program written in a correct way may not produce correct output. The output must be generated that the program is designed to.

Share:

No comments:

Post a Comment

If you have any doubt, let me know...

Translate

Wikipedia

Search results