Explanation:
- Syntaxis refers to the spelling and grammar of a programing language. Computers are inflexible machines that understand only if you type in the exact form it expects. This expected form is called syntaxis, it can vary from program to program. There are three levels of syntax, lexical (basic symbols such as names or values), concrete (rules for writing expressions, statements, and programs) and abstract (the internal representation of the program). One example of this is the use of a semi-colon (;) to mark a part of code as complete in Java if you don't use correct syntax the program will mark a syntax error.
- Semantic means ‘meaningful’, a semantic data model is meaningful and understood by anyone (both humans and machines) regardless of his background or expertise, this means the linguistic representations or symbols support logical outcomes. An example of this is C++, a language that is less semantic than Java because Java uses meaningful words for its classes, methods, and fields.
I hope you find this information useful and interesting! Good luck!