SlideShare a Scribd company logo
1 of 65
1
CS101 Introduction to Computing
Lecture 27
Computer Networks
2
During the last lecture …
(Web Design for Usability)
• We looked at the role of usability in Web
design
• We identified some of the factors affecting
the usability of a Web page
3
don’t make me think!
4
think roadside billboard
rather than Dewan-e-Ghalib
5
Designs should be
consistent &
predictable
(unified)
6
What’s a Good Site?
• The one that achieves the result that it was
designed for
• Generally, that result can only be achieved by
giving the user what s/he wants, as quickly as
possible, without her/im expending much effort
• One definition of usability: Let the user have
what s/he wants, quickly, without much effort
• “Quickly” is important!
7
Website Navigation
• The interface/controls that a Website
provides to the user for accessing
various parts of the Website
• It probably is the most important aspect
of the design of a Website
8
Good designs
assist the user
in recovering
from errors
9
Today’s Goals:
(Computer Networks)
• We will become able to appreciate the role of
networks in computing
• We will look at several different types of
networks
• We will familiarize ourselves with networking
topologies and protocols
10
All of you have used
computer networks.
What is a
computer network?
11
Computer Network
Multiple computers that are
connected together to share
information and other resources
12
Examples of Computer Network Usage
• I can send an eMail message to a remote
computer using the SMTP protocol
• I can browse documents residing on a remote
computer using the HTTP protocol
• I can download or upload files to a remote
computer using the FTP protocol
• I can run a program on a remote computer
using the TELNET protocol
13
Computer
C
Computer
D
Computer
E
Computer
A
Computer
B
Hub
Example of
a Computer
Network
14
Components of Conventional Computer Networks
1. Computers
2. Network Interface Cards (NIC)
– I/O device that plugs into the computer
– Enables it to communicate over a network
3. Hub
– The network traffic controller
15
Components of Conventional Computer Networks
4. Cables
– Are either electrical or optical
– Not required at all for wireless networks
4. Protocol
– Rules governing communications over the
network
16
How Does a Conventional Network Work?
1. Suppose computer A wants to send a
message to D
2. Computer A sends the message to its NIC
3. The NIC translates the message into electrical
pulses suitable for the computer network in
use & transmits it to the hub through the cable
17
How Does a Conventional Network Work?
4. The hub receives them and forwards them to
all computers connected to the it
5. The NICs of all computers connected to the
hub receive the forwarded electrical pulses
6. The NIC of computer D decides that the
message is for it, & translates the pulses
back to a form suitable for the computer
18
Hub (1)
• A device that is used to connect several
computers to form a network
• A hub has several ports. The number generally
is 8, 12, 16, 24, 32, or 48
19
Hub (2)
• Each computer in a network is connected to
one of those ports through a cable
• A computer wanting to send a message to one
of the others in the network sends a message
to the hub, which, in turn, broadcasts the
message to all others connected to it
20
Packet (1)
• The smallest unit of data transmitted over a
computer network
• A message to be transferred over the network
is broken up into small packets by the sending
computer
• Each packet contains the following info:
– Sender's address
– Destination address
– Data
– Error-recovery info
21
Packet (2)
• All packets travel independently
• When all packets are received by the
destination computer, it reassembles them to
form the original message
22
Types of Computer Networks
according to the network access policy
• Private
• Public
23
Private Networks (1)
• Organizations having many computers usually
connect them in the form of private networks
• Access to these network is restricted to
authorized computers only
24
Private Networks (2)
• This allows computers from within the
organization to exchange info, but keeps the
info private and protected from outsiders
• All equipment on a private network is generally
for the exclusive use of that organization
25
Public Networks
• All networks that are not private, are … public
• Example: Internet
• Communication equipment used in these
networks is generally being used by users
belonging to several (possibly thousands of)
organizations as well as those belonging to no
organization
26
VPN: Virtual Private Network (1)
• From the user’s point-of-view, a VPN looks like
a secure, private network
• VPNs use public telecom infrastructure,
maintaining privacy through security procedures
27
VPN: Virtual Private Network (2)
• VPNs provide secure network connections for
distance computers without using dedicated,
private channels to supply the connection
• Key benefit of VPNs over conventional PNs:
Lower cost
28
Types of Computer Networks
according to the distance between nodes
• LAN: Local Area Network)
• WAN: Wide Area Network)
29
LAN
• A network of computers located in the same
building or a handful of nearby buildings
• Examples:
– Computer network at your PVC
– Computer network of a University campus
30
WAN
• A network in which computers are separated by
great distances, typically across cities or even
continents
• May consist of several interconnected LANs
• Example:
– The network connecting the ATM of a bank located
in various cities
– A network connecting the local and oversea offices
of a SW house
– Internet
31
Connecting LANs to other Networks
Special-purpose devices are used to link
LANs to other networks
They may belong to one of the following
categories:
– Routers
– Bridges
– Gateways
– Modems
32
Router
• A special-purpose computer that directs data
traffic when several paths are available
• A router examines the destination info in each
arriving packet and then routes it through the
most efficient path available
• The router either delivers the packet to the
destination computer across a local network or
forwards the packet to another router that is
closer to the final destination
33
Bridge
• Used to form a connection between two
separate, but similar networks
• In a way, it creates an extended LAN by
passing information between two or more LANs
34
Gateway
• A special-purpose computer that connects and
translates between networks that use different
communications protocols
• LAN’s may use a gateway (or router) to
connect to the Internet
35
Modem (1)
• I/O device used for connecting two
computers over telephone lines
• modem = modulator + demodulator
36
Modem (2)
• Modulator converts computer messages to
electrical pulses that are suitable for
transmission over the telephone lines
• Demodulator converts electrical pulses
received over telephone lines into
messages that are comprehensible for
computers
37
Network Topologies
• The pattern in which computers are connected
to form a network
• Popular patterns:
– Point-to-point
– Star
– Bus
– Ring
• Networks are also formed by combining 2 or
more of these 4 basic patterns
38
P2P
Computer
A
Computer
B
39
P2P
• Inexpensive
• Limited connectivity
• Quite often used for connecting two LANs to
form a WAN
40
Star
Computer
A
Computer
D
Computer
C
Computer
B
Server
41
Star (1)
• A computer sends the address of the intended
receiver and the data to the server
• The server then sends the message to the
intended receiver
• This topology allows multiple messages to be
sent simultaneously
42
Star (2)
• Costly, because it uses an additional computer
to direct the data
• Costly, because each node is individually wired
to the hub
• If the server goes down, so does the network
• If any of the nodes goes down, the rest of the
network is not affected
43
BusComputer
A
Computer
C
Computer
D
Computer
B
Bus: A high
speed cable
44
Bus (1)
• No server is required
• One computer sends data to another by
broadcasting the address of the receiver and
the data over the bus
• All the computers in the network look at the
address simultaneously, and the intended
recipient accepts the data
45
Bus (2)
• A bus network, unlike ring or star networks,
allows data to be sent directly from one
computer to another
• However, only one computer at a time can
transmit data. The others must wait to until the
bus gets idle
• If any of the nodes goes down, the rest of the
network is not affected
46
Ring
Computer
A
Computer
D
Computer
C
Computer
B
47
Ring (1)
• No server is required
• A computer sends the message to its neighbor.
The neighbor examines the message to
determine if it is the intended recipient
• If the data are not intended for that particular
neighbor, it passes the message to the next
computer in the ring
48
Ring (2)
• This process is repeated until the data arrive at
their intended recipient
• This topology allows multiple messages to be
carried, simultaneously
• Data transmission is slow since each message
is checked by each computer
49
Ring (3)
• New nodes are difficult to add
• Messages propagate in one direction only
• The network fails if a single node fails
50
Combination
Computer
B
Computer
A
Computer
C
Hub
Computer
E
Computer
D
Computer
F
Hub
51
Networking Protocols
• Networks use protocols, or rules, to exchange
info through shared channels
• Protocols prevent collisions of packets caused
by simultaneous transmission between two or
more computers
• Several protocols are available for various
types of networks. Here we discuss two that
are popular for LANs: Ethernet; Token Ring
52
Ethernet Protocol
• A computer using this protocol checks if a
shared connection is in use before transmitting
a message
• If not, the computer transmits data
• Two computers may sense an idle connection
and may send packets simultaneously. To
account for such situations, transmitting
computers continue to monitor the connection
and re-transmit if a packet collision occurs
53
Token Ring Protocol
• This protocol passes a special message called
a token through the network
• A computer that receives the token is given
permission to send a packet of information
• If the computer has no packet to send, it
passes the token to the next computer
54
Computer Networks
=
Computers
+
Communications
55
Types of Communication Channels
1. Wire
2. Wireless
A key characteristic of these channels is bandwidth
56
Bandwidth
• Capacity of a communication channel for
carrying data
• Measured in bits/s (bps), kb/s, Mb/s, Gb/s, Tb/s
• Optical fiber channels have the highest (1 Tb/s)
• Telephone lines the lowest (56 kb/s)
57
Types of Communication Channels
Wire
–Copper
• Twisted-pair
• Coaxial cable
–Optical fiber
Wireless
–Line-of-sight
• Microwave
• Optical
–Non-line-of-sight
• Satellite
• Radio
• Cellular
58
Wireless (Radio) LANs Are Becoming Popular
Key benefits:
– Set-up time
– Set-up cost
– Maintenance cost
– Cost Key challenges:
– Security & privacy
– Quality of service
– Cost
59
Network Security (1)
• Keeping an eye on the security of private
networks (e.g. LANs) is relatively easy
• However, their connections to other networks
(e.g. the Internet) pose a security risk because
the one has no control over users on those
networks
60
Network Security (2)
• Applications transferred from the Internet to the
LAN may contain computer viruses
• External, unauthorized users may gain access
to sensitive data
• A special type of gateway - a firewall – can
keep external users from accessing resources
on the LAN while letting LAN users access the
external info
61
Firewall
• A system that that guards a private network,
enforcing an access/deny policy to all traffic
going to and coming from the Internet
• It keeps an eye on all the packets that go in
and out of the private network and blocks them
or allows them to continue to their destination
according to the policy
62
Private
NetworkInternet
Firewall
63
Firewall Policy: Example
One can configure a firewall to allow only
eMail to enter the private network, thus
shielding it from any malicious attacks
except for those via eMail
64
In Today’s Lecture
• We looked at the role of networks in
computing
• We looked at several different types of
networks
• We familiarized ourselves with networking
topologies and protocols
65
Next Lecture:
Introduction to the Internet
• To become able to appreciate the role of the
Internet in today’s computing
• To become familiar with the history and
evolution of the Internet

