Vocabulary Flashcards
To learn the vocabulary used in Introductory Python Programming
Argument or Parameter
Data that a function or statement needs in order to operate
Assignment
Gives or assigns a value to a variable
Section of code which is grouped together through Indentation
Block or Suite
Translates a program written in a high-level language into a low-level language so it can execute.
Compiler
Conditional or Conditional Statement
Statement that contains an if or if/else or if/elif/else. Used to determine a True or False condition.
The process of identifying and rectifying errors within a program.
Debugging
def
Defines a function.
Python code that produces a value of any data type.
Expression
float
A floating point number, a number with a decimal value
for loop
A statement that iterates over an iterable object, assigning each element to a local variable for use by the following block
function
A named sequence of code that has a specific purpose and can utilize arguments.
function call
An invocation of a function with arguments.
Executes a block of code once when a condition is true.
if statement
Cannot be modified after its created.
immutable
import
Used to import libraries whose functions or variables can then be used in the current program.
indentation
Python uses indentation to define or delimit blocks.
int
An integer (whole number) of unlimited magnitude.
Execute a program by translating it one line at a time.
interpret
iterable
An object containing a grouping of objects, like lists and strings.
An iterable data type containing a grouping of objects, potentially of mixed data types.
list
object-oriented
Refers to programming languages that focus on Objects and their modification instead of procedures.
Slice
Taking a portion of a sequence or iterable.
str
A character string: a sequence of characters, it is an iterable, can include numbers, letters, and other symbols. Enclosed by either double or single quotes.
statement
Can refer to any line of code or specifically a line of code in a suite, or block.
Variable
A named storage location, like a bin, for strings and numbers and other data types. The equal sign (=) is used to assign values to variables.
Executes a block of code as long as its condition is true.
while loop
concatinate
to merge two strings together into a new string.