Operators & Statements Flashcards
1
Q
Statement
A
A syntactic unit (following the syntax of the language) of a programming language that expresses some action to be carried out.
2
Q
Operator
A
A symbol that tells the compiler or interpreter to perform specific mathematical, relational or logical operation and produce final result.
Eg: completing calculations/concatenating strings
3
Q
Type
A
Determines the format in which data is stored.
Eg: booleans, flot/real, int, string
4
Q
Keyword
A
A word that is reserved by a program because the word has a special meaning
5
Q
Assignment Operator
A
Places a value in a variable or constant
food = burger constant = 3.14
6
Q
Evaluation
A
Produces a value from an expression.
a = a+b