2016年下半年 程序员 上午卷和下午卷 试题和详细答案 下载本文

据此可以导出,n>1时,有向量的递推关系式: (f(n+1),f(n))=f(f(n),f(n-1))A

其中A是2*2矩阵(64)。从而,(f(n+1),f(n)=(f(2),f(1))*(65).

(64)A.(65)A.A 【答案】D A 【解析】

n-1

B.

B.A

n

C.

C.A

n+1

D.

D.

An+2

Windows系统中定义了一些用户组,拥有完全访问权的用户组是(66)。 (66)A.Power Users 【答案】C 【解析】

浏览器本质上是一个(67)。 (67)A.连入Internet的TCP/IP程序 C.浏览Web页面的服务器程序 【答案】D 【解析】

在HTML文件中,标签的作用是(68)。 (68)A.换行 【答案】C 【解析】

在HTML中,border属性用来指定表格(69)。 (69)A.边框宽度 【答案】A 【解析】

B.行高

C.列宽

D.样式

B.增大字体

C.加粗

D.锚

B.连入Internet的SNMP程序

B.Users

C.Administrators

D.Guests

D.浏览Web页面的客户程序

某PC出现网络故障,一般应首先检查(70)。 (70)A.DNS服务器 【答案】D 【解析】

Since tablet computers and smart phones have(71)interface, many people believe that all home and business computers will eventually have this kind of interface too.

(71)A.CRT 【答案】C 【解析】

(72)are specialized programs that assist you locating information on the web. (72)A.OS engines 【答案】D 【解析】

Program(73)describes program's objectives, desired output, input data required, processing requirement, and documentation.

(73)A.specification 【答案】C 【解析】

A good program should be(74)by programmers other than the person who wrote it.

(74)A.reliable 【答案】B 【解析】

B.understandable

C.structured

D.blocked

B.flowchart

C.structure

D.address

B.Browse

C.DBMS

D.Search

B.LED

C.Touch-screen

D.Large screen

B.路由配置

C.系统病毒

D.物理连通性

(75)refers to the process of testing and then eliminating errors. (75)A.Debugging 【答案】A 【解析】

B.Programming

C.Analysis

D.Maintenance

试题一(共15分)

阅读以下说明和流程图,填补流程图中的空缺,将解答填入答题纸的对应栏内。 【说明】

设有整数数组A[1:N](N>1),其元素有正有负。下面的流程图在该数组中寻找连续排列的若干个元素,使其和达到最大值,并输出其起始下标K、元素个数L以及最大的和值M。

例如,若数组元素依次为3,-6,2,4,-2,3,-1,则输出K=3,L=4,M=7。该流程图中考察了A[1:N]中所有从下标i到下标j(j≥i)的各元素之和S,并动态地记录其最大值M。

【流程图】

注:循环开始框内应给出循环控制变量的初值和终值,默认递增值为1,格式为:循环控制变量=初值,终值

1、j=i+1