Difference between revisions of "Communication Methods"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Question 9)
(Question 11)
Line 340: Line 340:
  
 
{ What type of latency is the time taken to pass through a logic gate?
 
{ What type of latency is the time taken to pass through a logic gate?
| type="()" }
+
| type="()" }
  
 
+ Propagation Latency
 
+ Propagation Latency

Revision as of 10:24, 12 November 2019

Overview

CraigNDave

https://www.youtube.com/watch?v=6KsEiwCZi4g&list=PLCiOXwirraUAVO2FCJUdKRM6hYj9teHVe

TRC PowerPoint

Comms Methods

Parallel Vs Serial

Computer Science Tutor

https://www.youtube.com/watch?v=CGulJriYNSI&list=PL04uZ7242_M6O_6ITD6ncf7EonVHyBeCm&index=25

SVP.png

Serial Data Transmission

In serial data transmission each bit is sent one after another by varying the line voltage between 0 & 5 volts for each bit, for two way communication a return wire is required. Serial Data Transmission is commonly used in USB and crossover cables.

Uses

Long distance communication

Advantages

Only need one signal path per way, can be used to route over telecommunications, saves cost of cabling

Disadvantages

Signal strength degrades over distance, so repeaters and so on required


Parallel Data Transmission

Each binary word is transmitted as one, with a signal path for each bit, additional signal paths for Return, Ready/Busy, & one strobe wire are required Ready/Busy is the status of the receiver, strobe wire used after signal placed onto wires on Strobe receiver will set Busy & read after read the receiver sets Ready.

Uses

Short distance data communication

Advantages

Offers faster transmission when compared to Serial

Disadvantages

Skew can easily affect data transmission, leading to errors. This is a result of distance, some bits may arrive at slightly different times. Reading the value could be inaccurate if you read before all bits have arrived.

Skew.png

Synchronous vs Asynchronous

Computer Science Tutor

https://www.youtube.com/watch?v=SLjjgjp2bAA&list=PL04uZ7242_M6O_6ITD6ncf7EonVHyBeCm&index=26

Synchronous means at the same time

  • 2 devices will synchronise their transmission signals (based on system clock)
  • Sending device will control transmission rate to match receiving device
  • Once synchronised data can be sent with no other information
  • If devices aren’t synchronised data will be lost

Asynchronous is simply transmission between 2 devices that don’t share a common clock signal.

Asynchronous Transmission

one character is transmitted at a time using start and stop bits to identify the beginning and the end of the character. A parity bit is usually sent to allow for checking for errors during the transmission. It is suitable for relatively small amounts of data.

Start & Stop Bits

  • Arrival of data signaled by start bit
  • Arrival can’t be predicted so it wakes receiver
  • Clock & timing must match on both machines
  • End of transmission is signaled by a stop bit
  • Each unit of data is transmitted separately with start & stop bits

Baud Rate - Bit Rate - Bandwidth - Latency

CraigNDave

https://www.youtube.com/watch?v=I4dSIZM7Qdk&list=PLCiOXwirraUAVO2FCJUdKRM6hYj9teHVe&index=2

Computer Science Tutor

https://www.youtube.com/watch?v=8wm0QlbW9cQ&list=PL04uZ7242_M6O_6ITD6ncf7EonVHyBeCm&index=27

Baud Rate

Frequency at which a signal can change (ie from 0 to 5 volt), a baud signal of one changes once per second

Baudrate.png

Bit Rate

Number of bits transmitted per second, bit rate does not equal Baud rate if more than one bit is sent per time, 2 bits can be sent each time with more voltage levels.

Bandwidth

How fast data can be transmitted over a transmission media without significant reduction in strength greater bandwidth means greater the data rate can be sent there is a direct relationship between bit rate and bandwidth. The greater the bandwidth of the transmission system, the higher is the bit rate that can be transmitted over that system. On a cable, bandwidth is measured in Mhz, network Cable has 500 Mhz bandwidth which means 500 million cycles per second more cycles = more data.


Latency

It is the time delay between initiation and the first effect, WAN latency due to distance eg: between ground stations and satellites

Propagation Latency

Time taken to pass through a logic gate

Transmission Latency

Time taken to pass through a medium

Processing Latency

Time taken to pass around a network

Protocols

Is a set of agreed:

  • Rules
  • Codes
  • Signals

That allow the transfer of data from one system to another And consists of:

  • Handshake
  • Message
  • Goodbye

There are multiple commonly used protocols:

TCP/IP and UDP

Sending and receiving data over a network

HTTP and HTTPS

Retrieve pages from the world wide web

FTP

Transfer and upload files, often anonymously

TELNET, SSH

To connect to and manage a server

POP3 and SMTP

