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, 21.06.2019 19:30
Can you make money in why are you guys so
Answers: 1
question
Computers and Technology, 22.06.2019 14:00
Which database model is best used for data warehouse and data mining
Answers: 3
question
Computers and Technology, 22.06.2019 22:00
Discuss the ways in which electronic information associated with payments is addressed in terms of security. include encryption, secure sockets layers, and secure electronic transactions in your discussion. are there any other ways that consumers and businesses can keep their payment information secure in an electronic commerce environment? do you feel that your information is safe when conducting electronic business? why or why not?
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
Using the list, you can select the number of photos that will appear on each slide. a. theme b. frame shape c. pictures in album d. picture layout
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, 08.03.2021 19:10
question
Mathematics, 08.03.2021 19:10
question
Mathematics, 08.03.2021 19:10
question
Social Studies, 08.03.2021 19:10
question
English, 08.03.2021 19:10
Questions on the website: 13722367