Data Communication Flashcards
What is serial and parrallel data transfer?
- Serial - One bit at a time along a single wire
- Parallel- Simultaneous transmission of multiple bits along multiple wires
Parallel vs Serial?
Parallel can become out of sync, and cross talk can happen between the wires, is faster, skew can appen, used for short distances. (used in internal busses)
Serial needs less wires, and is easier to amplify the signal due to this, used for long distance
What is baud rate?
The rate(frequency) at which signals on a wire may change
what is bit rate?
the number of bits transmitted per second.
(usually baud rate unless more then 2 voltages are used in order to send more bits per signal change)
What is bandwidth?
the range of frequencies that it may transmit.
what is latency?
the time delay that can occur between the moment somthing is initiated and the moment its effect begins.
(cased by distance and processing delay)
Relaionship between bandwidth and bit rate?
Direct
W bps can be acived with 2W Hz
What is asyncronus serial data transmission?
The arival of the data cannot be predicted by the recivior. A start and stop bit are used to syncronise the transmitter and recivor tempororily.
(the two clocks arent in sync)
disadvantages of asyncronus?
Extra bits are needed (called overhead)
becomes very out of sync at high speeds.
What are the start and stop bits?
- Used in asyncronus serial transmission
- They are of different states (eg 0 and 1)
- Start bit cause the recivors clock to start (so its in time with baud rate)
- Stop bit allows recivor to process the recieved bits
- They indicate when data is being transmitted
where does the parity bit go in asyncronus packets?
before the stop bit
What is handshaking?
The process of agreeing via an exchange of signals which protocol will be used between the sender and the recivor. Eg speed, parity, startnstop bits.
- Checks that both are ready to recieve
- Tells its sending
- Tells its recieved
- Tells its ready to recive more data
What are flow control signals?
Happen on alternate wires (or in the main wire) they are signals that happen during transmission. Eg request to send, clear to send.
advantages of asyncronus coms
- No sync needed meakes it simple
- cheaper - less hardware
- Faster setup - Good for irregular messages eg keyboard
sYCRONOUS COMS ADVANTAGE
- less overhead
- used more in real time coms
- easier error recovery
asyncronus coms disadvantage
- large overhead
- complex error handling
syncronous disadvantages
- hardware is more expensive
- more complex
- servers must be running
what does a modem do?
Changes the digital signal to an analogue frequency and sends it across analogue link (or the other way around)
What kind of signal is used on LAN and WAN
Baseband -LAN = lower cost,good at shgort distances
Broadband-WAN, long distance - would be expensive if one one chanell could be used at once
what is broadband?
Use modulated signals with a carrier wave, many signals can be trasmitted at once on different channels with a different frequency of carrier wave.
what is baseband?
the signal occupies the entire bandwidth so only 1 signal can happen at once
wHAT IS MODULATION
Chaninging a carrier signal
types of modulation
- Amplitude modulation - Ampuitude changes
- Frequency Modulation - Freequency changes
- Phase modulation
Why do networking?
- Sharing of hardware
- Sharing of software
- Sharing of information
- communication between users
- Easier to instal n update aplication programs by distributing throughout the network
- enables centralised support and maintenance eg backup n virus protection
- enables access control and monitoring
Downsides of networking?
- Hardware and software costs
- Slower access to network resourses
- One component failing may affect many users
- people become dependant on the network
What is a LAN
a collection of connected computers confined to one site.
What is a WAN
a collection of connecdted computers spread across a wide geographical area, and could be used by large organisations with unique coms system.
what is internetworking?
connecting networks together
what is a stand alone computer?
A NON NETWORKED COMPUTER, NEEDS ITS OWN PERIPHERALS AND SOFTWARE.
circuit switching and packet switching?
Circuit- a route throught network mustr be found before coms
Packet- a path isnt needed first
What is a bus network?
Single shared bi-deirectinal communication channel, can connect severeal.
pros n cons to bus network?
- Cheaper to cable- less wire
- easier to constuct and add stations to
- The backbone breaking will stop coms to many users
- Sharing of cable can lead to xzturation which degrades proformance
What is a star network
Has a central computer (hub), EACH COMPUTER HAS ITS OWN CONNECTION TO THE HUB
(signal gets sent to all lines from the hub)
pros to star networking
- Proforms well under load
- Cable failure obnly effects on station
- fits well into office layout
- easy to add new cables
- can have different speeds for each station
cons to star netwqorking
- expensive to cable
- hubfailure leads ro total failure
- hub is expensive
How are networks eg etehernet normally made (topology)
A mix between star and bus. Each connection from a star is a bus network
HArdware needed for networking
- Some kind of cables
- NEtwork adapter (connects a computer to a network)