More Related Content

What's hot (20)

lecture 2.pptx
lecture 2.pptxlecture 2.pptx
lecture 2.pptx
 
Introduction to Computer Networks.
Introduction to Computer Networks.Introduction to Computer Networks.
Introduction to Computer Networks.
 
Information system for you Chapter 15
Information system for you Chapter 15Information system for you Chapter 15
Information system for you Chapter 15
 
2. network elements
2. network elements2. network elements
2. network elements
 
Internetworking Overview
Internetworking OverviewInternetworking Overview
Internetworking Overview
 
Internetworking devices(networking)
Internetworking devices(networking)Internetworking devices(networking)
Internetworking devices(networking)
 
Ch 1 network
Ch 1  networkCh 1  network
Ch 1 network
 
CISSP - Chapter 4 - Network Topology
CISSP - Chapter 4 - Network TopologyCISSP - Chapter 4 - Network Topology
CISSP - Chapter 4 - Network Topology
 
Hdlc
HdlcHdlc
Hdlc
 
Net 1
Net 1Net 1
Net 1
 
Dcs networking
Dcs networkingDcs networking
Dcs networking
 
Network protocol structure scope
Network protocol structure scopeNetwork protocol structure scope
Network protocol structure scope
 
Network use and configuration
Network use and configurationNetwork use and configuration
Network use and configuration
 
