mutable - Answers value can be changed during processing
immutable or constant - Answers the value cannot be changed during procesing
list - Answers order important, can change values, 0 or more elements, can have same elements
tuple - Answers order important, cannot change values, 0 or more elements, can have same elements
dictionary - Answers key value sets, order of items does not matter since you do not use offset such
as 0 or 1 to select an item, specify a unique key to associate with each value
set - Answers store unordered values, cannot have multiple occurrences of the same element, you
can perform set operations
define a list by putting..? - Answers brackets
define a tuple by using..? - Answers parentheses
define a dictionary by placing..? - Answers curly brackets {} around comma-separated key: value pairs
dictionaries - Answers can have multiple rows but only 2 columns
define a set by placing..? - Answers curly brackets {} around one or more comma-separated values
sequence - Answers command lines outside decision or repetition blocks that always run but run only
once
decision - Answers command lines inside a decision block that run zero or one time (depending on
outcome of logical test)
repetition - Answers command lines inside a repetition block that run zero to many or one to many
times (depending on outcome of logical test)
< - Answers strictly less than
<= - Answers less than or equal
> - Answers strictly greater than
>= - Answers greater than or equal
== - Answers equal (to compare)
= - Answers equal (to assign)
!= - Answers not equal
is - Answers object identity
is not - Answers negated object identity
break - Answers breaks out of the smallest enclosing for or while loop
continue - Answers continues with the next iteration of the loop
decisions and looping - Answers if a sub or function is never called, it will never run
for countername in range (lower limit, upper limit, step): - Answers must specify the upper limit
Concatenation - Answers has to be string
where can you get input data to be used for processing? - Answers lines of code, users (via keyboard,
voice, mouse, touch, etc.), magnetic strips, RFID devices, OCR characters, databases and files, etc.
validate data - Answers do not assume data is clean or valid
sequence check - Answers the control number follows sequentially and any sequence or duplicated
control numbers are rejected or noted on an exception report for follow-up purposes
limit check - Answers data should not exceed a predetermined amount
range check - Answers data should be within a predetermined range of values
validity check - Answers programmed checking of the data validity in accordance with predetermined
criteria
reasonableness check - Answers input data are matched to predetermined reasonable limits or
occurrence rates
table lookups - Answers input data comply with predetermined criteria maintained in a computerized
table of possible values
existence check - Answers data are entered correctly and agree with valid predetermined criteria
key verification - Answers the keying process is repeated by a separate individual using a machine
that compares the original keystrokes to the repeated keyed input
check digit - Answers a numeric value that has been calculated mathematically is added to data to
ensure that the original data have not been altered or an incorrect, but valid, value substituted
completeness check - Answers a field should always contain data rather than zeroes or blanks
duplicate check - Answers new transactions are matched to those previously input to ensure that
they have not already been entered