Coursera课程Python for everyone:Quiz: Networks and Sockets

来源:互联网 发布:java aes对称加密算法 编辑:程序博客网 时间:2024/05/24 06:49

Networks and Sockets

10 试题

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?

DECNET

Internet Protocol (IP)

SMTP

The Request/Response Cycle

IMAP

2. 

Which of the following is most similar to a TCP port number?

The GPS coordinates of a building

A street number in an address

A telephone number

The distance between two locations

A telephone extension

3. 

What must you do in Python before opening a socket?

_socket = true

import tcp

import tcp-socket

import socket

open socket

4. 

In a client-server application on the web using sockets, which must come up first?

server

client

it does not matter

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?

Simple

Hyperspeed

Manual

wHolsitic

HyperText

7. 

What is an important aspect of an Application Layer protocol like HTTP?

How much memory does the server need to serve requests?

Which application talks first? The client or server?

What is the IP address for a domain like www.dr-chuck.com?

How long do we wait before packets are retransmitted?

8. 

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

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

Protocol, document, and offset

Protocol, host, and document

Document, page, and protocol

Host, offset, and page

Page, offset, and count

9. 

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

<p>Please click <a href="page1.htm">here</a>.</p>

GET

POST

PUT

DELETE

INFO

10. 

Which organization publishes Internet Protocol Standards?

IETF

SIFA

IMS

LDAP

SCORM

0 0
原创粉丝点击