1] Write a note on the following :
i) Business application
ii) Home application
1. ans: Accounting and Finance:
Computers are used to maintain accounts, prepare bills,
calculate salary
2. lary, tax, and generate financial reports using software
like Tally and Excel
3. Inventory Management: Stock details available
products, sold items, and new orders are maintained
using computers, which helps in avoiding shortage or
excess stock.
Payroll System:
Employee salary, attendance, bonuses, and deductions are calculated
automatically, saving time and reducing errors.
4. Communication:
Emails, video meetings, and online messaging help
businesses communicate quickly with customers and
suppliers.
5. Data Storage and Analysis:
Large amounts of business data can be stored safely and
analyzed to take better business decisions.
Thus, computers make business work faster, more accurate, and well organized.
ii) Home Applications of Computers
Computers are very useful in homes for education,
entertainment, and daily activities.
1. Education and Online Learning:
Students use computers to attend online classes, prepare
assignments, and search information on the internet.
2. Entertainment:
Computers are used to watch movies, listen to music,
play games, and use social media.
3. Online Shopping and Banking:
People can buy products, pay bills, transfer money, and
recharge phones using computers at home.
4. Communication:
Video calls, emails, and chatting help people stay
connected with family and friends.
5. Personal Work:
Users can write documents, store photos, manage
personal records, and plan schedules.
Therefore, computers make home life easier, faster, and
more comfortable.
2] Design Issues for the Layers (in Computer Networks)
In a layered network architecture (like OSI or TCP/IP model), each
layer is designed to perform specific functions. While designing these
layers, some important issues must be considered. These are called
design issues for the layers.
1. Addressing
Each device and process in the network must be identified uniquely.
So, layers should provide proper addressing methods to identify
sender and receiver (for example: IP address, port number).
2. Error Control
During transmission, data may get corrupted or lost.
Layers must include methods to detect and correct errors using
techniques like acknowledgements and retransmission.
3. Flow Control
If the sender sends data faster than the receiver can handle, data may
be lost.
Flow control ensures that sender does not overwhelm the receiver
by controlling the speed of data transmission.
4. Sequencing
Data is sent in the form of packets and may arrive in different order.
Sequencing ensures that packets are arranged in correct order at
the receiver side.
6. Connection ControlSome communication needs A
before sending data (like phone call), while some do not.
Layers must decide whether to use connection-oriented or
connectionless communication.
6. Routing
Data may pass through many networks and devices.
Routing helps in selecting the best path for data to reach the
destination.
7. MultiplexinG
Many applications may use the network at the same time.
Multiplexing allows multiple data streams to share the same
network link.
4] i) LAN
ii) MAN
Ans: LAN (Local Area Network)
A Local Area Network (L
AN) is a network that connects computers and devices within a small
geographical area such as a home, school, office, or college campus.
Features of LAN:
1. Small Coverage Area :
It covers a limited area like a single building or a group of
nearby buildings.
2. High Speed:
Data transfer speed is very high (usually in Mbps or Gbps).
3. Low Cost:
It is cheaper to install and maintain compared to other networks.
4. Resource Sharing:
Devices like printers, scanners, files, and internet connection
can be shared among users.
5. Better Security:
Since it is limited to a small area, security can be easily
controlled.
Examples:
Computer network in a school or college lab
Office network in a company
Home Wi-Fi network
Thus, LAN is mainly used for fast and secure communication
within a small area.
2) MAN (Metropolitan Area Network)
A Metropolitan Area Network (MAN) is a network that covers a
large area within a city or town and connects multiple LANs
together.
Features of MAN:
1. Large Coverage Area:
It covers an entire city or metropolitan region.
2. Connects Many LANs:
MAN links different LANs located in various parts of a city.
3. Moderate to High Speed:
Speed is lower than LAN but higher than WAN.
4. Higher Cost than LAN:
Installation and maintenance cost is more than LAN.
5. Used by Large Organizations:
It is used by banks, universities, government offices, and cable
TV networks.
5] ) What is meant by network
topology ? Explain any one type
of network
topology.
Ans: Network Topology
Network topology refers to the physical or logical
arrangement of computers, cables, and other devices in a
network.
It shows how the devices are connected to each other and
how data flows between them.
In simple words, network topology is the structure or layout
of a network.
Bus Topology (One Type of Network
Topology)
In Bus topology, all computers are connected to a single
main cable called the backbone.
Data sent by any computer travels along this main cable and is
received by all devices, but only the intended device accepts
it.
Features of Bus Topology:
1. Single Communication Line:
All devices share one main cable for data transmission.
2. Low Cost:
It requires less cable, so it is cheaper to install.
3. Easy to Install:
Simple structure makes it easy to set up small networks.
4. Fault Effect:
If the main cable fails, the entire network stops
working.
5. Performance Issue:
As more computers are added, network speed becomes
slow due to traffic.
Example:
Small office or old computer lab networks used bus topology.
6] Explain the different layers
of tcp reference model
Ans: 1. Application Layer
This is the topmost layer that interacts directly with the user.
Functions:
Provides services to user applications
Supports communication between applications
Handles file transfer, email, web browsing, etc.
Protocols:
HTTP (web)
FTP (file transfer)
SMTP (email)
DNS (domain name service)
Example:
Opening a website or sending an email uses the Application
layer.
2. Transport Layer
This layer is responsible for end-to-end communication
between sender and receiver.
Functions:
Divides data into segments
Ensures reliable delivery (if needed)
Error control and flow control
Uses port numbers to identify applications
Protocols:
TCP (Transmission Control Protocol) – reliable,
connection-oriented
UDP (User Datagram Protocol) – fast, connectionless
Example:
Ensures your message reaches the correct app like browser or
email.
3. Internet Layer
This layer is responsible for sending packets across
networks.
Functions:
Logical addressing using IP address
Packet routing (finding best path)
Packet forwarding
Protocols:
IP (Internet Protocol)
ICMP (error reporting)
ARP (address resolution)
Example:
Finds the path from your computer to the server on the
Internet.
4. Network Access (Host-to-Network) Layer
This is the lowest layer and deals with physical transmission
of data.
Functions:
Converts data into signals
Controls hardware addressing (MAC address)
Handles data transmission over cables or wireless
Technologies:
Ethernet
Wi-Fi
Example:
Sending data through network cable or Wi-Fi.
Unit 2
1] explain flag byte-with byte stuffing
Ans: Flag Byte with Byte Stuffing (Framing
in Data Link Layer)
In the Data Link Layer, data is transmitted in the form of
frames.
To identify the beginning and end of a frame, a special flag
byte is used
🔹 Flag Byte
A specific byte is placed at the start and end of each
4frame.
It acts as a frame delimiter.
🔹 Problem
If the same flag byte appears inside the actual data, the
receiver may wrongly think that the frame has ended.
🔹 Byte Stuffing (Solution)
To avoid confusion:
Whenever the flag byte or escape byte appears in the
data, the sender inserts an extra escape byte (ESC)
before it.
This process is called byte stuffing.
At the receiver side, whenever ESC is found, it is
removed and the next b
yte is treated as data.
🔹 Working Example
Sender side:
Data: A FLAG B
After byte stuffing: A ESC FLAG B
Receiver side:
ESC is removed and original data is restored.
2] explain flag bit with bit
stuffing
Ans: Flag Bit Pattern
A fixed bit pattern is used as a frame delimiter.
Common flag pattern:
👉 01111110
This pattern is added at the beginning and end of
each frame.
🔹 Problem
If the same bit pattern appears inside the data, the
receiver may wrongly treat it as the end of the frame.
🔹 Bit Stuffing (Solution)
To avoid this confusion:
The sender inserts a 0 after every sequence of five
consecutive 1s in the data.
This prevents the accidental formation of the flag
pattern.
At the receiver side, whenever five 1s are
detected, the next stuffed 0 is removed.
🔹 Example