Computing
Computing
9.2: Network
What is a network?
A set of computers and devices that are connected to communicate and share
resources.
The network can be local or spread across countries
Advantages Disadvantages
Sharing devices such as Purchasing the network cabling and file servers can
printers saves money. be expensive.
Files can easily be shared If the file server breaks down, the files on the file server
between users. become inaccessible. Email might still work if it is on a
separate server. The computers can still be used but
are isolated.
Security is good - users cannot There is a danger of hacking, particularly with wide
see other users' files unlike on area networks. Security procedures are needed to
stand-alone machines. prevent, e.g., a firewall.
Network Interface Card (NIC) - every device that connects to a network has a
NIC, which has a pre-programmed MAC Address so it can be identified on a
network
Wireless Acess Point (WAP) - a network device that allows wireless capable
devices to connect to the Wi-Fi
Servers -
● File Server-place to store and access files
● Print server-They help users connect to shared printers and they process
files from a client to the printer.
● Mail server-A mail server (sometimes called an email server) is a software
program that sends and receives email
● Web server-used for accessing the world wide web. The main job of a
web server is to display website content through storing, processing and
delivering webpages to users
Firewall - restricts the network traffic entering and exiting a network, to ensure
that it is safe
Network Protocols
TCP/IP:
TCP - Transmission Control Protocol
IP - Internet Protocol
Data Packet:
Packet Switching:
A method of data transmission in which a message is broken up into a number
of packets.
They can be transported individually and at the destination, the packets need
to reorder into the correct sequence.
HTTP/HTTPS:
Even Parity:
1 1 0 0 1 0 1 0
The number of 1s should be even if not they should add 1 so it is even
0 1 0 0 1 0 1 1
The number of 1s should be even, if they are, add a 0
Odd Parity:
1 1 0 0 1 0 0 0
The number of 1s should be odd if not they should add 1 so it is odd
0 1 0 0 1 0 1 0
The number of 1s should be odd, if they are, add a 0
Scalability:
Scalability means how a network can cope when there is a sudden increase in
movement of data between more devices
String-Handling:
text=input("enter")
print(text.capitalize())
print(text.upper())
print(text.lower())
print(len(text))
print(text[0:2])#slicing
Sub Programs:
Syntax: