py4e|NetworkProgramming-Quiz

这篇博客探讨了网络编程的基础知识,特别是与HTTP协议相关的概念。内容包括浏览器如何使用HTTP加载并显示页面,HTTP头与正文的分隔,TCP端口号的类比,Python中打开套接字前的准备,客户端与服务器的启动顺序,HTTP常用端口,以及URL的组成部分。同时,介绍了HTTP请求方法如GET,与HTML中链接点击触发的请求类型。
摘要由CSDN通过智能技术生成

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?

SMTP

DECNET

Internet Protocol (IP)

The Request/Response Cycle

IMAP


2. What separates the HTTP headers from the body of the HTTP document?

X-End-Header: true

Four dashes

A blank line

A less-than sign indicating the start of an HTML tag


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

A street number in an address

The distance between two locations

The GPS coordinates of a building

A telephone extension

A telephone number


4. What must you do in Python before opening a socket?

import tcp-socket

socket = true

import tcp

import socket

open socket


5.

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值