Answer: forwarding: move packets from router's input to appropriate router output
routing: determine route taken by packets from source to destination
Explanation:
The network layer refers to where connections take place in the internet communication process by sending packets of data between different networks.
The distinction between the forwarding function and the routing function performed in the network layer is that the forwarding function move packets from the input of the router to the appropriate router output while the routing function:m helps in knowing the routee taken by packets from the source to destination.
Answer: The internet protocol (IP) stack consist of the five layers and their functioning which are as follows:-
- Application layer:- this layer is responsible for the type of service that is operating the system.It uses protocols like SMTP(Simple mail transfer protocol, FTP(file transfer protocol) etc.
- Network layer:-this layer is used for the routing and transmission of the data packets through the routes. The exchange of IP packets is done between the server and the client.
- Transport layer:-It uses the protocols TCP(Transmission control protocol) and UDP(User datagram protocol)for splitting the message and sending it to the recipient's address.
- Data link layer:-it uses the point-to-point protocol for the sending the message from node to node.It also handles the data while inputting and outputting of the physical network.
- Physical layer:-The working is done in a frame in which the the bits present in one node is transferred to other. It is used for defining the physical parameters like cables, etc.
Answer:
RAID 1
Explanation:
RAID 1 is the type of array that duplicates the data on two disks. It will keep the data secure in two disk. That's why this the best possible solution for mentioned case.
Answer:
A. True.
Explanation:
Programming languages are computer based languages used to pass instructions or task that can be interpreted to machine language, which can be understood by the computer system. Low level programming language and high level programming language are the two categories of program languages.
Low level languages use low level commands. They use processor instruction sets and primitive opcodes for their instruction syntax. Example of a low level language is Assembly language.
High level languages are English based and more complex in its compilation.
Answer:
Explanation:
Let's do this in Python, we shall use the package random to generate a random double between 0 and 1. Then we multiply it with 50 and covert to integer to get a random integer between 0 and 50. Place a While function with condition to stop when it's greater than 25
from random import random
attempts = 1
random_int = int(random()*50)
print(random_int)
print("This is attempt " + attempts)
while random_int <= 25:
attempts += 1
random_int = int(random()*50)
print(random_int)
print("This is attempt " + attempts)