What is the syntax and semantics of a programming language?
What will be an ideal response?
The syntax of a language describes the arrangement of words and punctuations that are
legal in the language. The syntax of a language is synonymous with the grammar of a language.
The semantics of a language describes the meaning of things written while following the syntax
rules of the language. The syntax describes how you write a program and the semantics describes
what happens when you run the program.
You might also like to view...
When an online video is inserted in a document, a(n) ________ displays a thumbnail of the video
Fill in the blank(s) with correct word
In the figure above, the function indicated by item 1 calculates ____.
A. standard deviation B. monthly payments C. the average of a set of numbers D. the sum of a set of numbers