Chapter 2: Data Communication and Networking – Class 12 Computer Science Notes
Importantedunotes.com
Back to Computer Notes

Exercise 1: Choose the correct answer.

Select an option to view the correct answer and justification.

1. Which of the following is an example of a public IPv4 address?
a) 192.168.1.1
b) 10.10.10.10
c) 172.16.10.1
d) 203.0.113.10
Correct Answer: d) 203.0.113.10
Justification: 192.168.x.x, 10.x.x.x, and 172.16.x.x-172.31.x.x are all reserved private IP ranges. 203.0.113.10 falls outside these reserved ranges, making it a public address.
2. Which of the following IP address is wrong?
a) 192.168.0.1
b) 127.11.1
c) 256.2.5.76
d) 10.144.1.0
Correct Answer: c) 256.2.5.76
Justification: Each octet of an IPv4 address must be between 0 and 255. Since 256 exceeds this limit, the address is invalid.
3. Which of the following is a device that connects two or more networks and can filter and forward network traffic based on its destination address?
a) Switch
b) Hub
c) Router
d) Modem
Correct Answer: c) Router
Justification: A router connects multiple networks together and forwards data packets based on destination IP addresses, unlike hubs and switches which typically operate within a single network.
4. A collection of hyperlinked documents on the internet is called:
a) HTML
b) WWW
c) Webpage
d) Email system
Correct Answer: b) WWW
Justification: The World Wide Web (WWW) is the system of interlinked hypertext documents accessed via the internet.
5. Which of the following IPv4 address is valid?
a) 192.168.1.1
b) 000.33.000
c) 257.2.5.1
d) 202.70.71.262
Correct Answer: a) 192.168.1.1
Justification: All four octets are within the valid 0-255 range and there are exactly four octets, making it a properly formatted IPv4 address.
6. Coaxial Cable is an example of:
a) Communication software
b) Guided Transmission media
c) Unguided Transmission media
d) All of them
Correct Answer: b) Guided Transmission media
Justification: Coaxial cable is a physical, wired medium, which classifies it as guided transmission media.
7. In which topology is a computer connected with other two computers in circular form?
a) Star
b) Ring
c) Bus
d) Hybrid
Correct Answer: b) Ring
Justification: In ring topology, each node connects to exactly two neighboring nodes, forming a closed circular loop.
8. Which is the default subnet mask for the class C IP address?
a) 255.0.0.0
b) 255.255.0.0
c) 255.255.255.0
d) 255.255.255.255
Correct Answer: c) 255.255.255.0
Justification: Class C networks use the first 24 bits for the network portion, leaving the last octet for hosts, giving a default subnet mask of 255.255.255.0.
9. What does “MAC” stand for in MAC Address?
a) Mandatory Access Control
b) Media Access Control
c) Micro Access Control
d) Media Access Certificate
Correct Answer: b) Media Access Control
Justification: A MAC address is a hardware identifier assigned to a network interface, standing for Media Access Control.
10. ___ refers to the sending, receiving and processing of information by electronic means.
a) Computer
b) Communication
c) Software
d) Program
Correct Answer: b) Communication
Justification: Communication is defined as the electronic sending, receiving, and processing of information between devices.
11. Which refers to the Communication media?
a) UTP Cable
b) Satellite
c) Fiber optic cable
d) All of the above
Correct Answer: d) All of the above
Justification: UTP cable, satellite, and fiber optic cable are all valid types of communication (transmission) media — guided or unguided.
12. Which one is not a network topology?
a) Star
b) Ring
c) Client server
d) Bus
Correct Answer: c) Client server
Justification: Client-server is a network architecture/model describing how devices interact, not a physical layout (topology) like star, ring, or bus.
13. Which is not a guided media?
a) UTP Cable
b) STP Cable
c) Satellite
d) Fiber optic
Correct Answer: c) Satellite
Justification: Satellite communication is wireless (unguided media), unlike UTP, STP, and fiber optic cables, which are all physical, guided media.
14. Which device is necessary to operate the internet?
a) CD-ROM
b) Modem
c) All of the above
Correct Answer: b) Modem
Justification: A modem converts signals from an ISP into a digital signal usable by connected devices, making it essential for internet connectivity. A CD-ROM has no role in this process.

