Program Terminology Flashcards
Define program
A sequence of instructions (called statements), which are executed one after another in a predictable manner. Sequential flow is the most common and straight-forward sequence of statements, in which statements are executed in the order that they are written - from top to bottom in a sequential manner;
What is a statement?
A single action terminated by a semicolon.
What is a block?
A group of zero, one or more statements enclosed by a pair of braces.
Define syntax.
A set of rules that define how a program needs to be written in order to be valid.
What is a keyword?
A word that has a special meaning in the programming language. These words cannot be used as variable names for your own program
What is an identifier or a name?
A word that refers to something in a program (such as a variable or a function name).
Define comment.
A textual explanation of what the code does.
What is a whitespace?
All characters that are not visible.