Big Idea 3 (30-35%) Flashcards
variable
an abstraction inside a program
that can hold a value.
list
an ordered sequence of elements
EX: [value1, value2, value3, …]
element
an individual value in a list that is
assigned a unique index.
index
a common method for referencing
the elements in a list or string using natural
numbers.
string
is an ordered sequence of characters. EX:
“Hello World” is a string of characters.
algorithm
a finite set of instructions that
accomplish a specific task.
sequencing
the application of each step of
an algorithm in the order in which the code
statements are given.
code statement
a part of program code
that expresses an action to be carried out.
expression
consist of a value, a variable,
an operator, or a procedure call that returns a
value.
string concatenation
joins together two or
more strings end-to-end to make a new string
substring
part of an existing string.
boolean value
either true or false.
selection
determines which parts of an
algorithm are executed based on a condition
being true or false.
conditional statements
“if-statements,”
affect the sequential flow of control by
executing different statements based on the
value of a Boolean expression.
nested conditional statements
consist of
conditional statements within conditional
statements.