Jasmine is creating a game where the same sequence will repeat four times. What kind of loop should be used for this feature of the game?

(1 point)
Responses

float loop

float loop

condition-controlled loop

condition-controlled loop

count-controlled loop

count-controlled loop

binary loop

For a game feature where you want a sequence to repeat a specific number of times, the appropriate type of loop to use is a count-controlled loop.

A count-controlled loop is designed to repeat a block of code a specific number of times. It is typically implemented using a loop that keeps track of the number of iterations and stops after running the desired number of times. In many programming languages, a for loop can be used as a count-controlled loop.

So the response for the given question would be:

count-controlled loop

If you wanted to create a line of code that would add ten to the user’s current score, which code should you use?

(1 point)
Responses

score == score + 10

score == score + 10

score = score + score

score = score + score

score = score + 10

score = score + 10

if score, then +10