MVA slides lesson 5
MVA slides lesson 5MVA slides lesson 5
MVA slides lesson 5
 
SYSTEM NETWORK ADMINISTRATIONS GOALS and TIPS
SYSTEM NETWORK ADMINISTRATIONS GOALS and TIPSSYSTEM NETWORK ADMINISTRATIONS GOALS and TIPS
SYSTEM NETWORK ADMINISTRATIONS GOALS and TIPS
 
98 366 mva slides lesson 7
98 366 mva slides lesson 798 366 mva slides lesson 7
98 366 mva slides lesson 7
 
Cisco Routing and Switching by yateendra sahu ppt
Cisco Routing and Switching by yateendra sahu pptCisco Routing and Switching by yateendra sahu ppt
Cisco Routing and Switching by yateendra sahu ppt
 
Net essentials6e ch7
Net essentials6e ch7Net essentials6e ch7
Net essentials6e ch7
 
MVA slides lesson 2
MVA slides lesson 2MVA slides lesson 2
MVA slides lesson 2
 
OSI Model and TCP/IP Model.
OSI Model and TCP/IP Model.OSI Model and TCP/IP Model.
OSI Model and TCP/IP Model.
 

Viewers also liked

CS101- Introduction to Computing- Lecture 45
CS101- Introduction to Computing- Lecture 45CS101- Introduction to Computing- Lecture 45
CS101- Introduction to Computing- Lecture 45Bilal Ahmed
 
CS101- Introduction to Computing- Lecture 28
CS101- Introduction to Computing- Lecture 28CS101- Introduction to Computing- Lecture 28
CS101- Introduction to Computing- Lecture 28Bilal Ahmed
 
CS201- Introduction to Programming- Lecture 37
CS201- Introduction to Programming- Lecture 37CS201- Introduction to Programming- Lecture 37
CS201- Introduction to Programming- Lecture 37Bilal Ahmed
 
Wall quote vinyl decal
Wall quote vinyl decalWall quote vinyl decal
Wall quote vinyl decalvinyldecors
 
IT security - continuïteit van uw onderneming - Orbid
IT security - continuïteit van uw onderneming - OrbidIT security - continuïteit van uw onderneming - Orbid
IT security - continuïteit van uw onderneming - OrbidOrbid
 
ENG101- English Comprehension- Lecture 31
ENG101- English Comprehension- Lecture 31ENG101- English Comprehension- Lecture 31
ENG101- English Comprehension- Lecture 31Bilal Ahmed
 
Kids Party Decoration Supplies Online
Kids Party Decoration Supplies Online Kids Party Decoration Supplies Online
Kids Party Decoration Supplies Online JoeCavallaro
 
בשביל החייםשלי♥♥♥♥
בשביל החייםשלי♥♥♥♥בשביל החייםשלי♥♥♥♥
בשביל החייםשלי♥♥♥♥Avi Avraham
 
Poto copian pemahaman studi hukum islam
Poto copian pemahaman studi hukum islamPoto copian pemahaman studi hukum islam
Poto copian pemahaman studi hukum islamNur Alfiyatur Rochmah
 
CS201- Introduction to Programming- Lecture 29
CS201- Introduction to Programming- Lecture 29CS201- Introduction to Programming- Lecture 29
CS201- Introduction to Programming- Lecture 29Bilal Ahmed
 
MGT101 - Financial Accounting- Lecture 37
MGT101 - Financial Accounting- Lecture 37MGT101 - Financial Accounting- Lecture 37
MGT101 - Financial Accounting- Lecture 37Bilal Ahmed
 
Describing different childrens party themes
Describing different childrens party themes  Describing different childrens party themes
Describing different childrens party themes JoeCavallaro
 
Online samenwerken anno 2017
Online samenwerken anno 2017Online samenwerken anno 2017
Online samenwerken anno 2017Orbid
 
Kid’s party decorations ideas
Kid’s party decorations ideasKid’s party decorations ideas
Kid’s party decorations ideasJoeCavallaro
 

Viewers also liked (20)

CS101- Introduction to Computing- Lecture 45
CS101- Introduction to Computing- Lecture 45CS101- Introduction to Computing- Lecture 45
CS101- Introduction to Computing- Lecture 45
 
CS101- Introduction to Computing- Lecture 28
CS101- Introduction to Computing- Lecture 28CS101- Introduction to Computing- Lecture 28
CS101- Introduction to Computing- Lecture 28
 
