python exam 1 2023 with 100% correct answers
algorithm A set of specific steps for solving a category of problems comment Text in a program that is meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program high-level language A programming language like Python that is designed to be easy for humans to read and write. print A function used in a program or script that causes the Python interpreter to display a value on its output device. runtime error An error that does not occur until the program has started to execute but that prevents the program from continuing. semantic error An error in a program that makes it do something other than what the programmer intended. semantic the meaning of a program syntax The structure of a program syntax error An error in a program that makes it impossible to parse — and therefore impossible to interpret. string contains a string of letters variable name that refers to a value assignment statement gives value to a variable statement instruction that the Python interpreter can execute operators special tokens that represent computations like addition, multiplication and division evaluate To simplify an expression by performing the operations in order to yield a single value.
Document information
- Uploaded on
- July 28, 2023
- Number of pages
- 6
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers