Question

What process locates a specific set of characters in a data set?(1 point)
Responses

pattern matching
pattern matching

iteration
iteration

data analysis
data analysis

data collection

7 answers

The correct response is pattern matching.

What is an example of a branching control structure?(1 point)
Responses

do loop
do loop

while loop
while loop

if…then
if…then

for loop

The correct response is if…then.

How do we generally alter the parameter to get to the base case?(1 point)
Responses

decrementing the parameter
decrementing the parameter

setting the parameter to zero
setting the parameter to zero

adding one to the parameter
adding one to the parameter

incrementing the parameter
incrementing the parameter

The correct response is decrementing the parameter.

When performing a recursion, how do you describe the act of a function calling itself?(1 point)
Responses

base case
base case

backward phase
backward phase

forward phase
forward phase

recursive case

The correct response is recursive case.