2017 Past Paper Flashcards
What did the change from class-based to classless mean?
meant that the divider between the network and the host does not have to be at an octet boundary
Why did it change from class-based to classless?
reduce the wasteage of IP addresses
what are the 5 components of the OSI?
application transport network link physical
Describe some differences between client and server systems?
- server waits for requests
- client requests a server
- server can have multiple requests
- server is much more powerful
- client has very little storage
What is a MAC address?
media access control address
What level is a MAC address in?
network layer
three reasons why it is a good idea to keep JavaScript code and CSS styling in
files separate from the HTML
- clearer to find
- easy to maintain page, aids scalability
- cache files, less loading time and faster webpages
What is a strongly typed language?
a language where variables are bound to specific data types
What is variable hoisting?
javascripts default behaviour of moving all declarations to top of the current scope
what variable type is hoisted in javascript?
var
What is Node.js?
a javascript runtime environment that executes JS code outside of a browser
what is Node.js used for?
building fast and scalable network applications
What is XMLHTTPRequest?
an API whose methods transfer data between a web browser and a web server
Advantages of using XMLHTTPRequest?
- asynchronous
- can have several concurrently running XHR requests
- retrieve data in JS without having to change / refresh data
What level of OSI does IPv4 work on?
network layer