Professional Documents
Culture Documents
CN Unit-1
CN Unit-1
Program:
Course Code:
Course Name:
Lecture No:
Department of Applied Computational Science & Engg.
C ourse Code : Course Name:
Course Outcomes :
Course Prerequisites
Syllabus
• Lecture Objectives
The lecture aims to achieve several objectives, including familiarizing students
with the fundamental concepts and principles of computer networks, providing
insight into various network architectures and protocols, exploring the
functionality of networking devices and their interactions within network
infrastructures, examining common networking challenges and solutions, and
fostering the development of critical thinking and problem-solving skills
applicable to real-world networking scenarios. Through theoretical
explanations, practical demonstrations, and interactive discussions, the lecture
endeavors to equip students with the knowledge and skills necessary to
comprehend, analyze, and design computer networks effectively.
Department of Applied Computational Science & Engg.
Course Code : Course Name:
Lecture Outcomes
• Understand the foundational principles and terminology of computer
networks, including the OSI model, TCP/IP protocol suite, and network
addressing.
• Analyze and compare different network architectures such as LANs, WANs,
and wireless networks, along with their respective advantages and
limitations.
• Evaluate various network protocols and their roles in data communication,
including TCP, UDP, IP, HTTP, and DNS.
• Understand the foundational of network devices such as routers, switches,
and firewalls.
Department of Applied Computational Science & Engg.
Course Code : Course Name:
Recommended Books
Data refers to the raw facts that are collected while information refers to processed data that
enables us to take decisions.
Ex. When result of a particular test is declared it contains data of all students, when you find the
marks you have scored you have the information that lets you know whether you have passed or
failed.
The word data refers to any information which is presented in a form that is agreed and
accepted upon by is creators and users.
DATA COMMUNICATION
▸ Data Communication is a process of exchanging data or information.
▸ In case of computer networks this exchange is done between two devices over a transmission
medium.
▸ This process involves a communication system which is made up of hardware and software.
The hardware part involves the sender and receiver devices and the intermediate devices
through which the data passes. The software part involves certain rules which specify what is
to be communicated, how it is to be communicated and when. It is also called as a Protocol.
▸ The following sections describes the fundamental characteristics that are important for the
effective working of data communication process and is followed by the components that
make up a data communications system.
▸ Text
DATA REPRESENTATION
▹ Text includes combination of alphabets in small case as well as upper case.
▹ It is stored as a pattern of bits. Prevalent encoding system : ASCII, Unicode
▸ Numbers
▹ Numbers include combination of digits from 0 to 9.
▹ It is stored as a pattern of bits. Prevalent encoding system : ASCII, Unicode
▸ Images
▸ An image is worth a thousand words‖ is a very famous saying. In computers images are digitally stored.
▹ A Pixel is the smallest element of an image. To put it in simple terms, a picture or image is a matrix of pixel
elements.
▹ The pixels are represented in the form of bits. Depending upon the type of image (black n white or color) each pixel
would require different number of bits to represent the value of a pixel.
▹ The size of an image depends upon the number of pixels (also called resolution) and the bit pattern used to indicate
the value of each pixel.
DATA FLOW
▸ Data Flow is devices communicate with each other by sending and receiving data.
The data can flow between the two devices in the following ways.
▹ Simplex
▹ Half Duplex
▹ Full Duplex
Simplex
▸ In Simplex, communication is unidirectional
▸ Only one of the devices sends the data and the other one only receives the data.
▸ Example: in the above diagram: a cpu send data while a monitor only receives data.
Half Duplex
▸ In half duplex both the stations can transmit as well as receive but not at the same
time.
▸ When one device is sending other can only receive and viceversa (as shown in figure
above.)
▸ Example: A walkie-talkie.
COMPUTER NETWORK
▸ An interconnected collection of autonomous computers is called a computer
network. Two computers are said to be interconnected if they are able to exchange
the information. If one computer can forcibly start, stop and control another one,
the computers are not autonomous. A system with one control unit and many slaves
is not a network, nor is a large computer with remote printers and terminals.
▸ A Compute network should ensure
▹ Reliability of the data communication process, should c
▹ Security of the data
▹ Performance by achieving higher throughput and smaller delay times
Router
Switch
Wireless Network
Program Name: B.Tech. Program Code:
Department of Applied Computational Science & Engg
Course Code :(KCS- 603) Course Name:Computer Networks
Point-to-Point
▸ 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. Most point-to-pointconnections use an actual length of wire or cable to
connect the two ends, but other options, such as microwave or satellite links, are
also possible. When you change television channels by infrared remote control,
you are establishing a point-to-point connection between the remote control and
the television's control system.
Categories of Network
▸ Networks are categorized on the basis of their size. The three basic categories of
computer networks are:
▹ Local Area Networks (LAN)
▹ Metropolitan Area Network (MAN)
▹ Wide Area Network (WAN)
▸ Network that provides long distance transmission of data, voice, image and
video information over large geographical areas that may comprise a country, a
continent.
▸ Range: Beyond 100 km.
Distributed processing
▸ Most networks use distributed processing, in which a task is divided among multiple computers. Instead of
one single large machine being responsible for all aspects of a process, separate computers (usually a
personal computer or workstation) handle a subset.
▸ In a Distributed system, the existence of multiple autonomous computers is transparent(i.e., not visible) to
the user. He can type a command to run a program and it runs. It is up to the operating system to select the
best processor, find and transport all the files to that processor, and put the results in the appropriate place.
▸ Networks use Distributed processing, in which a task is divided among multiple computers. Advantages of
Distributed processing are :
▹ Security/ Encapsulation
▹ Distributed data bases
▹ Faster problem solving
▹ Security through Redundancy
▹ Collaborative processing
Internet
▸ The Internet is a worldwide, publicly accessible network of interconnected computer
networks that transmit data using the standard Internet Protocol (IP).
▸ It’s a worldwide network of computers that allows the "sharing" or "networking" of
information at remote sites from other academic institutions, research institutes, private
companies, government agencies, and individuals.
▸ It allows people to send and receive data wherever they are in the world if they have internet
access
▸ Everyone w ill find that they use the internet in one way or another, whether it is to research
some information or simply talk to friends
▸ Today, the Web and the Internet allow connectivity from literally everywhere on earth—even
ships at sea and in outer space.
▸ In 1994 the first junk e-mail or "spam" was sent out this year. The first shopping
malls also appeared along with Internet radio stations (mainly rebroadcasting) and
the first cyber bank. • In 1998, the Internet continued to grow , with thousands of
new subscribers every day joining the millions already subscribed.
▸ e-banking :any person can withdraw money, transfer or exchange amounts or know
the balance by simply logging through internet.
▸ e-reservation : one can electronically book or reserve ticket of airways, railways,
hotels, etc., with help of internet.
▸ Search engine : one can easily locate and search information around the globe with
help of search engine.
▸ Chatting :a person can instantly communicate with an individual or multiple people
from one computer to another computer using internet.
▸ Video conferencing : it a communicating style in which two or more person residing at
far places can instantly talk and watch each other as they do so in face-to-face
communication.
Advantages
Advantages:
and Disadvantages
▸ Allows easy and quick access to information
▸ Enables user to access files and information from any computer anywhere in the
world
▸ People can check financial information, purchase products, talk to people and much
more online
▸ Downloading music- quick and easy
▸ User can send information quickly from computer to computer
Physical Hardware
Connections
• Layers can offer connection-oriented or connectionless services.
• Connection-oriented like telephone system.
• Connectionless like postal system.
• Each service has an associated Quality-of-service (e.g. reliable or
unreliable).
Reliability
• Reliable services never lose/corrupt data.
• Reliable service costs more.
• Typical application for reliable service is file transfer.
• Typical application not needing reliable service is voice traffic.
• Not all applications need connections.
A. Wired Media:- A widely adopted family that uses copper and fiber media in
local area network (LAN) technology are collectively known as Ethernet
1. Copper Cable
a. Coaxial Cables
b. Shielded Twisted Pair(STP)
c. Unshielded Twisted Pair
• Speed: 10-100Mbps
• Cost: Inexpensive
• Media and connector size: Medium
• Maximum cable length: 500m