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

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:00
Suppose you have 9 coins and one of them is heavier than others. other 8 coins weight equally. you are also given a balance. develop and algorithm to determine the heavy coin using only two measurements with the of the balance. clearly write your algorithm in the form of a pseudocode using the similar notation that we have used in the class to represent sorting algorithms
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
People with high self-esteem: accept their strengths and weaknesses. believe that failed experiences are failures of their whole self. feel good about who they are only when they reach total success. need positive external experiences to counteract negative feelings that constantly plague them.
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
When is a chart legend used a. all the time b. whenever you are comparing data that is the same c. whenever you are comparing multiple sets of data d. only for hand-drawn charts
Answers: 2
question
Computers and Technology, 23.06.2019 12:00
Which of these is a benefit of using objects in a powerpoint presentation? a. collaborators can create the external files while you create and edit the slide show. b. you can easily change the theme and design of the presentation. c. you can have older data in the source file while having up-to-date data in the presentation. d. collaborators can easily share the presentation.
Answers: 2
You know the right answer?
Here is some pseudocode that uses object-oriented programming: Class AlcoholicIngredient Extends In...
Questions