1/15
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
relational operators
used to test the relationship between two variables, expressions, or values. A comparison using a relational operator evaluates to a Boolean value. For example, a == b evaluates to true if a and b are equal; otherwise, it evaluates to false. Operators include the following: ==, !=, >, <, >=, and >=.
boolean
an expression with relational operators that evaluates to either true or false
conditional expressions
a comparison, usually in a while or if statement, that evaluates to a Boolean value of true or false
arithmetic operations
a symbol in code that tells a computer to perform a specific math operation, such as addition, subtraction, multiplication, or division
decidable problem
a decision problem for which an algorithm can be constructed that is always capable of providing a correct yes-or-no answer
undecidable problem
a decision problem for which no algorithm can be constructed that is always capable of providing a correct yes-or-no answer
zip file
a file that is stored in a compressed format, often containing multiple files
compressed
storing information using fewer bytes
bugs
part of a program that causes an error or undesired output
debug
the process that identifies errors or bugs in computer programs and fixes them
sequentially
code that executes in the order they appear in the code segment
initialized
when a variable is given a value for the first time.
interpret
a computer program that converts a program written in a higher-level language into a lower-level language and executes it, beginning execution before converting the entire program
block strings/multiline comments
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
incremental counter
a variable that stores an integer with increasing (or decreasing) value.
iteration
a repeating portion of an algorithm