Answer:
def volCylinder(r, h):
return 3.14 * r * r * h;
radius = float(input("Enter the radius: "))
height = float(input("Enter the height: "))
print("The volume of the cylinder is: "+ str(volCylinder(radius, height)))
Explanation:
- Inside the function, calculate the volume of the cylinder using the formula and return the result.
- Then, take inputs from the user for radius and height as float numbers
- Call the function and print the result
Answer:
Option B i.e., Update the UEFI firmware.
Explanation:
The user had many periods of using the same machine. He wants to update the processor to increase the existing service period. Later, he tests the paperwork onto the motherboard and buys the best motherboard-supported processor.
While the user starts the machine, though, that makes a noise constantly, nothing is shown on its monitor and it wouldn't start. So, the first step is he will update firmware from UEFI.
Thus, the other options are not correct according to the scenario.
Answer:
Option 2: Sloper is a basic pattern in a garment.
Explanation:
Sloper is a building block of each patterns like stem cell is the beginning of everything. It is basically a generic pattern based on all the measurements we have.
Now we speaking in terms of computer language, can relate sloper with a function, which is a part of a program. We can alter a function to achieve desired and required results. Similarly, a sloper is a main part of the garment containing information about how to alter the garment to fit you perfectly.
So, without sloper we have nothing to design and having sloper means we have everything.