Send and receive email

Handshaking

Handshaking sets several variables required for the data transmission:

  • Communication protocol
  • Pre-agreed signal, codes, rules to ensure successful transmission

Sender checks receiver is connected & ready Sender waits for response Sender signals it will start sending data Receiver signals ready, and sender sends data Receiver indicates data received & ready

Communication protocol Pre-agreed signal, codes, rules to ensure successful transmission Handshaking protocol - Exchange of signals to establish a connection Sender checks receiver is connected & ready Sender waits for response Sender signals it will start sending data Receiver signals ready, and sender sends data Receiver indicates data received & ready

Revision Questions

Question 1

Your score is 0 / 0


Question 2

1. Which communication method is best to use for long distance communication and why?

Parallel data transmission because it only uses one wire
This is incorrect because parallel data uses multiple wire in which data is transmitted at the same time.
Parallel data transmission because its really fast
This is incorrect because although its fast it cannot be transferred more then a couple of meters
Serial data transmission because it sends 1 bit after another
This is correct.
Serial data transmission because its really fast
This is incorrect because serial data transmission is not fast, that is parallel data serial data.

Your score is 0 / 0


Question 3

1. What is Latency?

|type="()"

2. your question text

|type="()"

Your score is 0 / 0


{ your question text

|type="()" } 

</quiz>

Question 4

1. Parallel transmission is when (select one or more):

Two or more wires are used for transmission
Correct answer
One wire is used for transmission
Incorrect answer
One or more byte sent at the same time
Correct answer
One bit is sent per second

2. What is Bandwidth measured in:

Mbps
Incorrect answer
Mhz
Correct answer
Ghz
Incorrect answer

Your score is 0 / 0


Question 5

1. What is the baud rate?

| type="()"

Your score is 0 / 0


Question 6

1. Define the term "bit rate".

The number of bits transmitted per second.
Epic.
The number of bits transmitted in a year.
Remember it is per second.
The amount of bits a computer can store.
Bit rate is the number of bits transmitted per second.
The frequency that signals may change.
Bit rate is the number of bits transmitted per second.

2. Define the term "baud rate".

The frequency at which signals may change.
Epic.
The number of bits transmitted in a second.
Remember that it is the frequency at which signals may change.
How fast the computer can process.
Remember that it is the frequency at which signals may change.
The bandwidth.
Remember that it is the frequency at which signals may change.

3. Define the term "protocol".

A set of instructions on how to use a computer.
It is a set of rules on how computers communicate.
A set of rules on how computers communicate.
Epic.
A set of emergency instructions.
It is a set of rules on how computers communicate.
The delay of transmission.
It is a set of rules on how computers communicate.

Your score is 0 / 0


Question 7

1. 1) What is half-duplex?

Data being sent in either direction across multiple wires.
This is incorrect, half-duplex data can flow in either direction on a single wire but not at the same time.
Data being sent in one direction so requires multiple wires.
This is full-duplex. Half-Duplex is when data can flow in either direction on a single wire but not at the same time.
Data can flow in either direction on a single wire but not at the same time.
This is half-duplex
Data can flow in either direction on a single wire at the same time.
Half-duplex data cannot flow on a single wire at the same time.

Your score is 0 / 0


Question 8

1. what is baud rate

The amount of bits sent per second
bit rate
the frequency at which a signal can change
this is correct, it changes from 0-5v, it occurs every second
the time it takes from initiation and the first effect.
this is latency
the amount of bits created per second

Your score is 0 / 0


Question 9

Your score is 0 / 0

{ What is the difference between synchronous and asynchronous data? } | type="()" }

-Synchronous is two sets of data that is sent at different times when Asynchronous is two sets of data that is sent at the same time || nah its not opposite day - Two devices synchronise data signals ||no - The number of bits sent per second ||Drop your computer science A level right now + synchronous is data sent between devices that are synchronised whereas asynchronous is where they aren't || correct

</quiz>

Question 10

1. Explain in the context of networking, why parallel transmission might be preferred to serial transmission (Multiple Answers)

Data is sent over much faster
Can transfer data over large distances much better than serial
Easier to send large amounts of data
It's less costly overall

2. What's the definition of Bit Rate. (Select One)

The amount of data that can be transmitted into the network
The amount of data that can be transmitted per second
The amount of bits sent over a given medium of time
The amount of bits sent over channels in a given medium of time

Your score is 0 / 0


Question 11

1. { What type of latency is the time taken to pass through a logic gate?

Propagation Latency
Correct answer
Transmission Latency
Wrong answer, it was Propagation Latency
Processing Latency
Wrong answer, it was Propagation Latency

Your score is 0 / 0


Question 12

Your score is 0 / 0