The answer is False because that would still be considered as plagiarism.
The time that it takes the computer to receive acknowledgment for a packet is 0.1667 seconds. The time it takes to send out a packet is 4 x 10⁻³seconds
<h3>1 The acknowledgment time for the packet</h3>
speed = 2.4x108m/s
Distance = 40000 km,
Time = distance/ speed
= 40000 x10³/ 2.4x10⁸m/s
= 0.1667
The time that it take is 0.1667 seconds.
b. Number of bytes = 5000
5000x 8 = 40000bits
10 mbps = 10000 kbps
10000 kbps = 10000000
packet size / bit rate = 40000/10000000
= 4 x 10⁻³seconds to send a packet out
Read more on computer bandwith here: brainly.com/question/27020560
Answer:
Using c++
Explanation:
#include<iostream>
using namespace std;
int main() {
int num;
cout<<"ENTER THE NUMBER OF THE MONTH"<<endl;
cin>>num;
if(num<=1) {
cout<<"The first month is January and it has 31 days";
}
else if(num<=2) {
cout<<"The second month is February and it has 28 days";
}
else if(num<=3) {
cout<<"The third month is March and it has 31 days";
}
return 0;
}
For the remaining months all you need to do is follow these steps.
Answer:
count_p = 0
count_n = 0
total = 0
while True:
number = int(input("Enter an integer, the input ends if it is 0: "))
if number == 0:
break
else:
total += number
if number > 0:
count_p += 1
elif number < 0:
count_n += 1
print("The number of positives is: " + str(count_p))
print("The number of negatives is: " + str(count_n))
print("The total is: " + str(total))
print("The average is: " + str(total / (count_p + count_n)))
Explanation:
Initialize the variables, count_p represens the number of positives, count_n represents the number of negatives, and total represents the total of the numbers
Create a while loop iterates until the user enters 0. If the number is not 0, then add it to the total. If the number is greater than 0, increase count_p by 1. If the number is smaller than 0, increase count_n by 1.
When the loop is done, print the count_p, count_n, total, and average