1/10
d
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
bugs
part of a program that causes an error or undesidred output
debug
the process that identifies errors or bugs in computer programs and fixes them
Sequential statements
code that executes in the order they appear in the code segment
initialize
when a variable is given a value for the first time. Before this it is undefined
multiline comment/string
denoted by either ''' or """ these are comments that can generate docstrings and allow the programmer to leave notes in code that span several lines without having to type '#' at the beginning of each line
incrementing counter
a variable that stores an integer with increasing (or decreasing) value. For example, a common incrementing counter is a variable that starts at 0 and has 1 added to it, resulting in subsequent values 1, 2, 3, and so forth.
list
an ordered collection of items or values. When items are added to a list, they are placed at a certain position in the list. The position of an item in a list is called its index
array
an ordered collection of elements of the same type
literal
a fixed value in source code, such as 5 or "hello"
conditional statement
a feature of a programming language that performs different computations or actions depending on whether a Boolean condition evaluates to true or false
selection
when parts of an algorithm are executed based on a condition being true or false