What is a substring?
It is a part of an existing string
What is an algorithm?
A finite set of instructions that accomplish a specific task
How does a list operation work?
Write expressions that use a list and index it in other procedures.
What is a string?
An ordered sequence of characters
What is a boolean value?
true or false
What is sequencing?
It is performing steps in order
What does a binary search begin with?
Data sorted.
What is a list?
An ordered sequence of elements
What does the AND operator mean?
Both conditions are true
What is selection?
Choosing a condition or decision
What is more efficient: binary search or sequential search?
Binary search.
What do lists do in data abstraction?
bundle variables together
give one name to a set of memory cells
do not need to know how the elements are stored together
What does the OR operator mean?
at least one condition is true or both conditions are true
What is iteration?
Repeating a part of a program
How does a binary search work?
Start in the middle of a set of dorted data and eliminates half the data, and repeats until the desired value is found.
How do lists manage the complexity of a program?
may not need as many variables
change the number of variables