信管网试题库

导航

软件设计师模拟试题13

2021年08月04日来源:信管网 作者:cnitpm

软件设计师考试科目包括综合知识与案例分析两门,为帮助广大软考中级软件设计师考生更好备考,信管网特整理汇总了软件设计师部分综合知识与案例分析的模拟试题、答案及解析供考生查阅,并提供免费在线模拟答题、历年真题免费下载等服务,了解软件设计师更多备考信息请关注信管网。

相关推荐:

点击查看/下载:软件设计师历年真题汇总

点击查看:软件设计师在线培训课程免费试听课程

免费练习:软件设计师考试题库(模拟试题、章节练习、每日一练)

一、综合知识:

1、若一台服务器只开放了 25 和 110 两个端口, 那么这台服务器可以提供( ) 服务。

A. E-Mail

B. WEB

C. DNS

D. FTP

信管网参考答案:A

查看解析:www.cnitpm.com/st/3955411610.html

2、SNM P 是一种异步请求/响应协议, 采用( ) 协议进行封装。

A. IP

B. ICMP

C. TCP

D. UDP

信管网参考答案:D

查看解析:www.cnitpm.com/st/3955616061.html

3、在一台安装好 TCP/IP 协议的计算机上, 当网络连接不可用时, 为了测试编写好的网络程序, 通常使用的目的主机 IP 地址为( ) 。

A. 0.0.0.0

B. 127.0.0.0

C. 10.0.0.1

D. 210.225.21.255/24

信管网参考答案:B

查看解析:www.cnitpm.com/st/395571096.html

4、测试网络连通性通常采用的命令是( ) 。

A. Nestar

B. Ping

C. Mscinfug

D. Cmd

信管网参考答案:B

查看解析:www.cnitpm.com/st/395589159.html

5、The development of the Semantic Web proceeds in steps, each step building a layer on top of another. The pragmatic justification for this approach is that it is easier to achieve (1) on small steps, whereas it is much harder to get everyone on board if too much is attempted. Usually there are several research groups moving in different directions; this (2) of ideas is a major driving force for scientific progress. However, from an engineering perspective there is a need to standardize. So, if most researchers agree on certain issues and disagree on others, it makes sense to fix the point of agreement. This way, even if the more ambitious research efforts should fai1, there wil1 be at least(3) positive outcomes.

Once a (4) has been established , many more groups and companies will adopt it, instead of waiting to see which of the alternative research lines will be successful in the end. The nature of the Semantic

Web is such that companies and single users must build tools, add content,and use that content. We cannot wait until the full Semantic Web vision materializes-it may take another ten years for it to be realized to its full(5) (as envisioned today, of course).

(1).A. conflicts

B. consensus

C. success

D. disagreement

(2).A. competition

B. agreement

C. cooperation

D. collaboration

(3).A. total

B. complete

C. partial

D. entire

(4).A. technology

B. standard

C. pattern

D. model

(5).A. area

B. goal

C. object

D. extent

信管网参考答案:B、A、C、B、C

查看解析:www.cnitpm.com/st/3956029197.html

二、案例分析:

阅读下列说明和c代码,将应填入 处的字句写在对应栏内。

【说明】

栈(stack)结构是计算机语言实现中的一种重要数据结构。对于任意栈,进行插入和删除操作的一端称为栈顶(stock top),而另一端称为栈底(stock bottom)。栈的基本操作包括:创建栈(newstack)、判断栈是否为空(isempty)、判断栈是否已满(isfull)、获取栈顶数据(top)、压栈/入栈(push)、弹栈/出栈(pop)。

当设计栈的存储结构时,可以采取多种方式。其中,采用链式存储结构实现的栈中各数据项不必连续存储(如下图所示)。

以下c代码采用链式存储结构实现一个整数栈操作。

【c代码】

typedef struct list {

int data; //栈数据

struct list* next; //上次入栈的数据地址

}list;

typedef struct stack{

list* ptop; //当前栈顶指针

}stack;

stack* newstack() {return (stack*) calloc(1/sizeof(stack));}

int isempty(stack* s){//判断栈s是否为空栈

if( (1) )return 1;

return 0;

}

int top(stack* s){//获取栈顶数据。若栈为空,则返回机器可表示的最小整数

if(isempty(s))return int_ min;

return (2) ;

}

void push(stack* s,int thedata) {//将数据thedata压栈

list* newnode;

newnode=(list*)calloc(1/sizeof (list));

newnode->data=thedata;

newnode->next=s->ptop;

s->ptop= (3) ;

}

void pop(stack* s) {//弹栈

list* lasttop;

if(isempty(s) ) return;

lasttop=s->ptop;

s->ptop= (4) ;

free(lasttop);

}

#define md(a) a<<2

int main(){

int i;

stack* mystack;

mystack= newstack();

push(mystack,md(1));

push(mystack,md(2));

pop(mystack);

push(mystack,md(3)+1);

while( !isempty(mystack) ){

printf("%d",top(mystack));

pop(mystack);

}

return 0;

}

以上程序运行时的输出结果为: (5)

查看答案与解析:www.cnitpm.com/st/245685491.html

温馨提示:因考试政策、内容不断变化与调整,信管网提供的以上信息仅供参考,如有异议,请考生以权威部门公布的内容为准!

分享至:
请使用浏览器的分享功能,把好文章分享给更多的人

信管网 - 信息系统项目管理专业网站

下载APP-在线学习

培训课程

0元畅享

考试题库

免费资料

APP下载