Networking -by Chris
- 1 Data Transmission and Networking
- 1.1 Introduction
- 1.2 (1) The advantages of Networks over standalone computers
- 1.3 (2) Hardware and Software
- 1.4 (3) Network Topologies
- 1.5 (4) Types of Data Transmission
- 1.6 (5) Bit Rates
- 1.7 (6) Checking and correcting errors
- 1.8 (7) Advantages and Disadvantages of Networking
Data Transmission and Networking
work in progress
|Work in progress, expect frequent changes. Help and feedback is welcome. See discussion page.|
This self study material is a handout meant for students of AS and A2 level studying for computing.
It covers the necessary notes on Data transmission and Networking to prepare the students for an advanced
level examination for Cambridge for that topic
-describe the characteristics of a Local Area Network (LAN)
-discuss the hardware and software requirements for LANs and WANs to function
-describe for each type of network topology their relative strengths and weaknesses
-describe the characteristics and uses of Serial and Parallel transmission of data
-describe the characteristics of Simplex, Duplex and Half Duplex data transmission
-explain bit rate/baud rate
-explain the advantages and disadvantages of networking
(1) The advantages of Networks over standalone computers
Think of a classroom with 10 stand alone computers .
Reflect on the inconveniences of having these computers not connected together?
Every time the lesson ends pupils would need to store their files on a computer’s hard disk.
It would be possible to store the files on a floppy disk or pen-drive and take them away with you,
but most of the time the files will be stored on the hard disk. A pupil who wants to use those files
again later would have to sit at the same computer.
Pupils would not be able to share their files, data and information.
They would not be able to connect to each other.
Linking the computers together would change the situation and bring more advantages:
The system would allow access to the same files through any of the 10 computers, which means
that the student could sit anywhere and use any computer. The computers then, need to be
connected up to each other. When computers are connected together, they make a network. A network of 10 computers in the school classroom would allow the pupils to share data,
information, files and communicate among themselves in a more collaborative way.
This communication is made easier because of the short distances involved.
But if a business situated in one country and having its offices in remote countries
wanted to connect the computers together, they would have to overcome the problem of distances.
Fortunately it is easy to connect computers even though they are far apart.
Networks connected over small distances are called Local Area Networks (LAN)
while those connected over great distances are Wide Area Networks (WAN).
Whether the network is a WAN or a LAN it will have many advantages such as offering
the pupils the chance
to communicate with one another,
to share data and information ,
to share copies of software and to allow multiple access to files of data.
to update software at only one place
In a LAN there is , furthermore, the added benefit of being able to share hardware,
so the classroom with 10 computers may only have 3 printers of different types that could
be used for different tasks.
(2) Hardware and Software
What is needed for networking
To connect computers in a network we need the following
- a special piece of hardware attached to the processor, called a network interface card(NIC).
This network card gives each computer its identity and allow them to communicate.
- To connect the computers we use a cable. The cable is coaxial, like a television aerial.
It has a limitation in that the signal gradually deteriorates as it is sent down the cable which
means that the maximum length of the cable is about 300 metres. This maximum depends on a number
of things, not least the quality of the cable used, but all cable is ultimately going to be limited in length.
- The more and more computers are attached to the network, communications have to be controlled.
This is done by a computer which acts as a server or a network server and whose job is to
control the network. Another job of the server is to control access to the files and software
held on the hard disk. The server can also act as a printer server and control the effective use
of the printers.
- To allow good communications around such a system we need a network software or a network operating system.
A wide area network differs because the distances involved are greater than for a LAN.
The telephone system is used to connect the computers over a long distance. Here modems are used
at the other ends to alter the signals used by the phone and the computer so that good communications take place.
(3) Network Topologies
Network topologies are the different ways the machines can be connected on a network.
The shape of the network is known as its topology. Here we consider three different network topologies.
1. Bus network
The Bus network have all the hardware items on the same, central, communication line,
known as a bus. The advantage is that this setup is easy because there is only one communication line.
But the disadvantage is that if the cable breaks at one place it will stop all communications in the network.
2. Ring network
In a ring network the two ends of the bus are just joined up. This forms a loop where data can travel
in both directions along the cable. Here if there is a break in the cable, the network will still
continue to operate as messages can go in the other direction.
3. Star network
In a star network all the hardware are connected to the network server.
This means that if a piece of hardware breaks only that hardware will be affected.
But if the network server breaks the whole system is down.
(4) Types of Data Transmission
4.1 Serial and Parallel transmission of data.
There are two ways that data can be transmitted between devices in a computer system.
When a single wire that links the two devices is used, the data can be transmitted
in the form of bits down the wire, so that one byte(8 bits), that stands for a single character,
will be transmitted as 8 signals .
As there is only one wire, only one bit can be transmitted at a time. This is known as SERIAL
transmission of data.
Serial transmission has the advantages of being simple and reliable because the next bit
is not transmitted until the current one has arrived at its destination. However, because only one bit can be transmitted at a time, the speed of transmission is slow. If the devices are connected by 8 wires, then more bits can be sent at once.
Therefore a whole byte can be sent at once instead of having to send one bit at a time.
This type of data transfer is called Parallel transmission. Parallel transmission of data
is faster than serial because all the bits are travelling at the same time
4.2 Different modes of transmission.
There are three different modes of transmission .
a) Simplex mode.
If data travels in one direction then it is known as a SIMPLEX transmission. A good example
is teletext information which is passed to a television receiver in one direction and there is
no way to send data in the other direction.
b) Duplex mode.
Where data can pass in both directions at the same time this is known as DUPLEX transmission of data.
An example is a telephone conversation where both users can speak and be heard at the same time.
c) Half duplex mode.
Where data can pass in both directions, but only in one direction at a time, the transmission is called
HALF DUPLEX. An example is a CB radio system in which each handset can either be set to receive mode
or send mode.
(5) Bit Rates
Information are usually sent to devices in a computer system from other devices. If a picture needs
to be sent down a telephone line to another computer it will take more time than when a piece of
text is sent. This is because the picture is made of many pixels and takes a longer time to transmit
than the text which is composed of fewer bits (1 byte per character).
The number of bits that can be sent in one second is known as the BIT RATE. It is measured in BAUD.
1 baud = 1 bit per second.
When pictures are being transmitted, e.g. on the internet, it is important to limit the amount
of data that are sent as the time taken to download the data can be long. Reducing the size of pictures
so that they take up a small part of the screen, or that they are restricted to a few colours will ,
obviously, speed up their transmission and is known as compression.
(6) Checking and correcting errors
When data is transmitted from one part of a computer system to another, it is transmitted as
a series of binary digits. There are two possible mistakes that can occur, either a 0 is received
as a 1, or a 1 is received as a 0. These mistakes can occur when there are noise along the transmission.
There are three methods for checking the data when they are transmitted.
(a) Echoing Back.
The is the sending of data back again and checking them. If the data that is sent back is the
same as the data that was sent then the original data must have reached its destination correctly,
if not then it needs to be sent again. This is known as ECHOING BACK. Echoing back suffers from
having to send data twice, thus taking longer than necessary, and needing to be a duplex,
or half duplex, system to allow data transfer in both directions.
All data is transmitted as bits (0s and 1s). The Number of 1s in a byte must always be either an
odd number or an even number. If two devices that are communicating data decide that there will
always be an odd number of 1s, then if a byte is received that has an even number of 1s, an error
must have occurred. The receiving device would ask for it to be sent again.
Notes: •The implication in all the above work is that odd parity is always used. Even parity can equally
well be used, whichever has been agreed between the two devices. •Parity is not only used during data transfer between devices, but also when data is
transferred between different parts of the CPU.
(c) Check Sum.
Here Data is sent from one place to another as a block of bytes rather than as individual bytes.
The computer can add numbers together without any trouble, so another checking procedure is to
add all the bytes together that are being sent in the block of data. This answer is calculated
before the data is sent, and then calculated again when it is received, and if there are no
errors in the transmission, the two answers will match.
(7) Advantages and Disadvantages of Networking
•The main advantage of connecting computers in a network is that they can share data.
When machines are networked there only needs to be one copy of the database. If any change
is made to the database it will be available by other machines.
•The machines can be used to communicate. The pupils can collaborate on one project as each student
does a bit of the work or e-mail can be used as part of an intranet or over the internet.
•On a LAN the sharing of hardware and software between machines can reduce the cost of a large amount
of computer equipment and software.
•Also on a LAN, access to files does not depend upon the user working on the same machine every time.
Access through password can allow him to retrieve his file from anywhere on the LAN
•Security of files may be a problem. But Methods like user ID and password systems have to be
employed to ensure that the correct users are given access to the correct files and folders.
Besides there are a log which record any work done on the network
•If there is a problem on the network server it can effect more than one station,
and the network will fail.