CS201- Introduction to Programming- Lecture 37
CS201- Introduction to Programming- Lecture 37CS201- Introduction to Programming- Lecture 37
CS201- Introduction to Programming- Lecture 37
 
Wall quote vinyl decal
Wall quote vinyl decalWall quote vinyl decal
Wall quote vinyl decal
 
Untuk presentasi
Untuk presentasi Untuk presentasi
Untuk presentasi
 
Konseo dasar jurnalistik2
Konseo dasar jurnalistik2Konseo dasar jurnalistik2
Konseo dasar jurnalistik2
 
IT security - continuïteit van uw onderneming - Orbid
IT security - continuïteit van uw onderneming - OrbidIT security - continuïteit van uw onderneming - Orbid
IT security - continuïteit van uw onderneming - Orbid
 
ENG101- English Comprehension- Lecture 31
ENG101- English Comprehension- Lecture 31ENG101- English Comprehension- Lecture 31
ENG101- English Comprehension- Lecture 31
 
Studi hukum islam
Studi hukum islam Studi hukum islam
Studi hukum islam
 
Botón de mano y volante de mano
Botón de mano y volante de manoBotón de mano y volante de mano
Botón de mano y volante de mano
 
Kids Party Decoration Supplies Online
Kids Party Decoration Supplies Online Kids Party Decoration Supplies Online
Kids Party Decoration Supplies Online
 
בשביל החייםשלי♥♥♥♥
בשביל החייםשלי♥♥♥♥בשביל החייםשלי♥♥♥♥
בשביל החייםשלי♥♥♥♥
 
Shi pemahaman hukum islam
Shi pemahaman hukum islamShi pemahaman hukum islam
Shi pemahaman hukum islam
 
Poto copian pemahaman studi hukum islam
Poto copian pemahaman studi hukum islamPoto copian pemahaman studi hukum islam
Poto copian pemahaman studi hukum islam
 
CS201- Introduction to Programming- Lecture 29
CS201- Introduction to Programming- Lecture 29CS201- Introduction to Programming- Lecture 29
CS201- Introduction to Programming- Lecture 29
 
MGT101 - Financial Accounting- Lecture 37
MGT101 - Financial Accounting- Lecture 37MGT101 - Financial Accounting- Lecture 37
MGT101 - Financial Accounting- Lecture 37
 
Describing different childrens party themes
Describing different childrens party themes  Describing different childrens party themes
Describing different childrens party themes
 
Bab i, ii, iii
Bab i, ii, iiiBab i, ii, iii
Bab i, ii, iii
 
Online samenwerken anno 2017
Online samenwerken anno 2017Online samenwerken anno 2017
Online samenwerken anno 2017
 
Kid’s party decorations ideas
Kid’s party decorations ideasKid’s party decorations ideas
Kid’s party decorations ideas
 

Similar to CS101- Introduction to Computing- Lecture 27

Explaination of Computer Network start to end
Explaination of Computer Network start to endExplaination of Computer Network start to end
Explaination of Computer Network start to endRanaJunaid48
 
data communication and Network.ppt
data communication and Network.pptdata communication and Network.ppt
data communication and Network.pptGetachewDires1
 
CN-Module-I (1).pptx
CN-Module-I (1).pptxCN-Module-I (1).pptx
CN-Module-I (1).pptxAllen138499
 
Networking presentationNetworking presentation.pptNetworking presentation.ppt...
Networking presentationNetworking presentation.pptNetworking presentation.ppt...Networking presentationNetworking presentation.pptNetworking presentation.ppt...
Networking presentationNetworking presentation.pptNetworking presentation.ppt...nesarahmad37
 
Computer Networks
Computer NetworksComputer Networks
Computer NetworksImdad Ullah
 
Computer network
Computer networkComputer network
Computer networkSimran Kaur
 
Ch 15 .networks and communications
Ch 15 .networks and communicationsCh 15 .networks and communications
Ch 15 .networks and communicationsKhan Yousafzai
 
Networkprotocolstructurescope 130719081246-phpapp01
Networkprotocolstructurescope 130719081246-phpapp01Networkprotocolstructurescope 130719081246-phpapp01
Networkprotocolstructurescope 130719081246-phpapp01Gaurav Goyal
 
Computer application-chapter four lecture note. pptx
Computer application-chapter four lecture note. pptxComputer application-chapter four lecture note. pptx
Computer application-chapter four lecture note. pptxgadisaAdamu
 
types of computer networks, protocols and standards
types of computer networks, protocols and standardstypes of computer networks, protocols and standards
types of computer networks, protocols and standardsMidhun Menon
 
Types of cn, protocols and standards
Types of cn, protocols and standardsTypes of cn, protocols and standards
Types of cn, protocols and standardsbhavanatmithun
 
Networking and internetworking devices
Networking and internetworking devicesNetworking and internetworking devices
Networking and internetworking devicesRaveena kumari
 
is chap5.pptx
is chap5.pptxis chap5.pptx
is chap5.pptxTeshome48
 
Unit - 1.pptx
Unit - 1.pptxUnit - 1.pptx
Unit - 1.pptxKavinD11
 
Unit1_COMPUTER_COMMUNICATIONSSlides.pptx
Unit1_COMPUTER_COMMUNICATIONSSlides.pptxUnit1_COMPUTER_COMMUNICATIONSSlides.pptx
Unit1_COMPUTER_COMMUNICATIONSSlides.pptxNANDIKHATHARANIKUMAR1
 

