COMP721 Final Exam Revision

89 cards   |   Total Attempts: 188
  

Cards In This Set

Front Back
What is the law of preferential attachment?
The growth rate of the in-links of a website is proportional to that node's in-link percentage on the web
What is the micro-service architecture trend?
The micro-service architecture splits the individual components of website up with your own storage. Each process is connected through an API gateway which is accessible throughout the web and acts like a Web server in the traditional architecture. The APIs used in this architecture are typically RESTful.
What is the difference between a mobile application and a web application?
  • Mobile applications are able be run off-line and typically have more resources to use and a better user interface than web apps.
  • However, mobile application maintenance is more expensive.
  • Additionally, web applications have allotted better cross-platform support as a web browser is all that is needed.
  • The code is also more portable and maintenance is easier as there don't need to be any updates pushed out to mobile devices.
How does the Internet work?
  • The TCP/IP protocol is used to identify the computer to deliver to.
  • DNS is used to translate text-based URLs into IP addresses for TCP/IP to use
What is the maximum length of a URL?
2048 characters
How do available data types compare when using GET and POST requests?
Only ASCII characters can be used when making a GET request however POST has no restrictions and also allows binary data
How does the security of a GET requests compare to a POST request?
GET requests are less secure than POST requests as data is sent as part of the URL. POST requests are slightly safer as data is not stored in the browser history or in the server logs.
How is separation of concerns implemented in client side technologies?
HTML is used to display content on the page CSS is used for styling and appearance and JavaScript is used for actions
What element must the head element contain
A <title> element
What is the abstract data structure of an HTML document?
A tree
What equation is used to represent the web?
Web = Internet + HTTP + HTML + URI
What is the difference between a URI and a URL?
All URLs are URIs but URL must be unique and accessible via the World Wide Web
What does PHP stand for?
PHP is a recursive acronym that stands for PHP hypertext processor
How does embedded scripting work?
A client sends a request to a PHP program and the output is sent to the user as a response. Because response types can include full HTML pages as well as XML and JSON pages and data can be dynamically generated rather than static.
What is the most commonly used form of PHP script delimiters?
<?php ?>