Paper 2 Theory Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Describe Serial Transmission

A

Bits are sent one at a time down a single wire

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe Parallel Transmission

A

Several bits are sent simultaneously down several wire

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Give the advantages of serial transmission over parallel transmission

A

Cost -> Only one wire is needed
No Crosstalk -> Interference between parallel wires can cause the corruption of bits, meaning data means to be transmitted
Distance -> Serial transmission is more reliable over long distances, as bits cannot come out of sync
Frequency -> Due to a lack of interference, signal frequencies can be higher, leading to a higher rate of data transfer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Explain Synchronous Transmission

A

Sender and receivers clocks are synchronised for the whole transmission, with the sender controlling the speed of transmission. Once they are in sync, the data may be transferred without the need for further information exchange

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Explain asynchronous transmission

A

Sender and receivers clocks are not in permanent sync, but are instead only in sync for the duration of the transmission, with the data being sent with a start and stop bit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the purpose of the start bit in asynchronous transmission?

A

Sent at the beginning of transmission, causing the receiver to synchronise it’s clock with the senders

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the purpose of the stop bit in asynchronous transmission?

A

Indicates that the data has arrived, giving the receiver time to process the information, and allowing the receiver to identify when the next start bit arrives

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the Baud Rate?

A

The rate at which the signal changes, with each different signal coding for a bit pattern

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the Bit Rate?

A

The speed at which data is transmitted, in bits per second
May be higher than the baud rate if multiple bits are encoding in each signal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Bit rate = ?

A

Baud Rate * Number of bits per signal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the Bandwidth?

A

The range of frequencies that the transmission medium can carry
The larger the bandwidth, the higher the bit rate, as more data can be sent across it in a given time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is Latency?

A

The dealy between a packet being sent and the same packet arriving at its’ destination

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a parity bit?

A

A bit that is added to a group of bits, used for error checking (To check if any of the bits have been flipped)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Explain Odd Parity

A

Parity bit is set to a 1 or 0 to make the total number of 1’s in the bit pattern an odd number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Explain Even Parity

A

Parity bit is set to a 1 or 0 to make the total number of 1’ in the bit pattern an even number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a protocol, and why are they used?

A

A set of rules relating to communication between devices
Allows equipment from different suppliers to be connected on the same network, and communicate with each other

17
Q

What is the TCP/IP stack?

A

Transmission Control Protocol/Internet Protocol stack
A set of networking protocols for sending and receiving data packets across the internet

18
Q

What are the four layers of the TCP/IP stack?

A

Application layer, Transport Layer, Network Layer and Link Layer

19
Q

What is the function of the application layer

A

Uses protocols, relating to the application, to transmit data across the network

20
Q

What is the function of the Transport Layer?

A

Establishes a connection between the sender and the receiver
If data is too large to be sent in one go, breaks it up into segments (Packets made up of only the data)
Adds source and destination port numbers (Identify which application the data relates to)

21
Q

What is the function of the Network Layer?

A

Adds source and destination IP addresses, used to identify the two devices

22
Q

What is the function of the Link Layer?

A

Adds source + destination Mac addresses, which are fixed on each device

23
Q

What is encryption and what is a key?

A

The process of scrambling data, using a key, turning plain text into cipher text
A cryptographic algorithm used to encrypt or decrypt data

24
Q

Explain the difference between symmetric and asymmetric encryption

A

Symmetric - The same key is used to encrypt and decrypt the data
Asymmetric - Two different but related keys are used, one to encrypt and the other to decrypt

25
Q

What are sockets and what is their role in the TCP/IP stack?

A

A socket is the combination of the IP address and port number
It specifies which device the packet must be sent to, and the application being used on that device

26
Q

What is a MAC address, and what are their role?

A

The Media Access Address is a unique number that is burned into the Network Interface Card of each machine
They identify specific devices, meaning that once the packet finds the correct network, the MAC address can be used to find the correct machine

27
Q

What is an IP address?

A

A Internet Protocol address that is assigned to a network device, identifying it on the Internet
It indicates where a packet of data is to be sent or where it is sent from, allowing routers to direct the packet accordingly

28
Q

What is packet switching?

A

A method of communicating data across a network
Data is split into manageable chunks, and is then sent across the Internet

29
Q

What is usually contained in the header of a data packet, and what is the purpose of each?

A

Checksum - Used for error checking
Source IP address - Included if a response is needed, and/or to request packets be resent
Destination IP address - The packets final destination
Hop Limit - A limit to how many routers a packet may visit before it self-destructs
Sequence Number - Packets will arrive in the wrong order, so this is used to reassemble the data

30
Q

How is routing achieved across the Internet?

A

Packets are split up and each sent along the least congested route to the recipient

31
Q

What is the difference between a router and a gateway, and what is their purpose?

A

Router - Used to connect at least two networks using the same protocols
Gateway - Used to connect networks that use different protocols, and will translate between them
To move a data packet towards its’ final destination

32
Q

How does a firewall work?

A

Packet filtering - Packets are rejected/accepted based on things like their source IP address or what ports they are trying to access
Stateful inspection - Firewall maintains information about current connections, and only allows packets relevant to these connections
Proxy Server - Intercepts all packets entering and leaving the network, hiding the true IP address of the source from the recipient

33
Q

Explain how Public Key Private Key encryption works

A

First, the sender uses the receivers public key, made available to others, to encrypt the data they want to send
The public key cannot be used to decrypt the data
The data is then sent across the network to the receiver
The receiver then uses their private key, known only to them, to decrypt the data

34
Q

Explain how a digital signature works

A

First, a value is calculated from the unencrypted message.
The sender then encodes this value using their own private key, and attaches it to the message (Encrypted with the recipients public key)
When the receiver receives the message, they can recalculate the value
The receiver then decrypts the senders value, and if the two values are the same, the message must be correct, and is genuinely from the sender

35
Q

Explain the purpose of Domain Names, DNS and how it works

A

Domain Names are easier for humans to remember than IP addresses, and are ordered in a hierarchy of smaller domains
The Domain Name System catalogs all domain names and their corresponding IP addresses
When a web page is requested, the browser requests the corresponding IP address from the local DNS server
If it has it, it returns the IP address
If not, the DNS will send the request to a larger DNS database to try and find the IP address
Once the IP address is found, the user senders a request for the web page to that location

36
Q

What is the difference between a worm and a virus?

A

A virus needs it’s host program to be run to begin self replicating, whereas a worm does not