Week 1
Week 1
SWE-306
Computer Communication &
Networks (CC&N)
Introduction
(Week 1 Lecture)
Course Overview
Brief description of CC&N Expectations
1
2/22/2021
Terminology
Data Communications v Networking
2
2/22/2021
Terminology
• A computer is a
programmable machine that
can perform various
computations, store data,
and create documents
• It follows a set of
prerecorded instructions
called a Program.
• The data generated or stored
by the computer is a
collection of zeros and ones.
Terminology
Data communications
3
2/22/2021
Terminology
Networking
Summary
• Data Communications
is concerned with bits
and bytes of digital
data getting from point
A to point B across a
direct link.
• Networking is concerned
with the *interoperability
and exchange of information
among applications
** Interoperability the ability of computer systems or software to exchange and make use of information.
4
2/22/2021
Data Communications v
Networking
I’m a programmer, why do I need to know about data communications?
5
2/22/2021
Transmission protocols
Token based authentication
Web API design ?
Sessions
• And if you want to do more than just log in, you will need a lot more; RESTful
APIs, application servers, load balancing, database sharing, etc.
Of course, if you are just want to create programs that do not connect to Representational state transfer (REST)
or RESTful web services are a way of providing
remote servers over the Internet, then you don't need to know anything interoperability between computer systems on
the Internet.
about networking. But who creates non-connected apps anymore?
To properly design a mobile application the programmer must be able to estimate the total
amount of data to be transmitted within a particular time period (seconds, minutes, hours)
to know how much throughput is needed by the network
6
2/22/2021
By understanding the layers of abstraction (Concept) below the network level you will be
better able to write and to troubleshoot a network application.
US Network Speeds
7
2/22/2021
Legend
Dialup 56 kbs
4G – 1.5 Mbps
8
2/22/2021
Data Communication v
Networking
A Brief History
9
2/22/2021
10
2/22/2021
n-Tier Programming
Expedia Example
11
2/22/2021
What is … ?
• Data
• refers to information presented in whatever form is agreed upon by the parties creating and
using the data.
• Communication
• Information transfer, according to agreed conventions using hand signals, language, Morse
code (on-off tones, lights, or clicks ), smoke signals etc.
• Telecommunication
• Communication at a distance, includes telephony, telegraphy, television etc.
RQ 23
Terminology
Data Communications & Networking
12
2/22/2021
What is … ?
• Data Communication
• Transfer of data from one or more sources to one or more destinations.
• Computer Network
• A network of data processing nodes that are interconnected for the purpose of
data communication.
• Node
• A node can be a computer or printer etc. or any other device capable of sending
and/or receiving data.
RQ 25
13
2/22/2021
27
Data representation
• Text
• ASCII
• American Standard Code for Information Interchange
• Extended ASCII
• Unicode
• Numbers
• Images
• Audio
• Video
28
14
2/22/2021
•Simplex
•Half-duplex
•Full-duplex
29
Networks
• A network is a set of devices (nodes) connected by
communication links.
15
2/22/2021
Types of Connection
• A link is a communications pathway that transfers data from one
device to another.
Point-to-point
Multipoint
31
Point-to-Point Connection
16
2/22/2021
Multipoint Connection
33
Network Topology
• It refers to the way in which a network is laid out(arranged) physically.
34
17
2/22/2021
Mesh topology
• Every device has a dedicated
point-to-point link to every
other device.
35
Star Topology
• Each device has a dedicated point-to-point link to a central
controller (usually a hub).
36
18
2/22/2021
Bus Topology
• One long cable acts as a backbone to link all devices.
37
Ring Topology
*each computer can act as a server for the others, allowing shared access to files and
peripherals without the need for a central server.
19
2/22/2021
Ring Topology
Ring Topology
20
2/22/2021
Hybrid Topology
• A network can have hybrid or a combination of different topologies
• Example: a star backbone with three bus networks
41
Categories of networks
42
21
2/22/2021
• Smaller Scope
• Building or small campus
• Usually owned by same
organization as attached
devices
• Data rates much higher
• Usually broadcast systems
43
44
22
2/22/2021
45
23
2/22/2021
47
The Internet
• The Internet is a global
system of interconnected
computer networks.
• It is a network of
networks that consists of
millions networks, linked
by a broad array of
electronic, wireless, and
optical networking
technologies.
48
24
2/22/2021
• A protocol defines …
• what is communicated
• how it is communicated
• when it is communicated
Standards Organizations
50
25
2/22/2021
Internet Standards
• An Internet Standard is a specification of a technology or methodology
applicable to the Internet.
• specified as one or more Request for Comments (RFC) document(s)
• published by the Internet Engineering Task Force (IETF)
• Contributions to the IETF start as an Internet Draft.
• This is a working document (a work in progress) with no official status and limited
lifetime
• Upon recommendation from the Internet authorities, a draft may be
promoted to RFC.
• RFCs may be labeled as Proposed Standards, Draft Standards or Internet
Standards depending on their maturity level.
51
26