Professional Documents
Culture Documents
Computer Communications
Computer Communications
Computer Communications
www.usatoday.com
Access Link:
Dialup, DSL,
Cable
Links
48 0 65 A 97 a
49 1 66 B 98 b
50 2 …. ….
…. 90 Z 122 z
57 9
Copyright 2007 Jim Martin 5
Back to binary
When ‘hello’ gets sent, the following decimal
numbers are sent: 104 101 108 108 109
We have now seen the message ‘hello’ in two
formats: ascii and decimal
Remember what decimal format means:
A decimal number is a number (e.g., 104) that has a
number of digits with the value of each digit ranging from 0
to 9.
Each digit represents some number of 1’s, 10’s, 100’s , …
Example: 104 in decimal:
(1 * 100) + (0 * 10) + (4 * 1) = 104
The magnitude of the first 8 places in binary notation are given by 2EXPdigit# (i.e., a base-2
number system and the digits are referred to as bits):
Bit# 7 6 5 4 3 2 1 0
128 64 32 16 8 4 2 1
Example:
The number 10 interpreted in decimal is (1 * 10) + (0 * 1) = 10 (in decimal)
The number 10 interpreted in binary is (1 * 2) + (0 * 1) = 2 (in decimal)
Example
The number 13 in decimal is (1 * 10) + (3 * 1) = 13 (in decimal)
The number 13 in binary does not exist. Digits must by 1’s and 0’s
To convert the decimal number 13 to binary: (1 * 8) + (1 * 4) + (1 * 2) + (1 * 1) = 13
More examples of converting between binary and decimal systems:
0x00000010 = 2 in decimal
0x00000100 = 8 in decimal
0x10000010 = 130 in decimal
0x11111111 = 255 in decimal
hello hello
Answer:
1000000000 / 1000000 = 1000 files
Will SEND 1,000,000 byte file Will receive 1,000,000 byte file
Internet
Access Link:
Dialup, DSL,
Cable
Copyright 2007 Jim Martin 11
Data Calculations
An access link can send 56,000 bits per second
How many bits in the file:
1,000,000 * 8 = 8,000,000 bits
How long does it take to send 8,000,000 bits over the link?
8,000,000 bits / 56,000 bits/second = 142.8 seconds
Will SEND 1,000,000 byte file Will receive 1,000,000 byte file
Internet
Access Link:
Dialup, DSL,
Cable
Copyright 2007 Jim Martin 12
Data Calculations
How long does it take to send a 4.4 Gbyte DVD ?
628,571.4 seconds