computing Flashcards
What are the four layers of the TCP/IP stack?
Application, transport, internet/network, link
What is the purpose of the application layer in TCP/IP?
to provide protocols and standards for applications to communicate and access network services
What is the purpose of the transport layer in TCP/IP?
sets up communication between host devices - agree on parameters such as language and packet size
What is the purpose of the internet/network layer in TCP/IP?
addresses packets sent in the transport layer - routes packets across network
What is the purpose of the link layer in TCP/IP?
Facilitates the transmission of data (binary) through physical media across network
What protocols are used with the application layer of TCP/IP?
File Transfer Protocol (FTP), Hypertext Transfer Protocol (Secure) (HTTP/HTTPS)
What protocol is used with the transport layer of TCP/IP?
Transmission Control Protocol (TCP)
What protocol is used with the network/internet layer of TCP/IP?
Internet Protocol (IP)
What protocols are used with the link layer of TCP/IP?
Ethernet, WiFi, Bluetooth
Why are both MAC and IP addresses needed in TCP/IP?
IP addresses are needed for communication between devices on different networks, while MAC addresses are needed for communication across the same network
What is meant by the TCP/IP stack?
The TCP/IP stack is a set of protocols that enables communication between devices on a network, organized into layers, each responsible for a specific aspect of the communication process.
What are some benefits of using ASCII over Unicode?
Simplicity, compatibility with many computer systems and only using 7 bits
What are some benefits of using Unicode over ASCII?
Supports a far wider range of scripts and alphabets
What is a parity bit?
An extra bit added to a group of bits that checks if the number of 1s is even or odd
What is the function of a parity bit?
To detect errors in data and allowing this error to be detected when this data is communicated over a communication channel
What is backtracking?
Incrementally working towards a solution, abandoning partial success when solution can’t be completed and reverting to a previously successful match
What problems are best suited to using backtracking?
Logic problems (e.g. path-finding algorithms)
What is data mining?
The analysis of vast amounts of raw data to find information and trends
What examples of real life use of data mining are there?
Consumer buying habits, stock markets, weather modelling
What are heuristic methods?
Methods that may not find a perfect solution but finds a solution that’s workable
What is the definition of encryption?
The process of encoding a message so that it can only be read by the sender and the intended recipient
How does symmetric encryption work?
A single key is used to encrypt and decrypt the message - both parties need access to the key and need to keep it secret
What are some weaknesses of symmetric encryption?
Can be fairly easily cracked through interception of the key or duplication of the key generation process
How does asymmetric encryption work?
The message is first encrypted by one key, and the once the message is sent it is decrypted by a second key