Skip to content

Instantly share code, notes, and snippets.

@normanrs
Created September 30, 2018 17:51
Show Gist options
  • Save normanrs/f72b88a496db9de83137c76be926a173 to your computer and use it in GitHub Desktop.
Save normanrs/f72b88a496db9de83137c76be926a173 to your computer and use it in GitHub Desktop.
Answers to the prework web questions.
Norman Schultz
1. Describe, step by step, what happens when I type `www.example.com` into my browser and try to go to the page?
*a. Your browser attempts to find the DNS record for the website requested. It looks in a variety of caches until it finds the record and obtains the site's IP address.*
*b. The browser establishes a connection between the site's IP address and yours (handshake).*
*c. The browser then sends an HTTP request for the page. In this case it's a simple request for the page's index, but other times the request comes with data that might alter both the form and content of the data received.*
*d. The website's server verifies the request' details and if any cookies are involved and gather a formatted response.*
*e. The website sends the HTTP response with the appropriate data and formatting.*
*f. The browser displays the content.*
2. What does HTTP stand for?
*Hypertext Transfer Protocol - *
3. What protocol does the World Wide Web use?
*HTTP, HTML, and URL*
4. Each computer on the Internet is assigned an IP address, what does IP stand for?
*Internet Protocol*
5. What does DNS stand for?
*A*
- A. Domain Name System
- B. Digital Number System
- C. Domain Number System
- D. Domain Name Service
- E. Digital Name Service
1. How are text domain names matched to their respective numeric IP addresses.
*Their IP address is looked up by a DNS record stored in multiple places.*
2. What is the client?
*C is the closest to correct, but it doesn't need to be software it can be a piece of hardware. The source of an internet server request.*
- A. A purchaser
- B. Internet shopping customer (Consumer)
- C. The software which requests information from a server (browser)
- D. The server to which a particular computer sends data
- E. The computer which the IP address belongs to
1. What does URL stand for?
*Uniform Resource Locator - essentially pointer to a location on the Internet*
2. What are protocols
*D*
- A. The standardisation of IP addressess
- B. The DNS standard method for data transfer
- C. The standardised network address system
- D. The standardised method for transferring data or documents over a network
- E. The standardised method for prioratising data or document storage over a network
1. What does DNS stand for? *Already answered above*
2. what is the `www` portion of a url? *The protocol identifier. "www" identifies an http website.*
3. What is The markup language used for all web documents? *HTML*
4. What is the organization that monitors web technologies? *World Wide Web Consortium (W3C). Oh, and the NSA. *
5. What is the Protocol for transferring web documents on the Internet? *HTTP*
6. What matches the domain names with numeric IP addresses? *DNS lookup*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment