2018 Past Paper Flashcards

1
Q

What does TTL stand for?

A

Time to live

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

What is TTL?

A

a value in an IP packet that tells a network router whether or not the packet has been in the network too long and should be disregarded

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

How do routers impact the TTL?

A

TTL initially set to number between 1-255. Each router that receives the packet subtracts at least 1 from the count.

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

What happens if TTL is 0?

A

router disregards it and sends an ICMP message back to the originating host

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

What is the transmission delay, Tx?

A

time taken to put bits onto the wire

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

what is the equation for working out the Tx?

A

Tx = b/r
where b = no of bits
r=data rate (b/s)

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

What is the propagation delay, Tp?

A

time taken for a signal to traverse a link

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

what is the equation for working out the Tp?

A

Tp=d/Ss
where d = distance of link, m
Ss= speed of signal in m/s

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

Differences between client-server and P2P?

A
  • in client-server there is a specific server and specific clients connected to a server, whereas with P2P client and server are not distinguished
  • in client-server data is stored in centralised server, whereas P2P each peer has its own data
  • in client server the client requests service and the server responds with it, in P2P each node can request service but also provide
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the role of CSS in the development of a web-based application?

A

applies presentation to webpage, like layout, font, colours

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

What

advantages does the use of CSS have over alternatives?

A
  • ease of presenting different styles to different users
  • more formatting options
  • faster download time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does the onload property of tag in DOM API do?

A
  • occurs when object has been loaded
  • can be used to check the visitors browser type and browser version and load the proper version of webpage based on info
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

is false ==”0” true or false?

A

true

both sides converted to numbers and then the comparison is performed

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

What is a WebSocket?

A

protocol for creating a fast 2-way channel between a web browser and a server
Used for allowing interaction between web browser and a web server

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

Why does WebSockets not need HTTP?

A
  • doesnt rely on HTTP as it is its own protocol

- overcomes limitations with HTTP to allow low latency communications

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

What is latency?

A

term used to indicate any kind of delay that happens in data communication over a nework

17
Q

Name different types of events in the DOM that can be

handled with Javascript

A

onclick
keypress
mouseover

18
Q

What is a port number?

A

a way to identify a specific process to which a network message is forwarded when it arrives at server

19
Q

Why do we need port numbers as well as IP addresses?

A

IP address is a numerical label assigned to each device, the port number is used to direct data to the correct location within device

20
Q

What is the tuple that uniquely identifies a TCP connection?

A
protocol
source IP address
source port
target IP address
target port
21
Q

What service does the Domain Name System (DNS) provide?

A

has a directory of domain names and translates them into IP addresses

22
Q

Which level

of the Internet reference model is the DNS protocol located at? And why?

A

application layer

- allows the application to translate a name into a network address

23
Q

Advantage and disadvantage of Symmetric encryption?

A

ad- fast

dis - have to exchange key used to encrypt before decrypt

24
Q

Advantage and disadvantage of Asymmetric encryption?

A

ad - eliminates the need to share the key

dis - takes longer