Exercise 2: Write short answers to these questions.

1. Describe the class C IP address with an example.
The first 3 bits of a class C address are always 110 (one, one, and zero). An example of a class C IP address is 201.1.10.213. The first three octets identify the network number assigned by ARIN. The internal administrators of the network assign the remaining 8 bits. An easy way to recognize whether a device is part of a class C network is to look at the first octet of its IP address. Class C IP addresses always have values ranging from 192 to 223 in their first octet. All class C IP addresses use the first 24 bits to identify the network part of the address; only the last octet of a class C IP address can be used for the host portion of the address.

2. Compare the star and ring topology with its features.
Star TopologyRing Topology
Connection Style: Connected to a central hub or switch.Connection Style: Circular, devices connected in a closed loop.
Data Flow: Centralized (all data passes through the central hub).Data Flow: Unidirectional (data travels around the ring).
Reliability: Predictable but vulnerable if the central hub fails. One device failure doesn’t disrupt the network.Reliability: Highly reliable, but one failure can disrupt the entire ring.
Dependency: Heavily dependent on the central hub.Dependency: Moderate dependency on the entire ring.
Cost & Complexity: Moderate cost, lower cabling complexity.Cost & Complexity: Moderate cost, costlier in larger networks.
Applications: Common in Ethernet LANs, home networks, and small to medium-sized businesses.Applications: Suitable for smaller networks where data consistency is crucial.

3. Explain about Coaxial cable and fiber optics cable.
Coaxial cable: Coaxial cable is a type of copper cable specially built with a metal shield and other components engineered to block signal interference. It is primarily used by cable TV companies to connect their satellite antenna facilities to customer homes and businesses. It is also used for computer networks such as Ethernet. Coaxial cable has two wires of copper.
Fiber optics cable: Fiber optic cable is made of high quality thin glass or plastic and is used to transfer digital data signals in the form of light up to distances of thousands of miles. Fiber optic cables are not affected by EMI, so noise and distortion is very less. Fiber optic cables carry communication signals using pulses of light generated by small lasers or light emitting diodes. The cable consists of one or more strands of glass, each only slightly thicker than human hair.

5. What is a computer network? List out hardware equipments to establish the computer network.

A system of interconnected computers that enable the computer to communicate with each other and share their resources, data, and applications and allow communication.

The hardware equipments to establish the computer network are as follow:

Router
Hub
Network Switch
Bridge
Modem
Servers
Security
Clients

6. Differentiate between LAN and WAN.
LANWAN
Philosophy: LAN is a network covering a small geographic area and connecting various end devices.Philosophy: WAN is a network that covers a broad area and used to connect end devices.
Speed: LAN speed is high, up to 100 Mbps, in a few cases up to 1/10 Gbps.Speed: WAN speed is much lower, hundreds of Mbps.
Security: LAN is a more secured network.Security: WAN is a less secured network than LAN.
Cost: LAN is less expensive to setup and operate than WAN.Cost: WAN is more expensive than LAN.
Congestion: LAN is less congested.Congestion: WAN is more congested than LAN.

7. Describe the different types of communication media in the networking.

The different types of communication media in the networking are as follow:

Wired / Guided media.
Wireless / Unguided media.

Wired media: Communication devices are directly connected with each other by using some physical media like wires. It means connectivity between a source and destination using cables or wires. These transmission media consist of wires through which the data is transferred. Guided media is a physical link between transmitter and recipient devices.

Wireless media: The word wireless is ‘having no wires’ in a communication system. A wireless communication system is the fastest growing and also the most vibrant technological area in the communication field. It is a method of information transmitting from the transmitter to the receiver side that is placed over a limited distance.


8. Define network topology? Explain the Ring Topology.

The physical and logical arrangement of nodes and connections in a computer network, which governs how data flows between devices is known as network topology.

A ring topology is a network topology in a closed loop following the concept of peer-to-peer LAN topology. In this topology, each host machine has exactly two neighbors for communication purposes with the help of twisted pair cable and the last computer is connected to the first computer, creating a circular network architecture.


