Lecture 4
Lecture 4
Lecture 4
Lecture Four
Week 4
Shareef M. Shareef (PhD)
shareef.shareef@su.edu.krd
1
Outline
The Internet.
2
Introduction
In order to understand computer
networking, it is important to know how
data is represented in a computer and
how it is transmitted across a network.
4
Example1-Denary number
8273 has ……
four Digits
• The ‘3’ here is filling the ‘1s place’, the ‘7’ is filling the
‘10s place’, the 2 is filling the ‘100s place’, the 8 is filling
the ‘1000s place’.
• Different digits have different ‘ POWER’ according to their
position within a number.
5
Binary Numbers
Binary or Base-2 numbers are represented
by 0 and 1.
A binary digit (0 or 1) is called a bit.
A series of 8 bits is called a Byte.
A Byte can then represent a single character
of data in the ASCII code:
6
ASCII code Table (0-90)
www.ascitable.pro
7
Binary Numbers (cont..)
Computers can use data that is in this two-state
(binary) format.
8
Binary Numbers (cont..)
9
Example2-Binary number
Any number can be represented using ‘0’
and ‘1’.
Similar positional notation as in denary
system can be used to represent binary
numbers.
Example
11012 = 1*23 +1*22 + 0*21+ 1*20
10
Base 10(Decimal) Numbers
11
Base 2 (Binary) Numbers
12
Converting Decimal numbers to 8-bit Binary
Numbers
13
Example 3
The weights in binary are
4096, 2048, 1024, 512, 256, 128, 64, 32, 16, 8, 4, 2, 1
0 1 1 0 0 0 1 1 1 1 0 0 1
14
Converting 8-bit Binary Numbers to Decimal Numbers
27 26 25 24 23 22 21 20
15
Example 4
Convert 100101002 to a Decimal number.
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 1
16
Example 4
• Convert 10010100 to a Decimal number.
128 64 32 16 8 4 2 1
27 26 25 24 23 22 21 20
1 0 0 1 0 1 0 0
17
Octal and Hexadecimal number systems
Octal (base 8) and Hexadecimal (base 16) provide a
convenient shorthand representation of multiple numbers in
digital system.
Each 3bits (111) (0-7)string can be represented by an octal
digit and each 4 bits string (1111) (0-15)can be represented
by one hexadecimal digit
The word hex is often abbreviated 0x when used with a
value as shown: 0x2102
The hexadecimal number system is used when working
with computers because it can be used to represent binary
number in more readable form.
In presenting multibit numbers a string of three bits can take
eight different combination.
18
Hexadecimal number
To convert a number from binary to
hexadecimal:
Start from the right end of the bit string
towards the left;
Make the total number of bits a multiple
of four( by adding zeroes to left, if
required )
Separate the bits into group of four;
Replace each group with the
corresponding hexadecimal digit.
19
Hexadecimal
Example
Convert 111011100010112 to a hexadecimal number.
21
Network Criteria
1- Performance
Measured in many way: including
• Transit time, and
• Response time
22
Network Criteria
2- Reliability, is measured by
Frequency of failure
The taken time by a link to recover from a failure
Network’s robustness in a catastrophe
3- Security
Protecting data from :
unauthorized access,
damage and development
Implementing policies and procedures
23
Type of Connection
Point-to-point
Dedicated link between two devices
The entire capacity of the channel is reserved
Ex: Microwave link, TV remote control
24
Type of Connection (cont.)
Multipoint
More than two devices share a single link
Capacity of the channel is either:
• Spatially shared: Devices can use the link simultaneously
• Timeshare: Users take turns
25
INTERNETWORK
Internetwork (internet) : two or more networks are connected by
internetworking devices
Internetworking devices: router, gateway, etc.
26
The Internet
The Internet is the largest data network on earth.
Network Access
Point
Point of
Presence
28
A Hierarchy of Networks (cont.)
Point of Presence (POP) - A place for local users
to access the company's network, often through a
local phone number or dedicated line
29