Answer:
OS: Operating System
The operating system performs all the basic tasks of any computer or mobile, such as memory management, file management, input and output handling, process management, etc.
Explanation:
Answer:
Program for the above question in python:
mass = float(input("Enter the mass in grams")) # It is used to take the mass as input.
density = float(input("Enter the density grams per cm cube")) # It is used to take the input for the grams.
print("Volume ={:.2f}".format(mass/density)) #It is used to print the Volume.
Output:
- If the user inputs as 2.98 and 3.2, then it will results as 0.92.
Explanation:
- The above code is in python language, in which the first statement is used to take the inputs from the user for the mass and sore it into a mass variable.
- Then the second statement also takes the input from the user and store it into a density variable.
- Then the third statement of the code is used to print the volume up to two places using the above-defined formula.
Answer:
385
Explanation:
There was no question so I simply run the program for you and included the output.
The program seems to calculate: 
Answer:
result=0;
for (i=lo ; i<=hi; i++){
result += i;
}
Explanation:
The question says result was declared but not initialized, so using result without initializing it to 0 would throw an error as result would be undefined and you can't add a number to undefined
Another way to do it to keep everything inside the loop would be
for (i=lo ; i<=hi; i++){
if (i==lo) result= 0;
result += i;
}
but this is impractical since it would add unnecesary operations in each cycle of the loop
It's E) both A and B
A) Control logic is invoked
B) Data flow paths are established