9. Describe the wireless network system. List out devices and equipments necessary for wifi network.

A wireless network enables us to communicate and access applications and information without wires. This provides freedom of movement and the ability to extend applications to different parts of a building, city, or nearly anywhere in the world. Wireless networks allow people to interact with email or browse the internet from a location that they prefer.

The list of devices and equipments necessary for a Wifi network are as follow:

Router
Modem
Access point
Network Switch
Hub
Gateway
Cable
Bridge

11. Differentiate between bounded and unbounded transmission media.
Bounded mediaUnbounded media
The connectivity between a source and destination using cable or wire is called bounded media.The connectivity between a source and destination using wireless is known as unbounded media.
The cost of bounded media is more than unbounded media.The cost of unbounded media is less than bounded media.
It provides direction.It does not provide any direction.
It is less faster growing communication for bounded media.It is more faster growing communication for unbounded media.
It is called wired and guided media.It is called wireless and unguided media.
For ex: Twisted pair cable, Coaxial cable.For ex: Microwave, internet.

12. Differentiate between peer to peer and Client Server network.
Peer to peer NetworkClient Server Network
In peer to peer network, clients and server are not differentiated.In client server network, clients and server are differentiated.
While peer to peer network focuses on connectivity.Client Server Network focuses on information sharing.
Each peer has its own data.Centralized server is used to store the data.
While peer to peer networks are less costlier than client server network.Client Server networks are costlier than peer to peer network.
While peer to peer networks are less stable if peers increase.Client server networks are more stable than peer to peer network.

13. What is transmission media? Write advantages of optical fiber cables.

The physical medium through which data is transmitted from one device to another within a network is called transmission media.

The advantages of optical fiber cables are as follow:

Fiber optic cables have a much higher bandwidth than metal cables, this means that they can carry more data.
Smaller size and light weight.
Low attenuation (signals carrying data can travel long distance without weakenings).
Not affected by electromagnetic interference.
Used for broadband transmission.
More secure.

15. What are the functions of router and switch?

A router receives and sends data on computer networks. Routers are sometimes confused with network hubs, modems, or network switches. However, routers can combine the functions of these components, and connect with these devices to improve internet access or help create business networks.

Switches are essential components of every network. They link several devices on the same network within a premises, such as PCs, printers, wireless access points, and servers. A switch allows linked devices to transfer data and communicate with one another.


16. Describe the star topology with suitable diagram.

In Star Topology all the computers are connected to a central device known as (Hub or switch) using point to point connection. The central node (Hub or Switch) is the server and other nodes are clients. Nodes are connected with the help of twisted pair, co-axial cable or optical fiber. It is mostly used in LAN because it is easy to maintain and install. It is easy to add or remove nodes in this topology. It also manages the overall data transmission in the network.

Star Topology Diagram

Fig: Star Topology


17. What is fiber optical cable in networking system?

Fiber optics, or optical fiber, refers to the technology that transmits information as light pulses along a glass or plastic fiber. A fiber optic cable can contain a varying number of glass fibers, from a few up to a couple hundred. Another glass layer called cladding surrounds the glass fiber core.

There are 3 parts:

Core
Cladding
Protective coating

18. Explain Unshielded Twisted pair (UTP) cable and Coaxial cable.
Unshielded Twisted pair cable: It is also more common type used. Due to low cost, UTP cable is used in LANs and telephone connections. It consists of 2 or 4 pair of twisted cable. Cable with 2-pair use RJ-11 connector used in connecting telephone units. Cable with 4 pair use RJ-45 connectors used in Ethernet cable in computer networking.
Coaxial cable: Coaxial cable is a type of copper cable specially built with a metal shield and other components engineered to block signal interference. It is primarily used by cable TV companies to connect their satellite antenna facilities to customer homes and business. It is also used for computer network such as Ethernet.

19. Explain peer to peer and Client server network.
Peer to peer network: The “peers” are computer systems which are connected to each other. A peer-to-peer network is a kind of computer network where two or more computer systems are connected together without using a separate server. Computer in this network can be arranged in such a way that they are client and servers.
Client server network: Client server architecture is also called the “Client / server networks” or “Networks computing model”, because in this architecture all services and request are spread over the network. CSN basically consists of two computers, client computer and server computer.

