Using nslookup (or some other mechanism), determine IP addresses…
Question Answered step-by-step Using nslookup (or some other mechanism), determine IP addresses… Using nslookup (or some other mechanism), determine IP addresses for three Internethosts assigned by your instructor.1.2. Send HTTP requests using telnet (or some other mechanism) in order to determinethe Server header field value for three Internet hosts assigned by your instructor. Youmay want to include the header field “Connection: close” in your requests in order totell the server to immediately close the TCP connection rather than keeping it open(most servers will otherwise keep the connection open for a minute or so, tying up yourcommand prompt). Also note that some systems may not echo the characters you typewhile executing telnet. (Hint: Don’t forget that HTTP requests end with a blank line.) 1.3. For three Internet hosts assigned by your instructor, list the names of the header fieldsthat each host returns in response to a HEAD request for the root document (Request-URIof /). As in the previous question, you may want to use the “Connection: close” headerin your requests.1.4. For each host assigned by your instructor, give a list of the HTTP methods allowed bythe host. (Hint: You may want to try using an OPTIONS HTTP request, although not allweb servers support this method.)place the following MIME types in order from high to low preference: image/png,application/pdf, text/plain, application/xhtml+xml. 1.6. Explain how a web site could learn something about your browsing habits outside itssite from an HTTP request sent to the site by your browser. Assume that the request hasonly the headers listed in Table 1.5.1.7. In Java J2SETM version 1.5, characters are represented using the UTF-16 encoding.Specifically, each char value consists of 16 bits representing a UTF-16 character codeunit. Every character in the Unicode Standard can be represented by either one or twoUTF-16 code units, with virtually all characters in widespread use requiring only a singlecode unit. Give an argument for and one against this design for representing charactersin Java versus using 8-bit char’s and the UTF-8 encoding.1.8. Can a web browser load an HTML document from a web server running on a differenthost if DNS is not operational? Explain.50 Chapter 1 Web Essentials 1.9. Give a complete minimal HTTP GET request corresponding to the URLhttp://www.ThisIsATest.net:2012/hmm/oh/well?isThis=right#now1.10. Modify your browser preferences to specify a language other than the one that younormally use as your preferred language (for example, if you normally use English, youmight specify German as your preferred language). Then browse to www.google.com oranother web site that returns different documents based on the setting of the AcceptLanguage HTTP request header field. Print the web page to verify that you successfullymodified your language preference. 1.11. The Host field of an HTTP request can contain a port number as well as a host name.Based on the discussion in Section 1.7.1, explain how a web server can determine theport number of the request even if it is not included in the Host field, as long as the HTTPrequest is transmitted via TCP. Image transcription text2 (a) Find the least squares polynomialof degree 2 for the following functionf(x) on the indicated inter… Show more… Show more Image transcription text34) a) Cempute the Taylor polynomialfor cos(w) of degree 6, centered at a =0. b) Compute the Taylor … Show more… Show more Computer Science Engineering & Technology Information Security GRAFICA 0125 Share QuestionEmailCopy link Comments (0)


