Answer:
Amount of work that must be inputed to move the stone must be equal to the product of the weight of the stone and the distance through which you intend to move the stone.
This is mathematically expressed as.
Work W = Force(weight) x distance
The unit is in Joules, same as in energy.
The use of loop in java is to run a block of code for a certain number of times.
Answer:
String date = "21/05/2020";
String dayStr = date.substring(0,2);
int day = Integer.parseInt(dayStr);
System.out.println(day);
Explanation:
Create a variable called <em>date</em> which holds the current date
Create a variable called <em>dayStr</em>. Initialize it to the day part of the <em>date</em> using the substring method
Create a variable called <em>day</em>. Parse the <em>dayStr</em> and assign it to the <em>day</em>
Print the <em>day</em>
I do! I know it says high school but I lied :)
Answer and Explanation:
Centralized : Central node in the system gets whole data about the system topology, about the traffic and about different hubs. This at that point transmits this data to the particular switches. The benefit of this is just a single hub is required to keep the data. The hindrance is that if the focal hub goes down the whole system is down, for example single purpose of disappointment.
Distributed: Distributed nodes gets data from its neighboring hubs and afterward takes the choice about what direction to send the parcel. The weakness is that if in the middle of the interim it gets data and sends the parcel something changes then the bundle might be deferred.
Example :
Link State takes Centralized approach
Distance Vector takes Decentralize approach