20. Describe Bus topology with suitable diagram.

Bus topology is the simplest type of network. It supports a small number of computers. In this topology, all the computers are connected to a common communication medium central wire called Bus such as twisted pair, co-axial cable by the help of interface connectors. A special device terminator is used at both ends of series to absorb the signals.

In Bus topology, when node A is sending a signal to node B, the signal goes to bus and every node attached to the Bus gets a copy. But only B gets the message and all others simply ignore it.

Bus Topology Diagram

Fig: Bus Topology


22. Explain Bus and star topology with advantage and disadvantage.

A network configuration where all devices are connected to a single communication line, and data is broadcast from one device to another is called Bus topology.

Advantages: a) Only one wire is used, so it is less expensive. b) Easy to use and easy to install. c) Failure of a device/node does not affect the other devices.

Disadvantages: a) Limited computers. b) Little fault tolerance. c) Difficult to detect errors.

A type of network topology in which all the device or nodes are physically connected to a central node such as a router, switch or hub is called Star topology.

Advantages: a) Mistake Tolerance. b) Connecting several sorts of devices. c) Little likelihood of data collisions.

Disadvantages: a) More expensive. b) Critical core failure. c) Needs for more equipment.


23. Define computer network and explain its uses.

A system of interconnected computers that enable the computer to communicate with each other and share their resources, data and applications and allow communication is known as computer network. The uses of computer network are as follow:

Sharing an internet connection among several users.
Sharing application software, printers, and other resources.
Facilitating Voice over IP (VoIP), email, video conferencing / IM, and other communications applications.
Working collaboratively.
Exchanging files among network users and over the internet.
Connecting the computers and entertainment devices located within a home.

24. Describe the ‘simplex’, ‘half duplex’ and ‘full duplex’ with example.
Simplex: The communication is unidirectional (only in one direction). A device can only send data but cannot receive it or it can only receive data but cannot send it. The performance of this mode is low as compared to another modes. The simplex mode can use the entire capacity of the channel to send data in one direction. The most common example is radio station as it transmits the signals to listeners but never allow them to transmit back.
Half-duplex: The communication is bidirectional (both direction but not at same time). The devices can send and receive the data, but one at a time. The performance of this mode is better than simplex mode but less than full duplex mode. The most common example is walkie-talkie.
Full-duplex: The communication is bidirectional. The devices can send and receive the data simultaneously. The performance of this mode is highest as compared to other modes. The most common example is telephone network.

27. What is computer network? Write the advantage and disadvantage of computer network.

A system of interconnected computers that enable the computer to communicate with each other and share their resources, data and applications and allow communication is known as computer network.

Advantages:

Prompt communication.
Sharing information.
Cost-effective.
Increased storage capacity.
Remote login.

Disadvantages:

Security threats.
Virus attacks.
Extreme dependency on a server.
Expert assistance is required.

30. Describe the satellite with an example.
Satellite communication is the technique of conveying data from one place to another using a communication satellite in orbit. Watching your favorite movies or TV shows, like the English Premier League every weekend with your friends, would have been impossible without this. Satellite communication refers to the exchange of information between two or more entities through any medium. It is the process of sending, receiving, and processing the information. If worldwide communication takes place between any two earth stations through a satellite, then it is called satellite communication.

34. Explain any two transmission media with appropriate diagrams.

Transmission medium is the way in which data is transmitted from one place to another. It provides a pathway over which messages can travel from sender to receiver. These pathways are called communication channels.

Transmission Medium Classification:

Wired / Guided Media — Coaxial Cable, Twisted Pair Cable, Fiber Optic Cable
Wireless / Unguided Media — Radio Waves, Micro Waves, Infrared Waves

Wired Media: Communication devices are directly connected with each other by using some physical media like wires. It means connectivity between a source and destination using cables or wires.

Wireless Media: It refers to those channels that transmit data and information in the form of waves. If there are no physical connectors (wires) between the two communicating devices, it is called wireless transmission.


37. What is a local area network / network topologies? Explain different types of topologies with diagrams.

