M1 Questions and Answers
M1 Questions and Answers
M1 Questions and Answers
Physical Layer:
Modes of communication- Simplex, Half-duplex, and Full duplex
Physical topologies - Mesh, Star, Bus, Ring, Hybrid.
Signal encoding
Transmission media overview- Guided media (twisted pair, coaxial and fiber optic media),
Unguided/wireless media (radio, microwave, and infrared).
Performance indicators - Bandwidth, Throughput, Latency, Queuing time, Bandwidth–
Delay product.
1. What are the different types of transmission technology widely used in computer
networks?
Broadcast Networks
● Broadcast Networks have a single communication channel that is shared by all the
machines on the network.
● Short messages called packets, sent by any machine are received by all the others.
● Address field within a packet specifies the recipient.
● After receiving the packet, the address field is checked.
● If it is intended for itself, it processes the packet, otherwise it is ignored.
Broadcasting
● Broadcast systems allow the possibility of addressing a packet to all destinations by using
special code in the address field.
● When a packet with this code is transmitted, it is received and processed by every machine
on the network. This mode of operation is called Broadcasting.
● Smaller localized networks use broadcasting.
Multicasting
● Some broadcast systems also support transmission to a subset of the machines known as
multicasting.
● One possible scheme is to reserve one bit to indicate multicasting. The remaining n-1 address
bits can hold a group number. When a packet is sent to a certain group,it is delivered to all
machines subscribing to that group.
Point-To-Point Networks
● A point-to-point connection provides a dedicated link between two devices. The entire
capacity of the link is reserved for transmission between those two devices.
● Point-to-point transmission is sometimes called unicasting.
● When you change television channels by infrared remote control,you are establishing a point-
to-point connection.
● Point-to-point networks consist of many connections between individual pairs of machines.
● To go from source to destination, a packet has to visit one or more intermediate machines.
Often multiple routes of different lengths are possible which leads to the role of routing
algorithm for route selection.
● Large networks use point-to-point networks.
2. How computer networks are categorized based on transmission technology and scale?
Explain the features of each network.
PAN
● Personal Area Networks are meant for one person.
● This type of network can be wired or wireless.
● It is the smallest and most basic type of network.
● Eg: a wireless network connecting a computer with its mouse,keyboard and printer.
LAN
● These are privately owned networks.
● Inter-processor distance is 10m to 1km.
● LANs are restricted in size.
● LANs may use a transmission technology consisting of a cable to which all the machines are
attached,like the telephone lines used in rural areas.
● IEEE 802.3 popularly called Ethernet.
MAN
● Metropolitan Area Network covers a city.
● The Geographical area covered by MAN is larger than LAN but Smaller than WAN.
● MAN delivers fast and effective communication by using a high speed carrier eg: fiber optic
cables.
● The best-known example of a MAN is the cable television network available in many cities.
WAN
● Wide Area Network spans a large geographical area, often a country or continent.
● Best example of WAN is the internet.
● The Internet is considered as the largest WAN in the world.
● It contains a collection of machines called hosts intended for running user programs. The
hosts are owned by customers.
● The hosts are connected by a communication subnet which is owned and operated by a
telephone company or Internet Service Provider.
● The job of the subnet is to carry messages from host to host.
INTERNETWORKS
● A collection of interconnected networks is called an internetwork or internet.
● A common form of internet is a collection of LANs connected by a WAN.
● An internetwork is formed when distinct networks are interconnected.
● Advantages:
○ Improved availability
○ Improved dataflow
○ Increased reach
○ Access to knowledge
3. What is the TCP/IP reference model? What are the different layers of TCP/IP reference
model
1) Host-To-Network Layer
● Host-to-network layer is equivalent to the combination of the physical and data link layers.
● At the physical and data link layer, TCP/IP does not define any specific protocol. It supports
all the standard and proprietary protocols.
● A network in a TCP/IP internetwork can be a local-area network or a wide-area network.
2) Internet Layer
● TCP/IP supports the Internetworking Protocol.
● The job of the internet layer is to deliver IP packets where they are supposed to go.
● Packet routing & avoiding congestion are the major issues here.
● IP uses four supporting protocols:
○ ARP
○ RARP
○ ICMP
○ IGMP
3) Transport Layer
● Transport layer was represented in TCP/IP by two protocols: TCP and UDP.
● UDP and TCP are transport level protocols responsible for delivery of a message from a
process (running program) to another process.
4) Application Layer
● The application layer in TCP/IP is equivalent to the combined session, presentation, and
application layers in the OSI model.
● This layer provides services to users
● Many protocols are defined at this layer –
○ File Transfer (FTP)
○ Simple Mail Transfer Protocol(SMTP)
○ Domain Name System (DNS)
○ Terminal network (TELNET)
○ Hyper Text Transfer Protocol (HTTP) etc
4. Draw ISO OSI reference model and explain the functionalities of each layer in the model.
Where
APDU-Application Protocol Data Unit
PPDU-Presentation Protocol Data Unit
SPDU-Session Protocol Data Unit
TPDU-Transport Protocol Data Unit
1) Physical Layer
● The physical layer is concerned with transmitting raw bits over a communication channel.
● Functions:
○ Line Configuration:Defines the way in which two or more devices can be connected
physically.
○ Data Transmission:Defines the transmission mode between the two devices on the
network;
○ Topology:Determines the way in which network devices are arranged.
○ Signals:Determine the type of signal that is used for transmitting information.
3) Network Layer
● The network layer is responsible for the delivery of individual packets from the source host
to the destination host.
● It determines the physical path that data takes on the basis of network conditions,priority of
service and other factors.
● Functions:
○ Source-to-Destination delivery: Transfers packet from the source to its destination.
○ Logical addressing: Adds the source and destination address in the header.
○ Routing: Selects the optimal path out of the multiple paths so that a packet can flow.
○ Address Transformation: Interprets the logical address.
○ Multiplexing: Utilizes one physical line for transferring data between several devices
at a time.
4) Transport Layer
● The transport layer is responsible for process-to-process delivery of the entire message
● The transport layer is responsible for the delivery of a message from one process to another .
A process is an application program running on a host.
● Functions:
○ Service-point Addressing: Transport layer includes port address in the header. Using
these port addresses ,the transport layer delivers the packets to the correct process.
○ End-End Message Delivery: Ensures that the entire message is transmitted to the
destination.
○ Segmentation and Reassembly: Divides each message into segments and assigns a
sequence number to these segments which helps to reassemble the message if some
error occurs.
○ Connection Control: Decides whether all packets will be sent using a single path or
not.
5) Session Layer
6) Presentation Layer
● The presentation layer is concerned with the syntax and semantics of the information
exchanged between two systems.
● Different computers use different encoding systems, the presentation layer is responsible for
interoperability between these different encoding methods.
● Functions:
○ Translation: The presentation layer at the sender changes the information from its
sender dependent format into a common format. The presentation layer at the
receiving machine changes the common format into its receiver-dependent format.
○ Encryption: Ensures security by using different algorithms for coding,passwords and
log-in-codes.
○ Data Compression: Provides efficiency while transmitting data.
7) Application Layer
Modes of communication
Simplex:
● Communication is unidirectional.
● Only one of the two devices on a link can transmit the data; the other can only receive it.
● The simplex mode can use the entire capacity of the channel to send data in one direction.
● Eg : Keyboards and traditional monitors.
Half-duplex:
● Each station can both transmit and receive data, but not at the same time.
● When one device is sending, the other can only receive,and vice versa.
● Eg: Walkie-talkies and CB (citizens band) radios.
Full-duplex:
● Both stations can transmit and receive data simultaneously.
● Signals going in one direction share the capacity of the link.
● The full-duplex mode is used when communication in both directions is required all the time
● This sharing can occur in two ways:
○ Either the link must contain two physically separate transmission paths, one for
sending and the other for receiving
○ Or the capacity of the channel is divided between signals traveling in both directions.
● Eg: telephone network.
Network Topologies
1) Mesh Topology
● In Mesh topology, every node has a dedicated point-to- point link with every other node.
● A fully connected mesh with n nodes will have n(n-1)/2 links.
● Eg: Connection of Telephone regional offices.
Advantages:
○ Eliminates traffic problem
○ Robust
○ Privacy or security
○ Easy fault identification
Disadvantages:
○ More cabling and I/O ports.
○ Expensive
2) Star Topology
● In star topology, each device has a dedicated point to point link with the central hub.
● The devices are not directly linked to one another.
● Controller acts as an exchange.
● Used in High speed LAN.
Advantages:
○ Less expensive than a mesh topology.
○ Easy to install and reconfigure.
○ Less cabling needs to be housed,
○ Robustness - If one link fails, only that link is affected. All other links remain active.
○ Easy fault identification
Disadvantages:
○ If the hub goes down, the whole system is dead.
3) Bus Topology
4) Ring Topology
● In Ring topology, each device has a dedicated point to point link with its immediate
neighbors.
● Signal is passed along only one direction.
● IEEE 802.5 Token Ring.
Ring Network:
○ Devices act as repeaters to boost the signal.
○ The transmission of data takes place by token passing.
○ A token is a special series of bits that contains control information.
○ Possession of the token allows a network device to transmit data to the network.
○ Each network has only one token.
Advantages:
○ Ease of installation and reconfiguration.
○ Easy fault isolation.
○ Easy to add or delete a device.
Disadvantages:
○ Unidirectional traffic
○ Break in the ring can disable the entire network.
5) Hybrid Topology
Transmission media
● A transmission medium can be defined as anything that can carry information from a source
to a destination.
Guided media
● Guided media, which are those that provide a conduit from one device to another, include
twisted-pair cable, coaxial cable, and fiber-optic cable.
1) Twisted-pair cable
● A twisted pair consists of two conductors (normally copper), each with its own plastic
insulation, twisted together.
● One of the wires is used to carry signals to the receiver, and the other is used only as a
ground reference.
● They are used in point to point and point to multipoint communications.
● 2 types: a) Shielded Twisted-Pair Cable (STP)
b) Unshielded Twisted-Pair Cable (UTP)
UTP:
● The most common twisted-pair cable used in communications.
● Very cheap
● Easy to install
● Badly affected by the noise interference.
STP:
● STP cable has a metal foil or braided mesh to cover each pair of insulating conductors. This
is known as metal shield. It reduces the interference of the noise.
● Metal casing improves the quality of cable by preventing the penetration of noise or crosstalk
● It is bulkier
● More expensive
SCET S5 CSA BATCH 2020-25 Page 14
2) Coaxial cable
● Coaxial cable (or coax) carries signals of higher frequency ranges than those in twisted pair
cable.
● Coax has a central core conductor of solid or stranded wire (usually copper) enclosed in an
insulating sheath, which is, in turn, encased in an outer conductor of metal foil, braid, or a
combination of the two.
● The outer metallic wrapping serves both as a shield against noise and as the second
conductor, which completes the circuit.
● This outer conductor is also enclosed in an insulating sheath, and the whole cable is protected
by a plastic cover.
● Costlier than twisted-pair cable but cheaper than optical fiber cables.
● Applications: i) Analog telephone networks
ii) Digital telephone networks
3) Optical fiber
● Optical fiber is a cable that accepts and transports signals in the form of light.
● A fiber-optic cable is made of glass or plastic
● It consist of an inner glass core surrounded by a glass cladding which has lower refractive
index
● Optical fibers use reflection to guide light through a channel.
● It's costlier than other 2 types.
● Fiber-optic cable is often found in backbone networks.
Unguided media
1) Radio waves
● Electromagnetic waves ranging in frequencies between 3 kHz and 1 GHz are normally called
radio waves
● Radio waves are omnidirectional.
● Radio waves, particularly those waves that propagate in the sky mode, can travel long
distances. This makes radio waves a good candidate for long-distance broadcasting such as
AM radio.
● Radio waves, particularly those of low and medium frequencies, can penetrate walls.
● Application: The omnidirectional characteristics of radio waves make them useful for
multicasting, in which there is one sender but many receivers. AM and FM radio, television,
maritime radio, cordless phones, and paging are examples of multicasting.
2) Microwaves
● Electromagnetic waves having frequencies between I and 300 GHz are called microwaves.
● Microwaves are unidirectional.
● When an antenna transmits microwave waves, they can be narrowly focused. This means that
the sending and receiving antennas need to be aligned.
● Very high-frequency microwaves cannot penetrate walls.
● Application: cellular telephones
Satellite networks
Wireless LANs
3) Infrared
● Infrared waves having frequencies from 300 GHz to 400 THz (wavelengths from 1 mm to
770 nm) can be used for short-range communication.
● Infrared waves, having high frequencies, cannot penetrate walls.
● Infrared signals are useless for long-range communication.
● Application: Infrared signals can be used for short-range communication in a closed area
using line-of-sight propagation.
10. What is the propagation time if the distance between the two points is 12,000 km? Assume
the propagation speed to be 2.4 × 10^8 m/s in cable.
11. What are the propagation time and the transmission time for a 2.5-kbyte message (an
email) if the bandwidth of the network is 1 Gbps? Assume that the distance between the sender
and the receiver is 12,000 km and that light travels at 2.4 × 10^8 m/s.
12. What are the propagation time and the transmission time for a 5-Mbyte message (an
image) if the bandwidth of the network is 1 Mbps? Assume that the distance between the
sender and the receiver is 12,000 km and that light travels at 2.4 × 10 8 m/s.