Coursera Using python to access Web data quiz3-quiz5

Quiz 3
1.What do we call it when a browser uses the HTTP protocol to load a file or page from a server and display it in the browser?
*Internet Protocol (IP)
*SMTP
*IMAP
*DECNET
*The Request/Response Cycle

2.What separates the HTTP headers from the body of the HTTP document?
*a blank line

3.What must you do in Python before opening a socket?
*import socket
*import tcp
*import tcp-socket
*open socket
*_socket = true

4.Which of the following TCP sockets is most commonly used for the web protocol (HTTP)?
*80

5.Which of the following is most like an open socket in an application?
An “in-progress” phone conversation
*Fiber optic cables
*The wheels on an automobile
*The chain on a bicycle
*The ringer on a telephone

6.What does the “H” of HTTP stand for?
*Hyperspeed
*HyperText
*Manual
*wHolsitic
*Simple

7.What is an important aspect of an Application Layer protocol like HTTP?
*What is the IP address for a domain like www.dr-chuck.com?
*How long do we wait before packets are retransmitted?
*Which application talks first? The client or server?
*How much memory does the server need to serve requests?

8.What are the three parts of this URL (Uniform Resource Locator)?

http://www.dr-chuck.com/page1.htm

*Protocol, document, and offset
*Host, offset, and page
*Page, offset, and count
*Document, page, and protocol
*Protocol, host, and document

9.When you click on an anchor tag in a web page like below, what HTTP request is sent to the server?


                
  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值