题目内容

● TCP/IP (71) layer protocols provide services to the application (72) running on a computer. The application layer does not define the application itself, but rather it defines (73) that applications need—like the ability to transfer a file in the case of HTTP. In short, the application layer provides an (74) between software running on a computer and the network itself. The TCP/IP application layer includes a relatively large number of protocols, with HTTP being only one of those. The TCP/IP (75) layer consists of two main protocol options—the Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP).

查看答案
更多问题

● 对于如下的程序流程,当采用语句覆盖法设计测试案例时,至少需要设计(34)个测试案例。
34)

A. 1
B. 2
C. 3
D. 4

● 假设职工 EMP(职工号, 姓名, 性别,进单位时间,电话),职务 JOB(职务,月薪)和部门 DEPT(部门号,部门名称,部门电话,负责人)实体集,若一个职务可以由多个职工担任,但一个职工只能担任一个职务,并属于一个部门,部门负责人是一个职工。图中EMP和JOB 之间为 (30) 联系;假设一对多联系不转换为一个独立的关系模式,那么生成的关系模式 EMP 中应加入 (31) 关系模式的主键,则关系模式 EMP 的外键为 (32) 。

● 函数t()、f()的定义如下所示。若调用函数t()时传递给x的值为3,并且调用函数f()时,第一个参数采用传值(call by value)方式,第二个参数采用传引用(call by reference)方式,则函数t()的返回值为(33) 。

(32 ) 在窗体上先后画 2 个图片框 , 名称分别为 Picture1 和 banana,banana 中添加了香蕉图片 (见图 A-2) ,且将 banana.DragMode 属性设置为 1 。要求程序运行时,可以用鼠标把 banana 拖拽到 Picture1 中(见 图A-3 )。能实现此功能的事件过程是()
A ) Priate Sub Form_DragDrop (Source As Control,X As Single,Y As Single banana.Move
Picture1.Left+X,Picture1.Top+Y )
End Sub
B ) Private Sub banana _DragDrop (Source As Control,X As Single,Y As Single )
Source.Move Picture1.Left+X.Picture1.Top+Y
End Sub
C ) Private Sub Picture1_DragDrop (Source As Control,X As Single,Y As Single )
Source.Move Picture1.Left+X.Picture1.Top+Y
End Sub
D ) Private Sub Picture1_DragDrop (Source As Control,X As Single,Y As Single )
banana.Move banana.Left+X, banana.Top+Y
End Sub

答案查题题库