Single Choice Question

  1. Which is not a browser tool?
    1. Firefox
    2. Chrome
    3. Opera
    4. Dreamweaver 一个IDE
  2. The URL of first website on the world is
    1. www.w3c.org 负责制定规则
    2. www.baidu.com
    3. www.microsoft.com
    4. info.cern.ch
  3. For the response code, which means that the request is successful?
    1. 200
    2. 404
    3. 500
    4. 304
  4. HTTP is an application layer protocol, full name is
    1. Hyper Text Transfer Protocol
    2. Hyper Text Transfer Program
    3. Hyper Text Transform Process
    4. Hyper Text Transform Protocols
  5. What is the main function of DNS?
    1. To translate domain name to IP address
    2. To translate IP address to domain name
    3. To translate domain name to domain name
    4. To translate IP address to IP address
  6. What is the main function of ISP?
    1. To provide the Internet service
    2. To provide the Internet access
    3. To provide the Internet connection
    4. To provide the Internet bandwidth
  7. What is the newest version of IP address?
    1. IPv4
    2. IPv5
    3. IPv6
    4. IPv8
  8. To create a new resource, which HTTP method should be used?
    1. POST 用来创建新资源
    2. GET
    3. PUT 更新资源
    4. DELETE
  9. On the URL "https://localhost:8080/images/logo.ico", the 8080 is
    1. port
    2. path
    3. query
    4. protocol
  10. Which web browser is the most popular?
    1. Chrome
    2. Firefox
    3. Edge
    4. Opera
  11. What is the main function of web server?
    1. To provide the web pages
    2. To display web pages 浏览器的职责
    3. To provide the business service
    4. To store data
  12. What is the main function of web browser?
    1. To display web pages
    2. To provide the web pages
    3. To provide the business service
    4. To store data
  13. The technology on client-side which is used to create interactions between the client and the server is
    1. JavaScript
    2. HTML
    3. CSS
    4. Java
  14. The file extension of HTML file is
    1. .html
    2. .xml
    3. .h
    4. .txt
  15. IP address in IPV4 of localhost is
    1. 0.0.0.0
    2. 255.255.255.255
    3. 127.0.0.1 localhost表示计算机本身,127.0.0.1是回环地址,用于本机测试和通信
    4. 192.168.0.1
  16. For URL format, which option is correct?
    1. http:localhost:8080
    2. https://localhost:8080
    3. https//localhost:8080
    4. localhost:8080 一个标准的 URL 需要包含协议部分
  17. For URL queries, which following option is correct?
    1. username:admin&password:123456
    2. ?username=admin|password=123456
    3. ?username=admin&password=123456
    4. &username:admin?password:123456

True or False Question

  1. HTTP is more secure than HTTPS.
    False
  2. Dynamic web page means no any dynamic effects on the web page.
    False 动态网页指的是内容在加载时可以发生变化的网页
  3. POST requests usually carry a payload that specifies the data for the new resource.
    True
  4. Response code "2xx" tells the client that the request was successfully processed.
    True
  5. Webpage is composed of many websites.
    False website包含很多webpages
  6. IPV6 is used to replace IPV4.
    True
  7. HTTPS is the most popular protocol, which is more secure than HTTP.
    True

Definition of Term

  1. Server
    A computer that provides data or services to other computers.
    一种硬件或软件系统,用来提供网络服务并响应客户端请求
  2. IP Address
    A numerical label assigned to each device connected to a network.
    设备在网络中的唯一标识,用于在网络中定位和通信
  3. URL
    Uniform Resource Locator, the address of a web page.
    uniform resource locator用来定位互联网上的资源, 格式为协议://域名:端口/路径?参数#锚点
  4. Domains
    A name that identifies a website on the internet.
    网络地址的易记形式,对应IP地址
  5. DNS
    Domain Name System, translates domain names to IP addresses.
    将域名转换为IP地址的系统
  6. ISP
    Internet Service Provider, offers internet access.
    向用户提供上网服务的公司,连接用户和互联网
  7. HTTP
    HyperText Transfer Protocol, used to transfer web data.
    hypertext transfer protocol, 网页浏览用的协议,定义了客户端和服务器如何交换信息
  8. Webpage
    A single document on the internet.
    网页是网站中的单一页面
  9. Website
    A collection of related web pages.
    一组相关网页组成的集合
  10. World Wide Web
    An information system of linked hypertext documents.
    互联网上的超文本系统,允许用户通过浏览器访问网页。
  11. Localhost
    Refers to the local computer (127.0.0.1).
    指代当前计算机,IP地址127.0.0.1,用于本机测试和开发。

Short Answer

  1. Compare with static web pages and dynamic web pages.
    静态网页内容固定,服务器直接将网页文件传送给客户端;动态网页内容根据请求动态生成,通常结合数据库和服务器脚本实现。
  2. Explain the basic structure of domain.
    域名由多个标签组成,从右到左依次为顶级域(.com)、二级域(example)、子域(www),例如:www.example.com。
  3. Explain the process of how to access the web pages.
    浏览器输入URL后,先通过DNS解析域名获取IP地址,然后向服务器发送HTTP请求,服务器返回网页内容,浏览器渲染显示。
  4. What is distributed system?
    分布式系统是多个计算机通过网络连接,协同完成任务的系统,各节点间共享资源,互相通信。
  5. What are the functions of Domain Name System?
    DNS将人类可读的域名转换为计算机可识别的IP地址,反向解析IP为域名,支持邮件路由等功能。
  6. What are the operations of request?
    常见HTTP请求操作包括GET(获取资源)、POST(提交数据)、PUT(更新资源)、DELETE(删除资源)。
  7. What are the major technologies of client-side programming?
    客户端编程主要技术有HTML(结构)、CSS(样式)、JavaScript(交互)。