Similar to CS101- Introduction to Computing- Lecture 27 (20)

Explaination of Computer Network start to end
Explaination of Computer Network start to endExplaination of Computer Network start to end
Explaination of Computer Network start to end
 
data communication and Network.ppt
data communication and Network.pptdata communication and Network.ppt
data communication and Network.ppt
 
Lect_8.pdf
Lect_8.pdfLect_8.pdf
Lect_8.pdf
 
CN-Module-I (1).pptx
CN-Module-I (1).pptxCN-Module-I (1).pptx
CN-Module-I (1).pptx
 
Networking presentationNetworking presentation.pptNetworking presentation.ppt...
Networking presentationNetworking presentation.pptNetworking presentation.ppt...Networking presentationNetworking presentation.pptNetworking presentation.ppt...
Networking presentationNetworking presentation.pptNetworking presentation.ppt...
 
Computer Networks
Computer NetworksComputer Networks
Computer Networks
 
Computer network
Computer networkComputer network
Computer network
 
Ch 15 .networks and communications
Ch 15 .networks and communicationsCh 15 .networks and communications
Ch 15 .networks and communications
 
Networkprotocolstructurescope 130719081246-phpapp01
Networkprotocolstructurescope 130719081246-phpapp01Networkprotocolstructurescope 130719081246-phpapp01
Networkprotocolstructurescope 130719081246-phpapp01
 
ch01.ppt
ch01.pptch01.ppt
ch01.ppt
 
Computer application-chapter four lecture note. pptx
Computer application-chapter four lecture note. pptxComputer application-chapter four lecture note. pptx
Computer application-chapter four lecture note. pptx
 
Networking basics
Networking basicsNetworking basics
Networking basics
 
types of computer networks, protocols and standards
types of computer networks, protocols and standardstypes of computer networks, protocols and standards
types of computer networks, protocols and standards
 
Types of cn, protocols and standards
Types of cn, protocols and standardsTypes of cn, protocols and standards
Types of cn, protocols and standards
 
Unit 2B.pdf
Unit 2B.pdfUnit 2B.pdf
Unit 2B.pdf
 
Networking and internetworking devices
Networking and internetworking devicesNetworking and internetworking devices
Networking and internetworking devices
 
is chap5.pptx
is chap5.pptxis chap5.pptx
is chap5.pptx
 
IARE_CN_PPT_0 (1).pdf
IARE_CN_PPT_0 (1).pdfIARE_CN_PPT_0 (1).pdf
IARE_CN_PPT_0 (1).pdf
 
Unit - 1.pptx
Unit - 1.pptxUnit - 1.pptx
Unit - 1.pptx
 
Unit1_COMPUTER_COMMUNICATIONSSlides.pptx
Unit1_COMPUTER_COMMUNICATIONSSlides.pptxUnit1_COMPUTER_COMMUNICATIONSSlides.pptx
Unit1_COMPUTER_COMMUNICATIONSSlides.pptx
 

More from Bilal Ahmed

CS201- Introduction to Programming- Lecture 45
CS201- Introduction to Programming- Lecture 45CS201- Introduction to Programming- Lecture 45
CS201- Introduction to Programming- Lecture 45Bilal Ahmed
 
CS201- Introduction to Programming- Lecture 44
CS201- Introduction to Programming- Lecture 44CS201- Introduction to Programming- Lecture 44
CS201- Introduction to Programming- Lecture 44Bilal Ahmed
 
CS201- Introduction to Programming- Lecture 43
CS201- Introduction to Programming- Lecture 43CS201- Introduction to Programming- Lecture 43
CS201- Introduction to Programming- Lecture 43Bilal Ahmed
 
CS201- Introduction to Programming- Lecture 42
CS201- Introduction to Programming- Lecture 42CS201- Introduction to Programming- Lecture 42
CS201- Introduction to Programming- Lecture 42Bilal Ahmed
 
CS201- Introduction to Programming- Lecture 41
CS201- Introduction to Programming- Lecture 41CS201- Introduction to Programming- Lecture 41
CS201- Introduction to Programming- Lecture 41Bilal Ahmed
 
CS201- Introduction to Programming- Lecture 40
CS201- Introduction to Programming- Lecture 40CS201- Introduction to Programming- Lecture 40
CS201- Introduction to Programming- Lecture 40Bilal Ahmed
 
CS201- Introduction to Programming- Lecture 39
CS201- Introduction to Programming- Lecture 39CS201- Introduction to Programming- Lecture 39
CS201- Introduction to Programming- Lecture 39Bilal Ahmed
 
CS201- Introduction to Programming- Lecture 38
CS201- Introduction to Programming- Lecture 38CS201- Introduction to Programming- Lecture 38
CS201- Introduction to Programming- Lecture 38Bilal Ahmed
 
CS201- Introduction to Programming- Lecture 36
CS201- Introduction to Programming- Lecture 36CS201- Introduction to Programming- Lecture 36
CS201- Introduction to Programming- Lecture 36Bilal Ahmed
 
CS201- Introduction to Programming- Lecture 35
CS201- Introduction to Programming- Lecture 35CS201- Introduction to Programming- Lecture 35
CS201- Introduction to Programming- Lecture 35Bilal Ahmed
 
CS201- Introduction to Programming- Lecture 34
CS201- Introduction to Programming- Lecture 34CS201- Introduction to Programming- Lecture 34
CS201- Introduction to Programming- Lecture 34Bilal Ahmed
 
