Answer:
Data link layer enables the receiving node to send an acknowledgement.
Explanation:
The data link has following function;
1 it send the acknowledgement to the node because for the reliable transmission.
2.Data link layer provides the interface to the network layer.
3.it regulate the flow of data.
4.It control the transmission error.
The important function of data link layer it created packets of the data to send the packets in guarantee manner for giving the acknowledgement to the node that data is received successfully.
import random
def random_number_file_writer(nums):
f = open("random.txt", "w")
i = 0
while i < nums:
f.write(str(random.randint(1,500))+"\n")
i += 1
f.close()
def random_number_file_reader():
f = open("random.txt", "r")
total = 0
count = 0
for x in f.readlines():
total += int(x)
count += 1
print("The total of the numbers is "+str(total))
print("The number of random numbers read from the file is "+str(count))
def main():
random_number_file_writer(int(input("How many random numbers do you want to generate? ")))
random_number_file_reader()
main()
I hope this helps!
Answer:
A). Using a flowchart, show the algorithm for the car collision avoidance system.
Explanation:
The web client that connects to a web server, which is in turn connected to a bi-application server, is reflective of a one-tier architecture.
<h3>What is a website?</h3>
A website is a collection of web pages and related material that is published on at least one server and given a shared domain name.
A one-tier architecture is reflected in the web application that connects to a web server, which is coupled to a bi-application server.
Thus, the web client that connects to a web server, which is in turn connected to a bi-application server, is reflective of a one-tier architecture.
Learn more about the website here:
brainly.com/question/19459381
#SPJ4