The local area network layout, also known as local area network topology, describes the physical and logical manner in which devices and network segments are interconnected. The different types of LAN topologies are as follows:

1. Bus Topology

Bus topology is the simplest type of network. It supports a small number of computers. In this topology, all the computers are connected to a common communication medium or central wire called a “Bus” (such as a twisted pair or co-axial cable) with the help of interface connectors.

Bus Topology Data Communication and Networking

Fig: Bus Topology

2. Star Topology

In a Star Topology, all the computers are connected to a central device known as a Hub or Switch using a point-to-point connection. The central node (Hub or Switch) acts as the server and other nodes are clients. Nodes are connected to the server with the help of twisted pair or optical fiber cables. It is mostly used in LANs because it is easy to maintain and install.

Star Topology Data Communication and Networking

Fig: Star Topology

3. Ring Topology

A ring topology is a network topology arranged in a closed loop, following the concept of peer-to-peer LAN topology. In this topology, each host machine has exactly two neighbors for communication purposes using a twisted pair cable, and the last computer is connected to the first computer, creating a circular network architecture.

Ring Topology Data Communication and Networking

Fig: Ring Topology

4. Mesh Topology

In a mesh topology, each device is connected to every other device on the network through a dedicated point-to-point link. When we say “dedicated,” it means that the link only carries data for the two connected devices. There are several possible paths from the source to the destination. Mesh topology is mostly used in WANs or the internet. A mesh topology network can be formed using the formula = n(n-1)/2.

Mesh Topology Data Communication and Networking

Fig: Mesh Topology


40. Explain about the OSI / ISO model of networking.

OSI stands for Open Systems Interconnection model. The OSI model was developed by the International Organization for Standardization (ISO) in 1984. It provides a logical framework for the data communication process to interact across networks. The standards were created for the computer industry to allow different networks to work together. The OSI model may also be referred to as the seven-layer OSI model or the seven-layer model.

The seven layers of the OSI model are:

Physical layer
Data link layer
Network layer
Transport layer
Session layer
Presentation layer
Application layer
OSI ISO Model of Networking Data Communication and Networking

Fig: OSI Model – Seven Layers

Detailed explanation of the layers

Physical layer: This layer is used to establish or terminate a connection to a communication medium. It converts the received data into a bit stream.
Data link layer: The data link layer establishes and terminates a connection between two physically connected nodes on a network.
Network layer: The network layer is responsible for data reaching its destination. Logical addressing works on this layer.
Transport layer: The transport layer is responsible for end-to-end connectivity. It is also known as the heart of the OSI layer.
Session layer: This layer establishes, manages, and terminates connections between computers. The session layer creates communication channels, called sessions, between devices.
Presentation layer: This layer deals with the syntax and semantics of data from the application layer. It is responsible for converting data into a standard format.
Application layer: The application layer is responsible for providing networking services to the user.

46. What do you mean by transmission media? Write short notes on UTP Cable.

A communication channel that carries the information from the sender to the receiver is known as transmission media. Data is transmitted through electromagnetic signals. The main functionality of the transmission media is to carry the information in the form of bits through a LAN (Local Area Network).

UTP (Unshielded Twisted Pair): UTP cable is a type of copper cable widely used for networking purposes. UTP cables consist of pairs of insulated wires that are twisted together to reduce interference and crosstalk. They are commonly used in Ethernet networks for transmitting data signals. Cables with 4 pairs use RJ-45 connectors and are used as Ethernet cables in computer networking. It is designed to counter EMI (Electromagnetic Interference), RFI (Radio Frequency Interference), and also crosstalk.


47. What do you mean by topology? What do you understand by the following terms (any two): a) Client server network, b) Workstation, c) Protocol.

Topology refers to the physical or logical arrangement of nodes and connections in a network — how devices and cables are structured and interconnected.

b) Workstation: Workstations are computers that are specifically configured to meet the most demanding technical computing requirements. To be considered a workstation, a system must include key capabilities related to performance, reliability, data integrity, scalability, and expandability.
c) Protocol: In networking, a protocol is a set of rules for formatting and processing data. Network protocols are like a common language for computers. The computers within a network may use vastly different software and hardware; however, the use of protocols enables them to communicate with each other regardless. It is a set of rules that need to be followed by the communicating parties in order to have successful and reliable data communication. For example: Ethernet and HTTP.

