1. What is the difference between a static and a dynamic web site?
    • A static website is created with HTML pages and data does not change until the HTML files are modified.
    • In Dynamic website the page contents are created by a run-time program and this contents can be modified by the script.

  2. What is the main objective of using Domain Name System (DNS)?
    • DNS links the server ip to domain name which is easy to remember and share with others, so you don't have to remember the ip address.

  3. Give some examples of generic top-Level domains (gTLD).
    • .com, .net, .gov, .org

  4. Give some examples of country code top-Level domains (ccTLD).
    • .ca, .in, .au, .uk

  5. Give an example of Uniform Resource Locator (URL) and specify all components of an URL.
    • https://keyurshah.me/CST8238/Lab1/index.html?query=none
    • https -> Protocol
    • keyurshah.me -> Domain
    • /CST8238/Lab1/ -> Path
    • index.html -> Page
    • ?query=none -> Query parameter

  6. What is the function (purpose) of Hypertext Transfer Protocol (HTTP)?
    • The HTTP protocol establishes a TCP connection using port 80 between server and client.

  7. Give some examples of HTTP request methods.
    • GET /abc.php
    • POST /user

  8. Define a Web Server.
    • A web server is kind of computer only which can be accessed over internet and fulfils client's requests by using different protocols like FTP, HTTP etc.