Lecture 1 Flashcards
1
Q
What is language syntax?
A
Set of rules defining which sequence of characters are recognized as sentences, meaning which constructs are legal in the language.
2
Q
What is semantics?
A
Specification of the meaning of the language.
What a program does when it is executed.
3
Q
Name 6 programming paradigms
A
Declarative
Functional
Object-oriented
Concurrent
Programming with lazy execution
Logic programming