subject

Here is some pseudocode that uses object-oriented programming: Class AlcoholicIngredient Extends Ingredient
Private Real _volume
Private String _name
Private Real _proof
Public Module input()
Call Ingredient. input()
Set _proof = input_real("What proof is " + _name + "? ")
End Module
Public Function Real calc_total_alcohol()
Return _volume * _proof / 200.0
End Function
End Class
Ingredient ingredient = New Ingredient()
Call ingredient. input()
Match each highlighted part of of the pseudocode to the term that describes it.
A. AlcoholicIngredient
B. Ingredient
C. volume
D. calc_total_alcohol
E. ingredient
F. ingredient. inpu
1. method call
2. object
3. method
4. Class name
5. member variable, field, or property
6. Parent class

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 22:00, alowery89
Match the steps of the process to julia's analysis. 1. analyze choices. current costs for making phone calls to foreign countries averages between five and ten cents a minute. 2. determine the goals. julia needs to reduce the cost of telecommunications without reducing her employees' ability to do their jobs. 3. gather data. the corporate computer network will be able to handle the increased traffic that will occur as a result of voip. 4. evaluate the decision. julia will have her it department set up voip in the smallest domestic office. 5. make the decision. julia will have employees document the benefits and problems that result from using the new technology.
Answers: 1
image
Computers and Technology, 23.06.2019 00:30, lm18618
Which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 2
image
Computers and Technology, 23.06.2019 08:30, Bradgarner772
Based on your knowledge of a good network, describe what you think is a perfect network would be. what kind of information and resources could users share on this network. what would the network administrator do? what kind of communication would be used?
Answers: 1
image
Computers and Technology, 23.06.2019 13:00, torresnoemi899
Which of the following statements is false? a. a class can directly inherit from class object. b. if the class you're inheriting from declares instance variables as private, the inherited class can access those instance variables directly. c. a class's instance variables are normally declared private to enforce good software engineering. d. it's often much more efficient to create a class by inheriting from a similar class than to create the class by writing every line of code the new class requires.
Answers: 3
You know the right answer?
Here is some pseudocode that uses object-oriented programming: Class AlcoholicIngredient Extends In...

Questions in other subjects:

Konu
Mathematics, 09.02.2021 18:10
Konu
Mathematics, 09.02.2021 18:10