Data Science Unit 3
Data Science Unit 3
. A computer network is a group of computers linked to each other that enables the computer to
communicate with another computer and share their resources, data, and applications.
A computer network is a group of computers linked to each other that enables the computer to
communicate with another computer and share their resources, data, and applications.
A computer network can be categorized by their size. A computer network is mainly of four
types:
Wireless Personal Area Network: Wireless Personal Area Network is developed by simply
using wireless technologies such as WiFi, Bluetooth. It is a low range network.
Wired Personal Area Network: Wired Personal Area Network is created by using the USB.
o Geographical area: A Wide Area Network provides a large geographical area. Suppose if the
branch of our office is in a different city then we can connect with them through WAN. The
internet provides a leased line through which we can connect with another branch.
o Centralized data: In case of WAN network, data is centralized. Therefore, we do not need to buy
the emails, files or back up servers.
o Get updated files: Software companies work on the live server. Therefore, the programmers get
the updated files within seconds.
o Exchange messages: In a WAN network, messages are transmitted fast. The web application like
Facebook, Whatsapp, Skype allows you to communicate with friends.
o Sharing of software and resources: In WAN network, we can share the software and other
resources like a hard drive, RAM.
o Global business: We can do the business over the internet globally.
o High bandwidth: If we use the leased lines for our company then this gives the high bandwidth.
The high bandwidth increases the data transfer rate which in turn increases the productivity of
our company.
o Security issue: A WAN network has more security issues as compared to LAN and MAN network
as all the technologies are combined together that creates the security problem.
o Needs Firewall & antivirus software: The data is transferred on the internet which can be
changed or hacked by the hackers, so the firewall needs to be used. Some people can inject the
virus in our system so antivirus is needed to protect from such a virus.
o High Setup cost: An installation cost of the WAN network is high as it involves the purchasing of
routers, switches.
o Troubleshooting problems: It covers a large area so fixing the problem is difficult.
4. Explain various switching techniques?
In large networks, there can be multiple paths from sender to receiver. The switching
technique will decide the best route for data transmission.
Circuit Switching
o Circuit switching is a switching technique establishes a dedicated path between sender
and receiver.
o In the Circuit Switching Technique, once the connection is established then the dedicated
path will remain to exist until the connection is terminated.
o Circuit switching in a network operates in a similar way as the telephone works.
o A complete end-to-end path must exist before the communication takes place.
o In case of circuit switching technique, when any user wants to send the data, voice, video,
a request signal is sent to the receiver then the receiver sends back the acknowledgment
to ensure the availability of the dedicated path. After receiving the acknowledgment,
dedicated path transfers the data.
o Circuit switching is used in public telephone network. It is used for voice transmission.
o Fixed data can be transferred at a time in circuit switching technology.
o Circuit establishment
o Data transfer
o Circuit Disconnect
o Once the dedicated path is established, the only delay occurs in the speed of data
transmission.
o It takes a long time to establish a connection approx 10 seconds during which no data
can be transmitted.
o It is more expensive than other switching techniques as a dedicated path is required for
each connection.
o It is inefficient to use because once the path is established and no data is transferred,
then the capacity of the path is wasted.
o In this case, the connection is dedicated therefore no other data can be transferred even
if the channel is free.
Message Switching
o Message Switching is a switching technique in which a message is transferred as a
complete unit and routed through intermediate nodes at which it is stored and
forwarded.
o In Message Switching technique, there is no establishment of a dedicated path between
the sender and receiver.
o The destination address is appended to the message. Message Switching provides a
dynamic routing as the message is routed through the intermediate nodes based on the
information available in the message.
o Message switches are programmed in such a way so that they can provide the most
efficient routes.
o Each and every node stores the entire message and then forward it to the next node. This
type of network is known as store and forward network.
o Message switching treats each message as an independent entity.
o The message switches must be equipped with sufficient storage to enable them to store
the messages until the message is forwarded.
o The Long delay can occur due to the storing and forwarding facility
Packet Switching
o The packet switching is a switching technique in which the message is sent in one go, but
it is divided into smaller pieces, and they are sent individually.
o The message splits into smaller pieces known as packets and packets are given a unique
number to identify their order at the receiving end.
o Every packet contains some information in its headers such as source address,
destination address and sequence number.
o Packets will travel across the network, taking the shortest path as possible.
o All the packets are reassembled at the receiving end in correct order.
o If any packet is missing or corrupted, then the message will be sent to resend the
message.
o If the correct order of the packets is reached, then the acknowledgment message will be
sent.
Types of packet switching techniques
An operating system is a program that acts as an interface between the user and the
computer hardware and controls the execution of all kinds of programs. It is system software
that manages computer hardware, software resources, and provides common services for
computer programs.
Functions of Operation System
The operating system performs the following functions
Instruction: The operating system establishes a mutual understanding between the various
instructions given by the user.
Input/output Management: What output will come from the input given by the user, the
operating system runs this program. This management involves coordinating various input and
output devices.
Memory Management: The operating system handles the responsibility of storing any data,
system programs, and user programs in memory. This function of the operating system is called
memory management.
File Management: The operating system is helpful in making changes in the stored files and in
replacing them. It also plays an important role in transferring various files to a device.
Processor Management: The processor is the execution of a program that accomplishes the
specified work in that program. It can be defined as an execution unit where a program runs.
Job Priority: The work of job priority is creation and promotion. It determines what action
should be done first in a computer system.
Scheduling of resources and jobs: The operating system prepares the list of tasks to be
performed for the device of the computer system. The operating system decides which device
to use for which task. This action becomes complicated when multiple tasks are to be performed
simultaneously in a computer system. The scheduling programs of the operating system
determine the order in which tasks are completed. It performs these tasks based on the priority
of performing the tasks given by the user. It makes the tasks available based on the priority of
the device.
Security: Computer security is a very important aspect of any operating system. The reliability
of an operating system is determined by how much better security it provides us. Modern
operating systems use a firewall for security. A firewall is a security system that monitors every
activity happening in the computer and blocks that activity in case of any threat.
Job accounting: It keeps track of time & resources used by various jobs and users.