题目
A.The Mac address of the NIC in Sever1
B.The IP address of Server 1.
C.The MAC address of the s0/0/0 interface of router R2
D.The IP address of the s0/0/0 interface of router R1
E.The IP address of the Fa0/0 interface of router R1
第1题
A.Host 1 addresses the frames to the MAC address of router R1
B.Host 1 looks in its ARP cache for the MAC address of router R1
C.Host 1 addresses the frames to the MAC address of web server 2
D.Host 1 sends the packets to router R1 to be forwarded to web server 2
E.Host 1 sends a broadcast ARP request to obtain the MAC address of webserver2
第2题
A.The IP address of sever 1.
B.The MAC address of NIC in sever 1.
C.The IP address of F0/0 interface of router R1.
D.The MAC address of the Fa0/0 interface of router R1.
E.The IP address of the s0/0/0 interface of router R2
F.The MAC address of the s0/0/0 interface of router R2
第3题
A. any route advertisements it has received
B. prefixes for the link
C. keepalive timers
D. IPv6 address for the host
E. request for the local host IP address
F. lifetime of the prefix
第4题
A.It monitors messages from the external server and updates the routing table as needed.
B.It maintains the leases for the DHCP server and reassigns addresses to new subscribers.
C.It sends keepalives to the subscriber and makes the address available when the subscriber stops responding.
D.It sends keepalives to the subscriber and removes the host route when the subscriber stops responding.
第5题
A.It monitors messages from the external server and updates the routing table as needed.
B.It maintains the leases for the DHCP server and reassigns addresses to new subscribers.
C.It sends keep alives to the subscriber and makes the address available when the subscriber stops responding.
D.It sends keep alives to the subscriber and removes the host route when the subscriber stops responding.
第6题
A. The destination host sends a request to the source for retransmission.
B. The jam signal indicates that the collision has been cleared.
C. The hosts will attempt to resume transmission after a time delay has expired.
D. An electrical pulse indicates that the collision has cleared.
E. The router on the segment will signal that the collision has cleared.
F. The hosts will do nothing, as the higher layers are responsible for data error correction and re-transmission.
第7题
A. The destination host sends a request to the source for retransmission.
B. The jam signal indicates that the collision has been cleared.
C. The hosts will attempt to resume transmission after a time delay has expired.
D. An electrical pulse indicates that the collision has cleared.
E. The router on the segment will signal that the collision has cleared.
F. The hosts will do nothing, as the higher layers are responsible for data error correction and re-transmission.
第8题
In phishing, the perpetrator sends out legitimate-(72)e-mails, appearing to come from some of the Web's most popular sites, in an effort to obtain personal and financial information from individual recipients. But in pharming, larger numbers of computer users can be(73)because it is not necessary to target individuals one by one and no conscious action is required on the part of the victim. In one form. of pharming attack, code sent in an e-mail modifies local host files on a personal computer. The host files convert URLs into the number strings that the computer uses to access Web sites. A computer with a compromised host file will go to the fake Web site even if a user types in the correct Internet address or clicks on an affected(74)entry. Some spyware removal programs can correct the corruption, but it frequently recurs unless the user changes browsing(75 ).
A.few
B.fraudulent
C.normal
D.structured
第9题
阅读以下技术说明、Java源程序和运行测试部分,根据要求回答问题1和问题2。
【说明】
1.HTTP
◆ HTTP请求消息示例
GET/index,htmlHTTP/1.1
Accept:image/gif,image/jpeg,*/*
Accept-Language:zh-ch
Accept-encoding:gzip,deflate
User-Agent:Mozilla/4.0(compatible: MSIE6.0;Windows 2003)
Host:localhost:8080
Connection:Keep-Alive
◆ HTTP响应消息示例
HTTP/1.1 200 OK
Servert:Microsoft-IIS/6.0
Date:Mon,3 Jan 2008 13:13:33 GMT
Content-Type:text/html
Last-Modified:Mon,11 Jan 2008 13:23:42 GMT
Contelit-Length:112
<html>
...
</html>
2.相关类及主要成员函数
◆ ServerSocket类
服务器端套接字,它监听固定端口,以接收来自客户端的连接请求,一旦建立连接就返回一个Socket类型的对象,类中的主要成员函数如表6-16所示。
◆Socket类 基于连接的套接字,类中的主要成员函数如表6-17所示。
【Java源程序:一个简单的Web服务器】
/* WebScrvc.java */
packageobjclass;
import java.net.*;
import java.io.*;
public class WebServer{
public static final int PORT=8080; //Web服务器侦听的端口号
public static final String WEB_ROOT= SyStem.getProperty("user.dir")+
File.separator+"webroot";
//WEB_ROOT变量存放Web服务器工作目录,HTML, GIF图片等静态文件资源
private static final String SHUTDOWN_COMMAND="/shutdown";
//SHUTDOWN_COMM_AND变量保存关闭服务器的命令
private Boolean shutdown=false; //是否收到关闭服务器命令的标志
public static void main(Sting[] args) {
WebServer server=new WebServer();
Server.await ()
}
public void await() {
ServerSocket serverSocket = null;
try {
serverSocket = new (1);
//创建侦听端口号为PORT的ServerSocket类型的对象
System.out.println ("WebServerStarted!");
}
catch(IOException e) {
e.printStackTrace ();
SyStem. exit (1);
}
while(!shutdown) { //循环等待客房端连接
Socket socket = null;
InputStream input = null;
OutputStream utput = null;
try{
Socket =(2); //创建来自客房端的连接套接字
Input = socket.(3); //创建输入流
utput = socket.(4); //创建输出流
Request reque
第10题
LTE支持两种RRC状态(AB)()
A、RRC_IDLE
B、RRC_CONNECTED
C、RRC_Disconnect
D、RRC_Connection Request
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!