1/14
These flashcards cover key concepts related to input, processing, and output in Python programming as outlined in the lecture notes.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
The program development cycle consists of the following steps: Design the program, write the code, correct errors, test the program, and correct errors.
syntax; logic
Pseudocode is an informal language that has no __ rule and is used to create model programs.
syntax
A __ is a diagram that graphically depicts the steps in a program.
flowchart
The three-step process typically performed by a computer includes receiving __, performing some process on the input, and producing __.
input; output
In Python, the __ function is used to display output on the screen.
A __ is a name that represents a value stored in the computer memory and is used to access and manipulate data.
variable
The general format for creating a variable is __ = expression.
variable
When reading input from the keyboard, the built-in input function returns the data as a __.
string
The __ operator is used to perform floating-point division in Python.
/
The __ operator performs integer division, truncating positive results and rounding negative results away from zero.
//
Operator precedence in Python lists operations in the following order: operations in __, exponentiation, multiplication and division, and then addition and subtraction.
parentheses
Two or more string literals written adjacent to each other are __ concatenated into a single string.
implicitly
A named constant is a name that represents a value that __ during the program's execution.
does not change
The purpose of using named constants instead of magic numbers is to make code __ and easier to maintain.
self-explanatory
To append one string to the end of another string in Python, you use the __ operator.
+