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 15:30
Melissa needs to add a topic to an email that she will send to her teacher. choose the name of the field where she should type her topic.
Answers: 2
question
Computers and Technology, 22.06.2019 23:00
In which part of a professional email should you try to be brief, but highly descriptive?
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
What provides an array of buttons for quick access to commonly used commands and tools
Answers: 1
question
Computers and Technology, 23.06.2019 19:50
Which feature is selected to practice and save the timing of a presentation
Answers: 1
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
Mathematics, 20.08.2019 18:30
question
Physics, 20.08.2019 18:30
Questions on the website: 13722363