<span>1.0 Windows was considered an operating environment not an operating system</span><span />
Answer:
D)One big superclass can be used instead of many little classes.
Explanation:
Inheritance could be described as getting new class on another existing class with almost same execution,
inheritance allows codes to be re-used. It should be noted that inheritance bring about the code sharing among class.
The advantages of using inheritance includes but not limited to
✓ Code that is shared between classes needs to be written only once.
✓Similar classes can be made to behave consistently.
✓ Enhancements to a base class will automatically be applied to derived classes.
def print_feet_inch_short(num_feet, num_inches):
#function named print_feet_inch_short takes in two arguments.
print(str(num_feet)+"'",str(num_inches)+"\"")
#output the feet and inch value supplied with the shorthand sign of feet and inch using string concatenation.
num_feet = int(input())
#allows user to specify a feet value and stores it in num_feet
num_inches = int(input())
#allows user to specify an inch value and stores it in num_inch
print_feet_inch_short(num_feet, num_inches)
#calling the function with the number of feets and inches given by user.
Learn more : brainly.com/question/18318709
Answer:
"Waterfall" is the correct answer for the above question.
Explanation:
- The Waterfall model is a model which is the first model recognized by some scientists is used to states some rules to develop the software. It is based on the phases of the SDLC. The SDLC is the collection of phase that is used in software development.
- The waterfall model moves like water moves. It means any next phase starts if the previous phase is completed and the user can not move into previous steps of the model.
- This is also asked by the question. Hence the answer is the waterfall model.
I am not too familiar with the Python language, but the algorithm would be something like this:
1. create a variable for the sums of the number
2. read in how many numbers the user wants to enter (let's call it N)
and then create a for loop:
for N times
read in the next number
increase the sum variable by that number
Hopefully this helps!