2017 Past Paper Flashcards

1
Q

What did the change from class-based to classless mean?

A

meant that the divider between the network and the host does not have to be at an octet boundary

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

Why did it change from class-based to classless?

A

reduce the wasteage of IP addresses

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

what are the 5 components of the OSI?

A
application
transport
network
link
physical
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe some differences between client and server systems?

A
  • server waits for requests
  • client requests a server
  • server can have multiple requests
  • server is much more powerful
  • client has very little storage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a MAC address?

A

media access control address

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

What level is a MAC address in?

A

network layer

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

three reasons why it is a good idea to keep JavaScript code and CSS styling in
files separate from the HTML

A
  • clearer to find
  • easy to maintain page, aids scalability
  • cache files, less loading time and faster webpages
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a strongly typed language?

A

a language where variables are bound to specific data types

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

What is variable hoisting?

A

javascripts default behaviour of moving all declarations to top of the current scope

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

what variable type is hoisted in javascript?

A

var

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

What is Node.js?

A

a javascript runtime environment that executes JS code outside of a browser

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

what is Node.js used for?

A

building fast and scalable network applications

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

What is XMLHTTPRequest?

A

an API whose methods transfer data between a web browser and a web server

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

Advantages of using XMLHTTPRequest?

A
  • asynchronous
  • can have several concurrently running XHR requests
  • retrieve data in JS without having to change / refresh data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What level of OSI does IPv4 work on?

A

network layer

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

What level of OSI does ARP work on?

A

link layer

17
Q

What does ARP stand for?

A

address resolution protocol

18
Q

What level of OSI does DNS work on?

A

application layer

19
Q

What level of OSI does TCP work on?

A

transport layer

20
Q

What level of OSI does SSL work on?

A

application layer

21
Q

Describe design changes for HTTP 1.0 to HTTP 1.1 ?

A
  • no longer have to open new connection for each response, better efficency
  • 1.1 now uses chunked transfer encoding
22
Q

Describe design changes for HTTP 1.1 to HTTP 2.0 ?

A
  • now use binary encoding rather than text-based messages
  • can now send multiple requests in parallel over a single tcp connection
  • download web files asynchronously from one server
  • now lower overhead in parsing data
  • more effective network resource utilisation