Notes (Latest 2025/2026 Edition)
A program consists of? - correct answerinput, process, output
A named item used to hold a value? - correct answervariable
Sequence of instructions that solves a problem. - correct answerAlgorithm
program that executes python programming. - correct answerpython intreperter or IDE
textual representation of a program - correct answercode
row of text - correct answerline
indicates the interpreter is ready to accept user input - correct answerprompt
line of executable code - correct answerstatement
returns a value when evaluated - correct answerexpression
displays output to the screen and starts a new line - correct answerprint( )
denotes a comment - correct answer# or """
text enclosed in quotes - correct answerstring literal
keep multiple print statements on one line - correct answerend=' '
used to get text from user - correct answerinput ( )
determines how a value can behave - correct answertype( )
convert string to an integer - correct answerint( )
syntaxes error - correct answera violation of the program language rules on how
symbols can be defined
runtime error - correct answerthe program attempts an impossible operation
indentation error - correct answerlines inside the program are not properly indented
Value Error - correct answerinvalid value used
, name error - correct answerThe program tries to use a variable that does not exist.
type error - correct answerAn operation uses incorrect types - can occur if adding an
integer to a string.
logic error (bug) - correct answerprogram runs but does the wrong thing
any blank space or new line - correct answerwhitespace
= - correct answerassigns a variable with a value
increasing variables by a value of 1 - correct answerincrementing
a number with a decimal point - correct answerfloat( )
stub function - correct answerA function that acts as a placeholder and returns a simple
value so another function can be tested
statement - correct answera program function. each statement appears as on its own
line
expression - correct answerAny valid unit of code that resolves to a value.
starts a new line - correct answerprint( )
if there are multiple print( ) statements adding this will keep the output on the same line
- correct answerend=' '
\n - correct answeroutput advanced to the next line
converts a string into an integer - correct answerint( )
predefined statements that are repeadly used - correct answerfunction
Parameter(s) - correct answerwhat gets passed into a function
value that get past into parameters - correct answerargument
Variable created inside a function - correct answerscope
___ says a block of code will follow - correct answer:
returns the index of the first occurrence of x in the string - correct answerfind(x)