Mobiprep has created last-minute notes for all topics of Computer networks to help you with the revision of concepts for your university examinations. So let’s get started with the lecture notes on Computer networks.
Our team has curated a list of the most important questions asked in universities such as DU, DTU, VIT, SRM, IP, Pune University, Manipal University, and many more. The questions are created from the previous year's question papers of colleges and universities.
Question 1) what are the different network devices used in a computer network?
Answer) The devices which enable communication between the hardware devices in a network are called network devices. The following are the different network devices used in a computer network:
Question 2) What is a router? what are its functions?
Answer) The router is a network device which operates in the network layer. It is used to enable communication between multiple LANs or WANs. The router routes the data packets from the source to destination using the IP address of the devices. The router stores the route from the source to destination in the form of a routing table. The routing table is updated dynamically.
The main functions of a router are:
The router has the ability to flood or broadcast the data packet to all the devices in a network. This process is called flooding. Flooding enables the data to be sent to all the devices in a network in a short span of time.
The process of accepting the data packet on one interface and sending it to another interface is called forwarding. Forwarding is the main function of the router. It is used to send the packets from source to destination through the intermediate nodes.
Packet filtering is a technique in which some data packets are forwarded and the other data packets are not forwarded by the router. The router decides whether the packet must be forwarded or not. This process is called filtering.
For example, an ARP request is not forwarded, instead it is sent back to the source with the MAC address requested by the source.
Question 3) What is a switch?
Answer) A switch is a network device which operates in the data link layer. The switch has multiple ports to which end devices can be connected.
The main function of the switch is to receive the data frames from one of its interfaces, and forwarding them to their appropriate destinations. The switch uses the store and forward technique. i.e.the switch has memory.
The switch maintains a learning table which contains the mapping of IP address to the corresponding MAC address.
If the MAC address of the destination is not known, the switch broadcasts the data packet to all the devices in the network. On receiving the packet, the destination device sends its MAC address as reply to the switch. In this way, the switch learns the MAC address of the devices in the network.
Question 4) What is a hub?
Answer) A hub is a network device which operates in the Physical layer. It functions as a multi-port repeater. It connects multiple devices in a network.
If a device in the network sends a data packet, it is forwarded to all the other devices in the network. Hub cannot send the data packet directly to the destination. Instead, the data is broadcasted to all the devices in the network. The destination device accepts the data packet, and the remaining devices discard the data.
The usage of hub leads to a lot of unnecessary traffic. It is not secure.
Question 5) What is a gateway?
Answer) The gateway is a device which connects two networks together. It acts as a gate between two networks. The gateway can also be used to connect two networks which operate on different protocols. The gateway enables the data flow between the two networks.
The gateway is usually a router, a server or a firewall.
Question 6) what is a MODEM? why is it used?
Answer) MODEM – Modulation and Demodulation
The modem is used to modulate the outgoing signals and demodulate the incoming signals. Modulation involves conversion of digital signals to analog signals. Demodulation involves the conversion of analog signals to digital signals.
The modem is used to provide internet facility to a PC. The modem can be connected only to one end device (PC). The modem is directly connected to the ISP through a dedicated channel (TV cables or telephone lines).