1/38
Vocabulary practice flashcards covering fundamental Python concepts, data types, conditional statements, logical operators, iterative statements, and functions from Course 7, Module 1.
Automation
The use of technology to reduce human and manual effort to perform common and repetitive tasks.
Boolean data
Data that can only be one of two values: either True or False.
Command-line interface
A text-based user interface that uses commands to interact with the computer.
Comment
A note programmers make about the intention behind their code, initiated with the "#" symbol in Python.
Conditional statement
A statement that evaluates code to determine if it meets a specified set of conditions.
Data type
A category for a particular type of data item.
Dictionary data
Data that consists of one or more key-value pairs separated by colons, enclosed within curly brackets ({}).
Float data
Data consisting of a number with a decimal point.
Integer data
Data consisting of a number that does not include a decimal point.
Integrated development environment (IDE)
A software application for writing code that provides editing assistance and error correction tools.
Interpreter
A computer program that translates Python code into runnable instructions line by line.
Iterative statement
Code that repeatedly executes a set of instructions.
List data
A data structure that consists of a collection of data in sequential form, placed within square brackets ([]).
Loop variable
A variable that is used to control the iterations of a loop.
Notebook
An online interface for writing, storing, and running code.
Programming
A process that can be used to create a specific set of instructions for a computer to execute tasks.
Set data
Data that consists of an unordered collection of unique values enclosed in curly brackets ({}).
String data
Data consisting of an ordered sequence of characters placed within quotation marks.
Syntax
The rules that determine what is correctly structured in a computing language.
Tuple data
A data structure that consists of a collection of data that cannot be changed, placed within parentheses (()).
Type error
An error that results from using the wrong data type.
Variable
A container that stores data; a named storage location in a computer's memory that can hold a value.
Comparison operators
Operators used to compare values in conditional statements, including greater than (>), less than (
if statement
The keyword and header statement that starts a conditional statement and tells Python what body of code to execute when a condition evaluates to True.
else statement
A statement that precedes a code section that only evaluates when all conditions that precede it within the conditional statement evaluate to False.
elif statement
A statement that precedes a condition that is only evaluated when previous conditions evaluate to False.
and operator
A logical operator that requires both conditions on either side of the operator to evaluate to True.
or operator
A logical operator that requires only one of the conditions on either side of the operator to evaluate to True.
not operator
A logical operator that negates a given condition so that it evaluates to False if the condition is True and to True if it is False.
Floor division operator (//)
A division operator that divides values and rounds down the result to the nearest whole number.
print() function
A built-in Python function that outputs a specified object or message to the screen.
type() function
A built-in Python function that returns the data type of its input.
range() function
A built-in Python function that generates a sequence of numbers based on start, stop (exclusive), and increment values.
for loop
An iterative statement keyword that signals the beginning of a loop used to iterate through a specified sequence.
while loop
An iterative statement keyword that signals the beginning of a loop used to iterate based on a condition as long as that condition evaluates to True.
break keyword
A keyword used to break out of a loop.
continue keyword
A keyword used to skip a loop iteration and continue with the next one.
Empty string
A string ("") that does not contain anything within the quotation marks.
Empty list
A list ([]) that does not contain any elements within the brackets.