Computer Science IGCSE Chapter 2 Notes
Computer Science IGCSE Chapter 2 Notes
Data Transmission
Internet Technologies
Data Transmission
2 Method of Transmission
3 Method of synchronization
Direction of Data Transmission
A B
Method of Transmission
1 Serial Transmission
Sender Receiver
Data sent one bit at a time over
single wire.
0 1 0 0 1 1 1 0
transfer well over for long distance
slower 1 1 1 0 0 1
Method of Synchronization
2 Synchronous Transmission
No control bit
Faster
…1 1 1 0 0 1 0
Universal Serial Bus (USB)
USB is an asynchronous serial data transmission.
USB cable consists of four wire shielded cable.
Two wires are used for power and earth
Two wires are used for data transmission
When you plug a USB into your device
Computer detect a device automatically due to difference voltage.
Device is recognized automatically and device driver are loaded up for
communication between computer and device.
If it is new device
Search for related device driver
If it is not present, the user is prompted to download the appropriate
software.
Advantages and Disadvantages of USB
Advantages Disadvantages
Parity bit
1 1 1 0 0 1 0
Sender Receiver
Parity checking
Parity bit
0 1 1 0 0 1 1 0
Parity bit
1 1 1 0 0 1 1 1
Parity checking
How to insert parity bit in odd parity
Parity bit
1 1 1 0 0 1 1 0
Parity bit
0 1 1 0 0 1 0 0
Parity checking
How to check errors
In the following data transmission, Sender and receiver used even parity.
In the following data transmission, Sender and receiver used odd parity.
Byte 6 1 0 0 0 1 0 0 0
Byte 7 1 0 1 0 1 1 1 1
A corrected byte value.
Byte 8 0 0 0 1 1 0 1 0
00010010
Byte 9 0 0 0 1 0 0 1 0
Parity 1 1 0 1 0 0 0 1
bit
Automatic Repeat Request (ARQ)
uses
ACKNOWLEDGEMENT : A message sent by the receiver indicating that data
has been received correctly
TIMEOUT : Time allocated within which acknowledgement should be sent.
If acknowledgement not received within timeout, data is resent.
…1 1 1 0 0 1 0
ACKNOWLEDGEMENT
Sender Receiver
Checksum
an additional value, the checksum is also sent at the end of the block of data.
IF x>256
X = 1185
1185/256 = 4.629
Y=4
Z = Y * 256 = 1024
The checksum=(1185 – 1024) = 161
The step of checking error using checksum
If they are the same value, then the data was transmitted without any errors;
if the values are different, then a request is sent for the data to be retransmitted.
Sender Receiver
Data , checksum
Data , checksum
checksum
Check Digit
an extra value is transmitted to help determine if the data received is correct or
incorrect.
This value is known as a check digit.
The value of the check digit is usually calculated from the other data being sent.
Echo checking
When data is sent to another device, this data is sent back again to the sender.
The sender compares the two sets of data to check if any errors occurred during
the transmission process.
Not very reliable, used very rarely.
Sender Receiver
Data
Data
Internet technologies
A unique address that gives the location a unique number that identifies a device
of a device on the internet connected to the internet.
Multiple devices possible to have same MAC address of device are different
IP address. from another.