CS201- Introduction to Programming- Lecture 33
CS201- Introduction to Programming- Lecture 33CS201- Introduction to Programming- Lecture 33
CS201- Introduction to Programming- Lecture 33Bilal Ahmed
 
CS201- Introduction to Programming- Lecture 32
CS201- Introduction to Programming- Lecture 32CS201- Introduction to Programming- Lecture 32
CS201- Introduction to Programming- Lecture 32Bilal Ahmed
 
CS201- Introduction to Programming- Lecture 31
CS201- Introduction to Programming- Lecture 31CS201- Introduction to Programming- Lecture 31
CS201- Introduction to Programming- Lecture 31Bilal Ahmed
 
CS201- Introduction to Programming- Lecture 30
CS201- Introduction to Programming- Lecture 30CS201- Introduction to Programming- Lecture 30
CS201- Introduction to Programming- Lecture 30Bilal Ahmed
 
CS201- Introduction to Programming- Lecture 28
CS201- Introduction to Programming- Lecture 28CS201- Introduction to Programming- Lecture 28
CS201- Introduction to Programming- Lecture 28Bilal Ahmed
 
CS201- Introduction to Programming- Lecture 27
CS201- Introduction to Programming- Lecture 27CS201- Introduction to Programming- Lecture 27
CS201- Introduction to Programming- Lecture 27Bilal Ahmed
 
CS201- Introduction to Programming- Lecture 26
CS201- Introduction to Programming- Lecture 26CS201- Introduction to Programming- Lecture 26
CS201- Introduction to Programming- Lecture 26Bilal Ahmed
 
CS201- Introduction to Programming- Lecture 25
CS201- Introduction to Programming- Lecture 25CS201- Introduction to Programming- Lecture 25
CS201- Introduction to Programming- Lecture 25Bilal Ahmed
 
CS201- Introduction to Programming- Lecture 24
CS201- Introduction to Programming- Lecture 24CS201- Introduction to Programming- Lecture 24
CS201- Introduction to Programming- Lecture 24Bilal Ahmed
 

More from Bilal Ahmed (20)

CS201- Introduction to Programming- Lecture 45
CS201- Introduction to Programming- Lecture 45CS201- Introduction to Programming- Lecture 45
CS201- Introduction to Programming- Lecture 45
 
CS201- Introduction to Programming- Lecture 44
CS201- Introduction to Programming- Lecture 44CS201- Introduction to Programming- Lecture 44
CS201- Introduction to Programming- Lecture 44
 
CS201- Introduction to Programming- Lecture 43
CS201- Introduction to Programming- Lecture 43CS201- Introduction to Programming- Lecture 43
CS201- Introduction to Programming- Lecture 43
 
CS201- Introduction to Programming- Lecture 42
CS201- Introduction to Programming- Lecture 42CS201- Introduction to Programming- Lecture 42
CS201- Introduction to Programming- Lecture 42
 
CS201- Introduction to Programming- Lecture 41
CS201- Introduction to Programming- Lecture 41CS201- Introduction to Programming- Lecture 41
CS201- Introduction to Programming- Lecture 41
 
CS201- Introduction to Programming- Lecture 40
CS201- Introduction to Programming- Lecture 40CS201- Introduction to Programming- Lecture 40
CS201- Introduction to Programming- Lecture 40
 
CS201- Introduction to Programming- Lecture 39
CS201- Introduction to Programming- Lecture 39CS201- Introduction to Programming- Lecture 39
CS201- Introduction to Programming- Lecture 39
 
CS201- Introduction to Programming- Lecture 38
CS201- Introduction to Programming- Lecture 38CS201- Introduction to Programming- Lecture 38
CS201- Introduction to Programming- Lecture 38
 
CS201- Introduction to Programming- Lecture 36
CS201- Introduction to Programming- Lecture 36CS201- Introduction to Programming- Lecture 36
CS201- Introduction to Programming- Lecture 36
 
CS201- Introduction to Programming- Lecture 35
CS201- Introduction to Programming- Lecture 35CS201- Introduction to Programming- Lecture 35
CS201- Introduction to Programming- Lecture 35
 
CS201- Introduction to Programming- Lecture 34
CS201- Introduction to Programming- Lecture 34CS201- Introduction to Programming- Lecture 34
CS201- Introduction to Programming- Lecture 34
 
CS201- Introduction to Programming- Lecture 33
CS201- Introduction to Programming- Lecture 33CS201- Introduction to Programming- Lecture 33
CS201- Introduction to Programming- Lecture 33
 
CS201- Introduction to Programming- Lecture 32
CS201- Introduction to Programming- Lecture 32CS201- Introduction to Programming- Lecture 32
CS201- Introduction to Programming- Lecture 32
 
CS201- Introduction to Programming- Lecture 31
CS201- Introduction to Programming- Lecture 31CS201- Introduction to Programming- Lecture 31
CS201- Introduction to Programming- Lecture 31
 
CS201- Introduction to Programming- Lecture 30
CS201- Introduction to Programming- Lecture 30CS201- Introduction to Programming- Lecture 30
CS201- Introduction to Programming- Lecture 30
 
CS201- Introduction to Programming- Lecture 28
CS201- Introduction to Programming- Lecture 28CS201- Introduction to Programming- Lecture 28
CS201- Introduction to Programming- Lecture 28
 
