You'll need a helper variable for this, so depending on your programming language, the solution becomes:
int helper;
helper = arr[i];
arr[i] = arr[j];
arr[j] = helper;
Answer:
Explanation:
print(list1)
['C++', 'JAVA', 'ASP.PHP']
[2:-2]
Gets 2 position(C++) to -2 position(ASP.PHP), JAVA is in the Middle
print(list2)
[]
Gets middle of C++(nothing)
print(list3)
['Python', 'JAVA', 'MySQL']
Get first, jump 3, get first...
'get', 'any', 'any', 'get', 'any', 'any', 'get', ...
Answer:
The <u>ARPANET </u>network became functional in 1969, linking scientific and academic researchers across the United States.
Explanation:
ARPA Net is the network that has become functional in 1969 in united States. The basic purpose of this network is to link all the researchers and scientists across united states. The full form of ARPANet is Advanced Research Project Agency Network.
The importance of this network is increase because small chunks of data that are called packets has been proposed for data transmission in the network. The data is divided into small packets and send it over the network, at destination point these packets are combined together and become orignal information.
Answer:
STP mainly uses 5 states in a network, in which some states are replaced in RSTP which improves the time efficiency.
Explanation:
STP mainly uses five states i.e. Learning, Listening, Blocking, Disabling and Forwarding to overcome the problem of collision in a network.
RSTP replaced the three states of STP i.e listening, learning, and blocking by Discarding, which results in the time efficiency as compared to STP.
As STP takes minutes to complete the network inter connectivity, RSTP completes it in seconds.
This is one of the main reason why an administrator want to change to RSTP.
Answer:
Resources
A resource is anything required by a process.
Anything - os as resource manager.
Process - owns the resource.
Required - no resource, no progress; adaptive processes.
Resources - sharable, serially reusable, and consumable.
Explanation:
Resource durability determines how a resource reacts to being used. A reusable resource remains after being used. Disks, networks, CPUs are reusable resources.Oct 9, 201