subject

Julie is writing a computer game that simulates a 100 m race. Each time the space bar is pressed, the position of the player moves up by 1. When the position reaches 100, the player has won.
Here is Julie's algorithm for the program

CONST PlayerKey = ""
Position = 0
REPEAT
INPUT KeyPressed
If KeyPressed = PlayerKey THEN
Position = Position + 1
END IF
UNTIL Position = 100

State what is meant by selection and iteration using examples from Julie's algorithm.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 16:00
An english teacher would like to divide 8 boys and 10 girls into groups, each with the same combination of boys and girls and nobody left out. what is the greatest number of groups that can be formed?
Answers: 2
question
Computers and Technology, 24.06.2019 23:50
Which career involves analyzing various factors that influence the customer decision-making process? analyze various factors that influence the customer decision-making processes. reset next
Answers: 2
question
Computers and Technology, 25.06.2019 01:00
Why was it important for the date format to be standardized by the international organization for standardization
Answers: 1
question
Computers and Technology, 25.06.2019 03:00
1. how do you view the edited document without the track changes markup? a. select accept all changes in document in the accept drop-down menu.b. click on restrict editing in the protect group.c. click on the reviewing pane drop-down menu in the tracking group.d. click on final in the display for review drop-down menu.
Answers: 3
You know the right answer?
Julie is writing a computer game that simulates a 100 m race. Each time the space bar is pressed, t...
Questions
Questions on the website: 13722367