Answer:
b) objects are resuable
Explanation:
In OOP there's code reuse where a method or any other body of code is defined once and called or reused severally.
To keep a desktop computer or a server powered up when the electricity goes off in addition to protection against power fluctuations, an <u>uninterruptible power supply (UPS)</u>, which contains a built-in battery, can be used.
<u>Explanation</u>:
An uninterruptible power supply (UPS) is a device that allows a computer or server powered up for a short time, when the electricity goes off. UPS device also provides uninterrupted service during power fluctuation.
A battery is inbuilt in the UPS and provides power for few minutes to the computer to shut down it in a proper manner.
UPS is available at affordable cost and can be maintained at low cost compared to generators.
Since the client requested that her database application be moved to a separate network drive, this an example of: Local network hosted.
In Computers and Technology, cloud computing refers to a type of computing that requires the use of the following shared computing resources over the internet:
- Cloud storage (data storage).
- Software programs (applications).
A hosted software can be defined as a software program (application) that is installed, hosted and accessed by end users (clients) entirely from a remote location, network drive or server.
Read more: brainly.com/question/18369405
Answer:
- def driving_cost(driven_miles, miles_per_gallon, dollars_per_gallon):
- gallon_used = driven_miles / miles_per_gallon
- cost = gallon_used * dollars_per_gallon
- return cost
-
- miles_per_gallon = float(input("Input miles per gallon: "))
- dollars_per_gallon = float(input("Input dollar per gallon: "))
-
- cost1 = driving_cost(10, miles_per_gallon, dollars_per_gallon)
- cost2 = driving_cost(50, miles_per_gallon, dollars_per_gallon)
- cost3 = driving_cost(400, miles_per_gallon, dollars_per_gallon)
-
- print("$ %.2f" % cost1)
- print("$ %.2f" % cost2)
- print("$ %.2f" % cost3)
Explanation:
The solution is written in Python 3.
Firstly, create a function driving_cost that takes three parameters, driven_miles, miles_per_gallon and dollars_per_gallon (Line 1). In the function, calculate the gallon consumption by applying formula driven_miles / miles_per_gallon and then use it to calculate the cost (Line 2 - 3). Return the cost as output (Line 4).
In the main program, prompt user to input miles per gallon and dollars per gallon and then use these input values as arguments to call the function driving_cost function for three times with each time with different driven_miles value (Line 6 - 11).
At last, use formatted print to display the output to two decimal points (Line 13 - 15).
Answer:
E) Encoding.
Explanation:
Communication is important aspect of life.Communication barriers occurs at all stages of communication from when the sender sends the message to the receiver receiving the message. Lack of communication skill in that particular comes in encoding barrier.So we conclude that the answer is Encoding.