CS201- Introduction to Programming- Lecture 27
CS201- Introduction to Programming- Lecture 27CS201- Introduction to Programming- Lecture 27
CS201- Introduction to Programming- Lecture 27
 
CS201- Introduction to Programming- Lecture 26
CS201- Introduction to Programming- Lecture 26CS201- Introduction to Programming- Lecture 26
CS201- Introduction to Programming- Lecture 26
 
CS201- Introduction to Programming- Lecture 25
CS201- Introduction to Programming- Lecture 25CS201- Introduction to Programming- Lecture 25
CS201- Introduction to Programming- Lecture 25
 
CS201- Introduction to Programming- Lecture 24
CS201- Introduction to Programming- Lecture 24CS201- Introduction to Programming- Lecture 24
CS201- Introduction to Programming- Lecture 24
 

Recently uploaded

Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 

Recently uploaded (20)

Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 

CS101- Introduction to Computing- Lecture 27

  • 1. 1 CS101 Introduction to Computing Lecture 27 Computer Networks
  • 2. 2 During the last lecture … (Web Design for Usability) • We looked at the role of usability in Web design • We identified some of the factors affecting the usability of a Web page
  • 4. 4 think roadside billboard rather than Dewan-e-Ghalib
  • 5. 5 Designs should be consistent & predictable (unified)
  • 6. 6 What’s a Good Site? • The one that achieves the result that it was designed for • Generally, that result can only be achieved by giving the user what s/he wants, as quickly as possible, without her/im expending much effort • One definition of usability: Let the user have what s/he wants, quickly, without much effort • “Quickly” is important!
  • 7. 7 Website Navigation • The interface/controls that a Website provides to the user for accessing various parts of the Website • It probably is the most important aspect of the design of a Website
  • 8. 8 Good designs assist the user in recovering from errors
  • 9. 9 Today’s Goals: (Computer Networks) • We will become able to appreciate the role of networks in computing • We will look at several different types of networks • We will familiarize ourselves with networking topologies and protocols
  • 10. 10 All of you have used computer networks. What is a computer network?
  • 11. 11 Computer Network Multiple computers that are connected together to share information and other resources
  • 12. 12 Examples of Computer Network Usage • I can send an eMail message to a remote computer using the SMTP protocol • I can browse documents residing on a remote computer using the HTTP protocol • I can download or upload files to a remote computer using the FTP protocol • I can run a program on a remote computer using the TELNET protocol
  • 14. 14 Components of Conventional Computer Networks 1. Computers 2. Network Interface Cards (NIC) – I/O device that plugs into the computer – Enables it to communicate over a network 3. Hub – The network traffic controller
  • 15. 15 Components of Conventional Computer Networks 4. Cables – Are either electrical or optical – Not required at all for wireless networks 4. Protocol – Rules governing communications over the network
  • 16. 16 How Does a Conventional Network Work? 1. Suppose computer A wants to send a message to D 2. Computer A sends the message to its NIC 3. The NIC translates the message into electrical pulses suitable for the computer network in use & transmits it to the hub through the cable
  • 17. 17 How Does a Conventional Network Work? 4. The hub receives them and forwards them to all computers connected to the it 5. The NICs of all computers connected to the hub receive the forwarded electrical pulses 6. The NIC of computer D decides that the message is for it, & translates the pulses back to a form suitable for the computer
  • 18. 18 Hub (1) • A device that is used to connect several computers to form a network • A hub has several ports. The number generally is 8, 12, 16, 24, 32, or 48
  • 19. 19 Hub (2) • Each computer in a network is connected to one of those ports through a cable • A computer wanting to send a message to one of the others in the network sends a message to the hub, which, in turn, broadcasts the message to all others connected to it
  • 20. 20 Packet (1) • The smallest unit of data transmitted over a computer network • A message to be transferred over the network is broken up into small packets by the sending computer • Each packet contains the following info: – Sender's address – Destination address – Data – Error-recovery info
  • 21. 21 Packet (2) • All packets travel independently • When all packets are received by the destination computer, it reassembles them to form the original message
  • 22. 22 Types of Computer Networks according to the network access policy • Private • Public
  • 23. 23 Private Networks (1) • Organizations having many computers usually connect them in the form of private networks • Access to these network is restricted to authorized computers only
  • 24. 24 Private Networks (2) • This allows computers from within the organization to exchange info, but keeps the info private and protected from outsiders • All equipment on a private network is generally for the exclusive use of that organization
  • 25. 25 Public Networks • All networks that are not private, are … public • Example: Internet • Communication equipment used in these networks is generally being used by users belonging to several (possibly thousands of) organizations as well as those belonging to no organization
  • 26. 26 VPN: Virtual Private Network (1) • From the user’s point-of-view, a VPN looks like a secure, private network • VPNs use public telecom infrastructure, maintaining privacy through security procedures
  • 27. 27 VPN: Virtual Private Network (2) • VPNs provide secure network connections for distance computers without using dedicated, private channels to supply the connection • Key benefit of VPNs over conventional PNs: Lower cost
  • 28. 28 Types of Computer Networks according to the distance between nodes • LAN: Local Area Network) • WAN: Wide Area Network)
  • 29. 29 LAN • A network of computers located in the same building or a handful of nearby buildings • Examples: – Computer network at your PVC – Computer network of a University campus
  • 30. 30 WAN • A network in which computers are separated by great distances, typically across cities or even continents • May consist of several interconnected LANs • Example: – The network connecting the ATM of a bank located in various cities – A network connecting the local and oversea offices of a SW house – Internet
  • 31. 31 Connecting LANs to other Networks Special-purpose devices are used to link LANs to other networks They may belong to one of the following categories: – Routers – Bridges – Gateways – Modems
  • 32. 32 Router • A special-purpose computer that directs data traffic when several paths are available • A router examines the destination info in each arriving packet and then routes it through the most efficient path available • The router either delivers the packet to the destination computer across a local network or forwards the packet to another router that is closer to the final destination
  • 33. 33 Bridge • Used to form a connection between two separate, but similar networks • In a way, it creates an extended LAN by passing information between two or more LANs
  • 34. 34 Gateway • A special-purpose computer that connects and translates between networks that use different communications protocols • LAN’s may use a gateway (or router) to connect to the Internet
  • 35. 35 Modem (1) • I/O device used for connecting two computers over telephone lines • modem = modulator + demodulator
  • 36. 36 Modem (2) • Modulator converts computer messages to electrical pulses that are suitable for transmission over the telephone lines • Demodulator converts electrical pulses received over telephone lines into messages that are comprehensible for computers
  • 37. 37 Network Topologies • The pattern in which computers are connected to form a network • Popular patterns: – Point-to-point – Star – Bus – Ring • Networks are also formed by combining 2 or more of these 4 basic patterns
  • 39. 39 P2P • Inexpensive • Limited connectivity • Quite often used for connecting two LANs to form a WAN
  • 41. 41 Star (1) • A computer sends the address of the intended receiver and the data to the server • The server then sends the message to the intended receiver • This topology allows multiple messages to be sent simultaneously
  • 42. 42 Star (2) • Costly, because it uses an additional computer to direct the data • Costly, because each node is individually wired to the hub • If the server goes down, so does the network • If any of the nodes goes down, the rest of the network is not affected
  • 44. 44 Bus (1) • No server is required • One computer sends data to another by broadcasting the address of the receiver and the data over the bus • All the computers in the network look at the address simultaneously, and the intended recipient accepts the data
  • 45. 45 Bus (2) • A bus network, unlike ring or star networks, allows data to be sent directly from one computer to another • However, only one computer at a time can transmit data. The others must wait to until the bus gets idle • If any of the nodes goes down, the rest of the network is not affected
  • 47. 47 Ring (1) • No server is required • A computer sends the message to its neighbor. The neighbor examines the message to determine if it is the intended recipient • If the data are not intended for that particular neighbor, it passes the message to the next computer in the ring
  • 48. 48 Ring (2) • This process is repeated until the data arrive at their intended recipient • This topology allows multiple messages to be carried, simultaneously • Data transmission is slow since each message is checked by each computer
  • 49. 49 Ring (3) • New nodes are difficult to add • Messages propagate in one direction only • The network fails if a single node fails
  • 51. 51 Networking Protocols • Networks use protocols, or rules, to exchange info through shared channels • Protocols prevent collisions of packets caused by simultaneous transmission between two or more computers • Several protocols are available for various types of networks. Here we discuss two that are popular for LANs: Ethernet; Token Ring
  • 52. 52 Ethernet Protocol • A computer using this protocol checks if a shared connection is in use before transmitting a message • If not, the computer transmits data • Two computers may sense an idle connection and may send packets simultaneously. To account for such situations, transmitting computers continue to monitor the connection and re-transmit if a packet collision occurs
  • 53. 53 Token Ring Protocol • This protocol passes a special message called a token through the network • A computer that receives the token is given permission to send a packet of information • If the computer has no packet to send, it passes the token to the next computer
  • 55. 55 Types of Communication Channels 1. Wire 2. Wireless A key characteristic of these channels is bandwidth
  • 56. 56 Bandwidth • Capacity of a communication channel for carrying data • Measured in bits/s (bps), kb/s, Mb/s, Gb/s, Tb/s • Optical fiber channels have the highest (1 Tb/s) • Telephone lines the lowest (56 kb/s)
  • 57. 57 Types of Communication Channels Wire –Copper • Twisted-pair • Coaxial cable –Optical fiber Wireless –Line-of-sight • Microwave • Optical –Non-line-of-sight • Satellite • Radio • Cellular
  • 58. 58 Wireless (Radio) LANs Are Becoming Popular Key benefits: – Set-up time – Set-up cost – Maintenance cost – Cost Key challenges: – Security & privacy – Quality of service – Cost
  • 59. 59 Network Security (1) • Keeping an eye on the security of private networks (e.g. LANs) is relatively easy • However, their connections to other networks (e.g. the Internet) pose a security risk because the one has no control over users on those networks
  • 60. 60 Network Security (2) • Applications transferred from the Internet to the LAN may contain computer viruses • External, unauthorized users may gain access to sensitive data • A special type of gateway - a firewall – can keep external users from accessing resources on the LAN while letting LAN users access the external info
  • 61. 61 Firewall • A system that that guards a private network, enforcing an access/deny policy to all traffic going to and coming from the Internet • It keeps an eye on all the packets that go in and out of the private network and blocks them or allows them to continue to their destination according to the policy
  • 63. 63 Firewall Policy: Example One can configure a firewall to allow only eMail to enter the private network, thus shielding it from any malicious attacks except for those via eMail
  • 64. 64 In Today’s Lecture • We looked at the role of networks in computing • We looked at several different types of networks • We familiarized ourselves with networking topologies and protocols
  • 65. 65 Next Lecture: Introduction to the Internet • To become able to appreciate the role of the Internet in today’s computing • To become familiar with the history and evolution of the Internet