一起答
单选

● 回调(Callback)函数是面向过程的程序设计语言中常用的一种机制,而设计模式中的 (4) 模式就是回调机制的一个面向对象的替代品。该模式的意图是 (5) 。

(4)

  • A. Strategy(策略)       
  • B. Adapter(适配器)
  • C. Command(命令)             
  • D. Observer(观察者)    (5)
  • A. 使原本由于接口不兼容而不能一起工作的那些类可以一起工作
  • B. 将一个请求封装为一个对象,从而可用不同的请求对客户进行参数化,将请求排队或记录请求日志,支持可撤销的操作 C. 定义对象间的一种一对多的依赖关系,当一个对象的状态发生改变时,所有依赖于它的对象都得到通知并被自动更新
  • D. 使算法可独立于使用它的客户而变化
参考答案
查看试卷详情
相关试题
  1. ●  To compete in today’s fast-paced competitive environment, organizations arincreasinglyallowing contractors, partners, visitors andgueststoaccesstheirinternalenterprisnetworks.Theseusersmayconnect to the network through wired ports in conference rooms ooffices, or via wireless accesspoints.Inallowing this open access for third parties, LANs becom(71).Third parties can introduce risk in a variety of ways from connecting with an infectelaptop to unauthorized access of network resources to (72)activity. For many organizationhowever, the operational complexity and costs to ensure safe third party network access havbeen prohibitive. Fifty-two percent of surveyed CISOs state that they currently use a moat ancastle’s security approach, and admit that defenses inside the perimeter are weak. Threats fromnternal users are also increasingly a cause for security concerns. Employees with maliciouintent can launch (73)of service attacks or steal (74)information by snooping thnetwork. As they access the corporate network, mobile and remote users inadvertently can infethe network with  (75)and worms acquired from unprotected public networks. Hackemasquerading as internal users can take advantage of weak internal security to gain access tconfidential information.  

  2.  ● 在IPv4 中,组播地址是 (65) 地址。

    (65)        

    • A. A 类&n
    • bsp;               B. B 类                    
    • C. C 类                 
    • D. D 类
  3.  ● WLANs are increasingly popular because they enable cost-effective connections among people, applications and data  that  were not  possible, or not cost-effective,  in  the  past.  For example, WLAN-based applications can enable fine-grained management of supply and distribution (66) to improve their efficiency and reduce (67). WLANs can also enable entirely new business processes. To cite but one example, hospitals are using WLAN-enabled point-of-care applications to reduce errors and improve overall (68)care. WLAN management solutions provide a variety of other benefits that can be substantial but difficult to measure. For example, they can protect corporate data by preventing  (69)through rogue access points. They help control salary costs, by allowing IT staffs to manage larger networks without adding staff. And they can improve overall network management by integrating with customers’ existing systems, such as OpenView and UniCenter. Fortunately, it isn’t necessary to measure these benefits to justify investing in WLAN management solutions, which can quickly pay for themselves simply by minimizing time-consuming  (70)   and administrative chores.

  4. ● 关于Windows操作系统中DHCP 服务器的租约,下列说法中错误的是 (63) 。

    (63)

    • A. 默认租约期是8天
    • B. 客户机一直使用DHCP 服务器分配给它的IP 地址, 直至整个租约期结束才开始联系更新租约
    • C. 当租约期过了一半时,客户机将与提供IP 地址的DHCP 服务器联系更新租约
    • D. 在当前租约期过去87.5%时,如果客户机与提供IP地址的DHCP 服务器联系不成功,则重新开始IP 租用过程
  5. ● 确定网络的层次结构及各层采用的协议是网络设计中 (64) 阶段的主要任务。

    (64)

    • A. 网络需求分析         
    • B. 网络体系结构设计  
    • C. 网络设备选型       
    • D. 网络安全性设计
  6. ● 802.11标准定义了3种物理层通信技术,这3种技术不包括 (62) 。

    (62)

    • A. 直接序列扩频         
    • B. 跳频扩频
    • C. 窄带微波           
    • D. 漫反射红外线
  7. ● 相同屏幕尺寸的显示器,点距为 (60) 的分辨率较高,显示图形较清晰。

    (60)

    • A. 0.24mm&n
    • bsp;             B. 0.25mm                
    • C. 0.27mm               
    • D. 0.28mm 
  8. ● 关于OSPF协议,下面的描述中不正确的是 (61) 。   

    (61)

    • A. OSPF是一种链路状态协议  
    • B. OSPF使用链路状态公告(LSA)扩散路由信息
    • C. OSPF网络中用区域1来表示主干网段
    • D. OSPF路由器中可以配置多个路由进程
  9. ● 传输一幅分辨率为 640×480,6.5 万色的照片(图像),假设采用数据传输速度为56kb/s,大约需要(59) 秒钟。      

    (59)

    • A. 34.82&n
    • bsp;      B. 42.86               
    • C. 85.71                
    • D. 87.77
  10. ● 按照国际电话电报咨询委员会CCITT 的定义, (58) 属于表现媒体。

    (58)

    • A. 图像&n
    • bsp;          B. 编码               
    • C. 硬盘                
    • D. 扫描仪