Question
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
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
Answers
GPT-4o mini
The correct response is **pattern matching**.
lol
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
Responses
do loop
do loop
while loop
while loop
if…then
if…then
for loop
GPT-4o mini
The correct response is **if…then**.
lol
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
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
GPT-4o mini
The correct response is **decrementing the parameter**.
lol
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
Responses
base case
base case
backward phase
backward phase
forward phase
forward phase
recursive case
GPT-4o mini
The correct response is **recursive case**.