subject

The following code simulates the movement of a golf ball in the air after it's been hit. initialVelocity ← 44
accelFromGravity ← -9.8
x ← 0
y ← 0
t ← 0
REPEAT UNTIL (y < 0) {
x ← initialVelocity * t;
y ← (initialVelocity * t) + ((accelFromGravity * (t*t)) / 2)
DISPLAY(x)
DISPLAY(y)
t ← t + 1
}

Which statement best describes why this simulation is an abstraction?

(Choice A)
It leaves out details that do not effect the results as much, such as air resistance or golf ball material.

(Choice B)
It uses short variable names that can be interpreted ambiguously.

(Choice C)
It displays the results in text instead of using a visual output.

(Choice D)
It uses a loop to repeat the same block of commands multiple times with differing values.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:40
How do i get the most points, without any effort?
Answers: 2
question
Computers and Technology, 22.06.2019 15:30
To increase sales, robert sends out a newsletter to his customers each month, letting them know about new products and ways in which to use them. in order to protect his customers' privacy, he uses this field when addressing his e-mail. attach bcc forward to
Answers: 2
question
Computers and Technology, 23.06.2019 01:30
How do you set up a slide show to play continuously, advancing through all the slides without requiring your interaction? a. click set up slide show, and then select the loop continuously until ‘esc' and show without narration options. b. click set up slide show, and then select the loop continuously until ‘esc' and use timings, if present options. c. click set up slide show, and then select the show presenter view and use timings, if present options. d. click set up slide show, and then select the show without animation and browsed at a kiosk (full screen) options.
Answers: 3
question
Computers and Technology, 23.06.2019 08:00
What is a scenario where records stored in a computer frequently need to be checked
Answers: 2
You know the right answer?
The following code simulates the movement of a golf ball in the air after it's been hit. initialVel...
Questions
question
Biology, 25.08.2019 04:30
Questions on the website: 13722367