Unit 1: Basics of Networking - Subjective Questions
ECE128 — Introduction To Iot Networking Protocols • Practice Questions with Detailed Answers
20 questions
Define data communication and explain its fundamental components.
Data communication is the exchange of data between two or more devices through a transmission medium such as a cable, optical fiber, or wireless channel.
The fundamental components are:
- Message: The information being communicated, such as text, audio, video, or sensor readings.
- Sender: The device that generates and transmits the message.
- Receiver: The device that receives and interprets the message.
- Transmission medium: The physical or wireless path through which the message travels.
- Protocol: A set of rules governing communication between devices.
Effective data communication depends on delivery, accuracy, timeliness, and low jitter. Delivery ensures that data reaches the correct destination, while accuracy ensures that it arrives without errors. Timeliness and low jitter are especially important for real-time applications such as voice and video communication.
Explain the different modes of data communication based on the direction of data flow.
Data communication can be classified into three modes:
- Simplex: Communication takes place in only one direction. One device always acts as the sender, and the other always acts as the receiver. Examples include a keyboard sending input to a computer and a traditional television broadcast.
- Half-duplex: Both devices can send and receive data, but not at the same time. Communication occurs alternately in each direction. Walkie-talkies are a common example.
- Full-duplex: Both devices can transmit and receive data simultaneously. Telephone conversations and modern switched Ethernet networks use this mode.
Full-duplex communication provides better channel utilization and performance, but it may require more complex hardware or separate logical channels for simultaneous transmission.
What is a communication network? Describe its major performance and reliability criteria.
A communication network is a collection of interconnected devices that exchange data and share resources through wired or wireless links.
Its major evaluation criteria include:
- Performance: Measured using bandwidth, throughput, latency, response time, and jitter. Performance depends on the number of users, transmission medium, hardware, and protocol efficiency.
- Reliability: Indicates how consistently the network operates. It is evaluated using failure frequency, recovery time, fault tolerance, and data integrity.
- Security: Protects network resources and data against unauthorized access, modification, disclosure, and service disruption.
- Scalability: Describes the ability of the network to support additional devices and traffic without unacceptable performance degradation.
- Availability: Represents the proportion of time for which network services remain operational and accessible.
A suitable network design balances these criteria according to application requirements.
Define a network protocol and explain the key elements of a protocol.
A network protocol is an agreed set of rules that determines how data is formatted, transmitted, received, and interpreted by communicating devices.
The three key elements of a protocol are:
- Syntax: Defines the structure and format of data, including field order, field size, and encoding.
- Semantics: Defines the meaning of each field and specifies the actions to be taken when particular values are received.
- Timing: Defines when data should be transmitted, the transmission rate, sequencing requirements, and synchronization between devices.
Protocols may also provide addressing, routing, error control, flow control, congestion control, and security. Examples include Ethernet, Wi-Fi, IP, TCP, UDP, HTTP, MQTT, and CoAP. Interoperability is possible only when communicating devices implement compatible protocols.
Explain protocol architecture and discuss why networking functions are organized into layers.
Protocol architecture is a structured arrangement of protocols in which communication tasks are divided among multiple layers. Each layer performs a defined set of functions, provides services to the layer above it, and uses services from the layer below it.
Layering is useful because it provides:
- Modularity: Complex communication functions are divided into manageable parts.
- Interoperability: Standard layer interfaces allow equipment from different vendors to communicate.
- Independent development: A protocol at one layer can be improved without redesigning the entire network.
- Simplified troubleshooting: Problems can be isolated to a specific layer.
- Reusability: The same lower-layer protocols can support many applications.
- Abstraction: Applications can communicate without knowing the physical details of transmission.
During transmission, each layer adds control information through encapsulation. At the receiver, layers remove and interpret this information through decapsulation.
Describe the major transmission impairments that affect a communication signal.
A transmitted signal may be altered before reaching the receiver because of the following impairments:
- Attenuation: The signal loses strength as it travels through a medium. Amplifiers or repeaters may be used to compensate for this loss.
- Distortion: Different frequency components of a signal experience different delays or attenuation, changing the signal shape.
- Noise: Unwanted energy becomes mixed with the signal. Important types include thermal noise, induced noise, impulse noise, and crosstalk.
- Interference: Signals from nearby transmitters or electrical equipment disrupt the intended signal.
- Multipath fading: In wireless networks, reflected copies of a signal arrive through different paths and may reinforce or cancel one another.
Signal quality is commonly represented by the signal-to-noise ratio:
A higher SNR generally permits more reliable communication and a lower bit error rate.
Explain attenuation and derive the expression used to represent attenuation in decibels.
Attenuation is the reduction in signal power as the signal propagates through a transmission medium. It occurs because part of the signal energy is absorbed, scattered, or radiated by the medium.
If is the input power and is the output power, the power gain in decibels is:
For a lossy channel, , so the gain is negative. Attenuation may instead be stated as a positive loss:
For voltage measurements with equal impedances, the corresponding expression is:
Repeaters, amplifiers, directional antennas, and appropriate modulation methods can be used to overcome attenuation. Excessive amplification must be avoided because an amplifier also amplifies channel noise.
Describe the seven layers of the OSI reference model and state the main function of each layer.
The OSI model divides network communication into seven layers:
- Physical layer: Transmits raw bits through a physical medium and defines signaling, connectors, frequencies, and data rates.
- Data link layer: Organizes bits into frames and performs local addressing, medium access, error detection, and link-level flow control.
- Network layer: Provides logical addressing, routing, packet forwarding, and path selection across multiple networks.
- Transport layer: Provides end-to-end process communication, segmentation, reassembly, reliability, flow control, and error recovery.
- Session layer: Establishes, manages, synchronizes, and terminates communication sessions.
- Presentation layer: Handles data translation, character encoding, compression, and encryption.
- Application layer: Provides network services directly to user applications, such as web, email, file-transfer, and messaging services.
The OSI model is mainly a conceptual framework. It helps standardize network functions and makes protocol design, learning, and troubleshooting more systematic.
Explain encapsulation and decapsulation in a layered network architecture.
Encapsulation is the process by which each protocol layer adds its own control information to data received from the layer above.
At the sender:
- The application creates the original data.
- The transport layer adds a transport header to form a segment or datagram.
- The network layer adds an IP header to form a packet.
- The data link layer adds a header and trailer to form a frame.
- The physical layer converts the frame into signals or bits for transmission.
At the receiver, decapsulation takes place in reverse order. Each layer examines and removes the information intended for it, validates relevant fields, and passes the remaining data upward.
Encapsulation allows each layer to perform an independent function. For example, the transport header identifies application processes, the IP header identifies source and destination hosts, and the frame header identifies devices on the local link.
Classify networks as PAN, LAN, MAN, and WAN, and distinguish them using coverage and typical applications.
Networks can be classified according to their geographical coverage:
- Personal Area Network (PAN): Covers a very short range around an individual. Bluetooth connections among phones, wearable devices, and sensors are examples.
- Local Area Network (LAN): Covers a room, building, office, laboratory, or campus section. Ethernet and Wi-Fi are commonly used in LANs.
- Metropolitan Area Network (MAN): Covers a city or large metropolitan region. It may interconnect organizational LANs through high-speed fiber or wireless links.
- Wide Area Network (WAN): Covers countries, continents, or the entire world. WANs use leased lines, optical backbones, cellular systems, microwave links, or satellite communication.
As coverage increases, ownership often shifts from individuals or organizations to service providers. Propagation delay, routing complexity, cost, and exposure to security threats also generally increase. The Internet is the largest example of interconnected WANs.
Compare the client-server and peer-to-peer network models.
The client-server model uses dedicated or logically centralized servers to provide services to client devices. The peer-to-peer model allows devices to communicate and share resources directly.
Client-server model:
- Centralized authentication, data management, and access control
- Easier backup, monitoring, and administration
- Suitable for web services, databases, cloud platforms, and enterprise IoT systems
- May suffer from server bottlenecks or a single point of failure unless redundancy is provided
Peer-to-peer model:
- Each node may act as both a client and a server
- Resources and control can be distributed among nodes
- Can reduce dependence on central infrastructure
- More difficult to manage, secure, and maintain consistently
IoT systems may combine both models. Sensor nodes can communicate locally as peers while gateways and cloud servers provide centralized storage, analytics, and device management.
Distinguish between circuit switching, message switching, and packet switching.
Circuit switching, message switching, and packet switching differ in how network resources and data are handled.
- Circuit switching: A dedicated end-to-end communication path is established before data transfer. It offers predictable performance but can waste capacity during idle periods.
- Message switching: The complete message is stored and forwarded from one intermediate node to another. It does not reserve a path, but large messages require significant storage and can experience high delay.
- Packet switching: A message is divided into smaller packets. Packets are stored and forwarded independently or along a virtual path. Network links can be shared efficiently among many users.
Packet switching is used by the Internet because it supports bursty traffic, scalability, and efficient resource sharing. However, packets may experience variable delay, loss, duplication, or reordering, so higher-layer protocols may be needed to provide reliability.
Explain the meaning of local and global connectivity in computer and IoT networks.
Local connectivity refers to communication among devices within a limited network or physical area. Devices commonly use Ethernet, Wi-Fi, Bluetooth, Zigbee, or other short-range technologies. Local communication may continue even when Internet access is unavailable.
Global connectivity enables devices to exchange data across multiple interconnected networks, usually through the Internet. It depends on globally routable addressing, routers, service providers, gateways, and application services.
In an IoT system:
- Sensors may communicate locally with a gateway.
- The gateway aggregates or translates sensor data.
- IP routing provides connectivity to remote servers or cloud platforms.
- Applications allow users to monitor and control devices from remote locations.
Global connectivity offers remote access and large-scale integration, but it also introduces latency, privacy, security, addressing, and availability concerns. Gateways, firewalls, encryption, authentication, and access-control mechanisms are therefore important.
Introduce wireless communication networks and explain their principal characteristics.
A wireless communication network transfers information through electromagnetic waves instead of guided cables. Depending on the technology, it may use radio, microwave, millimeter-wave, infrared, or satellite frequencies.
Principal characteristics include:
- Mobility: Devices can remain connected while moving within a supported area.
- Flexible deployment: Communication can be established where installing cables is difficult or expensive.
- Shared medium: Multiple devices compete for access to the same radio channel.
- Variable channel quality: Obstacles, distance, weather, interference, and mobility affect signal strength.
- Broadcast nature: Wireless signals can be received beyond the intended physical area, creating security risks.
- Limited energy: Many wireless and IoT devices operate on batteries and require energy-efficient protocols.
Examples include Wi-Fi, Bluetooth, Zigbee, cellular networks, LoRaWAN, RFID, and satellite systems. Technology selection depends on range, data rate, power consumption, cost, capacity, and reliability requirements.
Describe the effects of path loss, interference, fading, and multipath propagation in wireless communication.
Wireless signals are affected by several propagation phenomena:
- Path loss: Signal power decreases as the distance between the transmitter and receiver increases. Walls, vegetation, and other obstacles can add further loss.
- Interference: Signals from other transmitters operating on the same or nearby frequencies reduce reception quality.
- Fading: Received signal strength changes with time, position, frequency, or movement. Large-scale fading is associated with distance and shadowing, while small-scale fading results from multipath effects.
- Multipath propagation: Reflected, diffracted, and scattered copies of the transmitted signal reach the receiver through different paths. These copies arrive with different delays and phases.
The effects include packet errors, reduced range, fluctuating throughput, and temporary loss of connectivity. Mitigation techniques include channel selection, power control, diversity, equalization, directional antennas, error-correcting codes, retransmission, and adaptive modulation.
Describe the layers of the TCP/IP model and identify important protocols operating at each layer.
The TCP/IP model is commonly represented using four layers:
- Application layer: Provides services used by applications and combines the functions associated with the OSI application, presentation, and session layers. Protocols include HTTP, HTTPS, DNS, DHCP, MQTT, CoAP, SMTP, and FTP.
- Transport layer: Provides process-to-process communication. TCP offers connection-oriented reliable delivery, while UDP offers lightweight connectionless delivery.
- Internet layer: Provides logical addressing and routing across interconnected networks. Important protocols include IPv4, IPv6, ICMP, and IPsec.
- Network access layer: Handles framing, physical addressing, medium access, and transmission over a local link. Examples include Ethernet, Wi-Fi, and point-to-point link protocols.
The TCP/IP model forms the practical foundation of the Internet. Its design allows applications to operate across different physical and data-link technologies while using a common IP-based internetwork.
Compare the OSI model with the TCP/IP model.
The OSI and TCP/IP models both use layers to organize communication, but they differ in origin, structure, and practical use.
- Number of layers: OSI has seven layers, whereas the common TCP/IP model has four layers.
- Development: OSI was developed as a general reference model. TCP/IP developed around protocols used in operational networks and the Internet.
- Upper layers: The OSI application, presentation, and session layers are combined into the TCP/IP application layer.
- Transport layer: Both models include a transport layer that supports end-to-end process communication.
- Network layer: The OSI network layer corresponds approximately to the TCP/IP Internet layer.
- Lower layers: The OSI physical and data link layers are usually represented together as the TCP/IP network access layer.
- Adoption: OSI is widely used for conceptual understanding and troubleshooting, while TCP/IP is implemented in real Internet systems.
The mapping is approximate because the boundaries and service definitions of the two models are not identical.
Compare TCP and UDP with reference to reliability, overhead, and suitability for IoT applications.
TCP and UDP are transport-layer protocols with different service characteristics.
TCP:
- Connection-oriented and reliable
- Uses acknowledgements, sequence numbers, retransmissions, flow control, and congestion control
- Preserves byte order and detects missing data
- Has greater protocol overhead and connection-establishment delay
- Suitable for firmware downloads, configuration, web communication, and applications requiring complete delivery
UDP:
- Connectionless and does not guarantee delivery, order, or duplicate suppression
- Has a small header and low processing overhead
- Supports multicast and is suitable for short request-response exchanges
- Commonly used for time-sensitive or resource-constrained communication
- Reliability may be added by the application when required
IoT protocols such as MQTT commonly use TCP, while CoAP commonly uses UDP. The choice depends on energy limits, message size, network quality, latency, and reliability requirements.
Define a Mobile Ad Hoc Network and explain the main features of MANET architecture.
A Mobile Ad Hoc Network (MANET) is a self-configuring wireless network of mobile nodes that operates without fixed access points, base stations, or centralized network infrastructure.
The main architectural features are:
- Infrastructure-less operation: Nodes establish communication dynamically without depending on fixed routers.
- Distributed control: Network management and routing decisions are shared among participating nodes.
- Multi-hop communication: A destination outside direct radio range is reached through intermediate nodes.
- Dynamic topology: Links appear and disappear as nodes move or channel conditions change.
- Cooperative routing: Each node may act as both an end device and a router.
- Resource constraints: Nodes may have limited battery power, processing capability, bandwidth, and memory.
- Variable link quality: Wireless links are affected by fading, interference, and mobility.
MANETs are useful in disaster recovery, military operations, temporary events, vehicular communication, remote monitoring, and locations where fixed infrastructure is unavailable.
Explain routing in MANETs and compare proactive, reactive, and hybrid routing approaches.
Routing in a MANET is challenging because node movement continuously changes the network topology. Routes must be discovered and maintained without relying on centralized infrastructure.
- Proactive routing: Every node maintains routes to other nodes using periodically updated routing tables. Routes are immediately available, but regular updates consume bandwidth and energy. OLSR is an example.
- Reactive routing: A route is discovered only when a node needs to send data. This reduces routine control traffic but introduces route-discovery delay. AODV and DSR are examples.
- Hybrid routing: Combines proactive and reactive methods. Routes to nearby nodes may be maintained proactively, while routes to distant nodes are discovered on demand. ZRP is an example.
A MANET routing protocol must respond to link failures, prevent loops, limit control overhead, and conserve energy. Protocol choice depends on node density, mobility, traffic patterns, network size, and application delay requirements.
Define data communication and explain its fundamental components.
Data communication is the exchange of data between two or more devices through a transmission medium such as a cable, optical fiber, or wireless channel.
The fundamental components are:
- Message: The information being communicated, such as text, audio, video, or sensor readings.
- Sender: The device that generates and transmits the message.
- Receiver: The device that receives and interprets the message.
- Transmission medium: The physical or wireless path through which the message travels.
- Protocol: A set of rules governing communication between devices.
Effective data communication depends on delivery, accuracy, timeliness, and low jitter. Delivery ensures that data reaches the correct destination, while accuracy ensures that it arrives without errors. Timeliness and low jitter are especially important for real-time applications such as voice and video communication.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill. The rest comes out of a student's own pocket: the domain, the storage, and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason. to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it. What it pays for →