Exercise 3: Long Answer Questions & Short Notes

50. How does the star network topology differ from the bus network topology in terms of its architectural methodology in modern computing environments?

A star network topology has a central hub to which all nodes are connected, whereas a bus network topology has a single central cable (the bus) to which all nodes are connected.

In a star topology, data transmission is managed through the central hub, making it easier to isolate faults and manage the network. The star topology utilizes the switch or central hub for broadcasting data and information to all the devices present in a network. On the other hand, the bus topology utilizes just a single cable that connects all the peripheral devices.

A star topology has a high implementation cost because of the central hub and the extra wires required for connection. A bus topology is less expensive than a star topology. Data transmission is faster in a star topology; in a bus topology, the data is transmitted slower as compared to a star topology.

Bus topology is simple to install, usually cheaper than other topologies, and makes it easy to add systems to the network. It is great for small networks, and a single failure (unless it is the central point) won’t bring down the whole network. Star topology is easier to troubleshoot, and fixing issues should be quicker as each device has its own cable. It is also more secure due to this independent cabling structure.


51. Describe the CAT-6 and optical fiber cable features. Which of the cable categories is more suitable to develop a LAN?

Cat-6 cabling consists of four pairs of twisted copper wires, making use of every strand as opposed to its predecessor, Cat-5, although they are similar in composition. This allows Cat-6 to double the speed, facilitating faster networks and meeting modern efficiency expectations. While Cat-6 can support data transfer speeds of up to 10 Gbps, multimode fiber can support much higher speeds of up to 100 Gbps.

Cat-6 Features

Complies with Cat-6 specifications.
4-pair unshielded twisted pair (UTP) cable.
HDPE insulation.
UL-Listed.
Verified compliant with EIA/TIA standards by ETL.

Fiber Optic Cable

Fiber optic cable is made of high-quality thin glass or plastic and is used to transfer digital data signals in the form of light up to a distance of thousands of miles. It uses the concept of the reflection of light through a core made up of glass or plastic.

Features of Fiber Optic Cable:

Small cable diameter.
Produced to industry specification.
Soft buffer tubes.
Color-coded fibers.
Low friction jacket on backbone cables.

It’s challenging to define which cabling is generally better, considering each of their qualities accommodates specific needs. Fiber optics can be seen as better for businesses with a long-term vision for their networks. At the same time, Cat-6 is identified as a more robust solution for smaller workplaces.


52. Compare the star and ring topology with pros and cons. Which data communication cable is more appropriate to design a LAN? Describe.

Star topologies have the benefit of no disruption to service in the event of a failure but require more interfaces than a ring topology. Depending on a number of factors, including speed and the type of fiber used, there may be a cost impact.

Advantages of Star Topology

Scalability.
Little likelihood of data collisions.
Keeps away from point-to-point connections (between clients).
Multiple strategies.

Disadvantages of Star Topology

Needs more equipment.
Mobile device attachment is difficult.
Inadequate data transfer speeds (if hub is overloaded).
Damage-prone cables.

Ring topology offers simplicity, efficient data transfer, reduced network congestion, and cost-effectiveness.

Advantages of Ring Topology

No need for a server.
Easy problem-solving.
Expense saving.

Disadvantages of Ring Topology

High cost.
Equipment connection complexities.
Bandwidth constrictions.

Regardless of the number of computers, the most relevant cable for connecting any computer to a LAN is twisted pair Ethernet. Cat-7 cables feature improved shielding to reduce crosstalk and external interference. It is considered the best Ethernet cable.


Write short notes on: 53. Router
A router forms networks and manages the flow of data within and between those networks, while a modem connects those networks to the internet. Modems forge a connection to the internet by converting signals from an ISP into a digital signal that can be interpreted by any connected device.

Write short notes on: 54. IP address
An Internet Protocol (IP) address is a unique numerical identifier for every device or network that connects to the internet. Typically assigned by an internet service provider (ISP), an IP address is an online device address used for communicating across the internet.

View / Download Full PDF Notes

Also Read: NEB Notes

Scroll to Top