Python Exam 1 Summary Questions with Complete Solutions
• 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. • int - A Python data type that holds positive and negative whole number
Written for
- Institution
- Programming for python language..
- Course
- Programming for python language..
Document information
- Uploaded on
- June 8, 2024
- Number of pages
- 6
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
python exam 1 summary questions with complete sol