Answer:
Replace the comment with:
(c) double hours = Math.abs (marker1 - marker2) / 60.0;
Explanation:
See attachment for right presentation of question
Analyzing the options:
(a): May return a negative result
This option will return a negative value if marker1 is less than marker2 because it subtracts the absolute value of marker2 from the absolute value marker1.
This literally is not different from marker1 - marker2
(b): Incorrect expression
This divides only marker2 by 60, then subtracts the quotient from marker1. This is not the expected expression.
(c) This option is correct
This correctly calculate the positive difference between marker1 and marker2 and the result is divided by 60.0 (note 60.0 not 60)
(d) & (e) Integer division
When a variable declared as double is divided by an integer variable or value, the result of the computation is not always accurate due to approximation
Answer:
Backup copy
Explanation:
system restore point is called a backup or backup copy of the system, this point keeps the inicial setting or configuration on the software, we usually use this tool when we're having some issues with the software, usually during the installation process of a new software, letting us to save the data and off course with this point created the user could revert the issues or fix the problems occuring in the configuration.
Answer:
The correct code for this question:
g=float(input("Enter your English test grade:")) #take input from user.
#check conditions
if (g>=100 and g<=90):
print ("A")
#g greater then equal to 100 and less then equal to 90.
if (g>=89 and g<=80):
print("B")
#g greater then equal to 89 and less then equal to 80.
if (g>=79 and g<=70):
print("C")
#g greater then equal to 79 and less then equal to 70.
if (g>=69 and g<=65):
print("D")
#g greater then equal to 69 and less then equal to 69.
if(g<=64):
print("F")
#g less then equal to 64.
else:
print ("Not a grade")
#not a grade or fail.
Explanation:
In this program, we use to take a value from the user and check the value from the various conditions. To check all the condition we use if-else statement and AND operator that check to the range to together.
If -else is a conditional operator. In that, If block is used to check the true part and else part takes false value, and AND is a logical operator that check the two range together
Answer:
Check the explanation
Explanation:
When there are situations of obviously misspelled queries, you will have to base the Needs Met rating on the user intent
The reason is that, even when query is misspelled it won’t mean that it is less important. Therefore, the queries should be assigned degree of rating based on the respective priority.
Answer:
True
Explanation:
The ideology of building internal web sites for online social networking among employees is aimed towards productivity.
<em>For example, when an employee is finding a specific job difficult and is connected with someone on the social websites created by the organization, the employee will get help in no time to ensure that the organization achieve maximum productivity.</em>
It will constantly keep each employee informed on the organizations policies, goals and achievements.
However, there are shortcomings of online social networking in the workplace:
- If not properly managed, It might become addictive and will lead to low employee productivity.
- Great intellectual minds might be exposed to negative influences from within the organisation