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
That is program ............
Answer:
Connection-oriented is the method which is implemented in the transport and data link layer. It is basically depend upon the physical connection in the network system.
Transmission control protocol (TCP) is the connection oriented and user datagram protocol (UDP) is the connection less network transport layer. The TCP and UDP both are operate in the internet protocol (IP).
It basically require connection and it can be establish before sending data. This is also known as reliable network connection service. The connection oriented service establish connection between the different connection terminal before sending any data or information. It can easily handle traffic efficiently.
CORRECT QUESTION:
For the given program, how many print statements will execute?
public static void printShippingCharge(double weight) { if((weight > 0.0) && (weight <= 10.0)){ System.out.println(weight * 0.75); }
else if((weight > 10.0) && (weight <= 15.0)) { System.out.println(weight * 0.85); }
else if((weight > 15.0) && (weight <= 20.0)) { System.out.println(weight * 0.95); } }
public static void main(String args[]) {
printShippingCharge(18);
printShippingCharge(6);
printShippingCharge(25); }
Answer:
Two of the print statements will output values
Explanation:
These two calls to the printShippingCharge are the ones that will output values: printShippingCharge(18); and printShippingCharge(6);
The first if statement is true when the value of weight is 6 (weight > 0.0) && (weight <= 10.0)
The Third if statement is true when weight is 18 (weight > 15.0) && (weight <= 20.0)
NOTE: That I made correction to the variable weight. The question isn't consistent with the variable name. It used weight and itemWeight at different points this will lead to a compiller error