Answer:
#HERE IS CODE IN PYTHON
#function to find length of shortest and longest string in the array
def fun(list2):
#find length of shortest string
mn=len(min(list2))
#find length of longest string
mx=len(max(list2))
#return both the value
return mn,mx
#array of strings
list2 = ['Ford', 'Volvo', 'BMW', 'MARUTI','TATA']
# call the function
mn,mx=fun(list2)
#print the result
print("shortest length is:",mn)
print("longest length is:",mx)
Explanation:
Create an array of strings.Call the function fun() with array as parameter. Here min() function will find the minimum string among all the strings of array and then len() function will find its length and assign to "mn". Similarly max() will find the largest string and then len() will find its length and assign to "mx". Function fun() will return "mn" & "mx".Then print the length of shortest and longest string.
Output:
shortest length is: 3
longest length is: 5
Network layer protocols specify the <u>packet structure</u> and processing used to carry data between hosts.
<h3>What is the Network layer protocols about?</h3>
The header, payload, as well as the trailer of a network packet are its three component pieces. The underlying network architecture or protocol employed determines the format and size of a network packet. A network packet resembles a package in concept.
Therefore, Network layer protocols define the packet format and processing needed to transfer data from one host to another host, in contrast to the Transmission layer (OSI Layer 4), which controls the data transport between the programs operating on each end computer.
Learn more about Network layer from
brainly.com/question/14476736
#SPJ1
Accenture is a company that was established with the aim of handling electronic waste. They were very much concern about how electronic waste is being disposed and as such they try to create ways to handle it. The e-stewards program was set up with the sole aim of management of electronic waste. its objectives includes;
- Make strategic and better world through well managed recycling solution to all electronic waste (e-waste) issues.
- The program also focus on making sure that electronic waste are been handled properly and they are not dumping of electronic waste in poor countries
- The objective also centers around no export of harmful electronic wastes.
- They also capitalizes on reuse and resale
- They are not only interested in stopping e-waste but to channeled it to repair, republish and re-manufacture
For better understanding, lets explain what E-waste means
- E-Steward objective is centered on managing and handling of electronic waste. It was a project that was birth out of rising concern about electronic waste, especially due to rising concerns that electronic waste generated by rich countries was being shipped off to poor countries.
- Accenture e-steward make sure that electronic waste are well disposed, no more shipping of electronic waste to poor countries and also recycling of electronic waste product.
- E-waste in the above simply means non functional or disposed electronic equipment such as computers, cell phones, television sets, etc.
From the above, we can therefore say that the e-stewards program is concerns about how electronic waste generated by rich countries was being shipped off to poor countries and also the recycling of electronic waste product such as television, computers etc.
Learn more about E-waste from:
brainly.com/question/15391967
Answer:
result = pow(10,5);
Explanation:
A complete code in C++ with the necesary header file for the math class is given below:
#include <iostream>
//import the header file to use the power function
#include<cmath>
using namespace std;
int main()
{
double base = 10.0;
double result;
//Use Power function to raise base to power of 5
result = pow(10,5);
//print out the result
cout<<result;
return 0;
}