ch 2 Flashcards
the five stages of program development are
design program write code correct syntax test program correct logic
software requirement is
a single function that the program must perform in order to satisfy the customer
mixed type expression
an expression that uses operands of different data types
pseudocode
informal language without syntax not meant to be compiled or executed
create models of programs focusing on design
garbage collection
a process that removes values in memory that are no longer referenced by variables
string
sequence of characters
variable
references a value in computer memory
end user
hypothetical person using a program providing input for it
string literals in python must be enclosed by
single or double quotes
exception
an unexpected error that cause program to halt if it is not solved properly
an BLANK makes a variable reference a value in computer’s memory
assignment statement
what are the operators for floating point division integer division and remainder?
/ float // integer % remainder
function
piece of prewritten code that performs an operation
algorithm
logical steps that must be taken to perform a task
a professional programmer will first do what to gain understanding of a problem?
they will work directly with the customer
interviews the customer to uncover as many details as possible about the task
creates list of software requirements