ap create task language Flashcards
(11 cards)
relational operators
symbols to compare 2 values/expressions and determine their relationship, ex: =, <, >, !=
conditional statements/boolean expression
an expression that evaluates to either true or false
logic operators
AND, OR, NOT operators
iteration statements
loops, repeat themselves over and over again until the condition for stopping is met
logic error
a mistake in the algorithm or program that causes it to behave incorrectly or unexpectedly, ex: creating loops with incorrect entry or exit conditions
syntax error
a mistake in the program where the rules of the programming language are not followed, ex: forgetting a semicolon
runtime error
a mistake in the program that occurs during the execution of a program, ex: trying to divide by 0
overflow error
an error that occurs when a computer attempts to handle a number that is outside of the defined range of values
data abstraction
simplifies a set of data, hiding the unnecessary details
traverse/ traversals
the process of accessing each item in a list one at a time
procedural abstraction
using functions