消防题库 培训课程
一级注册消防工程师
已用时 00:00:00
消防工程师考试一级消防工程师易错题(2017/5/13)
试题提供:消防工程师考试网(cfeks.com) 【注册消防工程师考试专业网站所有评论
1题:二进制语言是属于( )
A.面向机器语言
B.面向问题语言
C.面向过程语言
D.面向汇编语言
【单选题】:      

2题:int p(m,n)
int m,n;
{ int i,pp;
for(i=pp=1;i
PP*= m;
return(pp);

main()
{ printf("%d"、 p(3,4));


【分析题】:

3、4、5、6、7题:下面是某种计算机的32位短浮点数格式
 
0
1
8
9
31
Ms
E
M
 
其中,M 为用定点小数表示的尾数的绝对值,占 23 位;Ms 是尾数的符号位,占1 位; Ms 和 M 一起表示尾数。E 为用定点整数表示的阶码,占 8 位。若机器表示中取阶码的基数为 2 ,求采用下列五种不同编码方式时,浮点数 -123625E-3 (隐含基数为 10 )规格化后的机器码:
阶码用补码方式、尾数用原码方式时,为__(41)__;
阶码用补码方式、尾数用反码方式时,为__(42)__;
阶码用移码方式、尾数用原码方式时,为__(43)__;
阶码用移码方式、尾数用补码方式时,为__(44)__;
阶码用移码方式、尾数用反码方式时,为__(45)__;
41.
A、110000111 00001000l10000000000000
B、100000111 00001000l0ll11111111111
C、110000111 11110000l0ll11111111111
D、100000111 111l0ll1010000000000000
42.
A、110000111 00001000l10000000000000
B、100000111 00001000l0ll11111111111
C、110000111 11110000l0ll11111111111
D、100000111 111l0ll1010000000000000
43.
A、110000111 11110111010000000000000
B、100000111 00001000110000000000000
C、110000111 00001000110000000000000
D、100000111 00001000l0ll11111111111
44.
A、110000111 11110111010000000000000
B、100000111 00001000110000000000000
C、110000111 00001000110000000000000
D、100000111 00001000l0ll11111111111
45.
A、110000111 111l0ll1010000000000000
B、100000111 00001000110000000000000
C、100000111 11110000l0ll11111111111
D、110000111 00001000l0ll11111111111
【单选题】:      
【单选题】:      
【单选题】:      
【单选题】:      
【单选题】:      

8题:设有int i=010,j=10;则执行“printf("%d,%d\n",++i,j--);”的输出是( )
A.ll, 10
B. 9,10
C. 010,9
D. 10, 9
【单选题】:      

9题: “年龄在18一25之间,,这种约束属于数据库系统的__(32)__措施。
32.
A、原子性
B、一致性
C、完整性
D、安全性
【单选题】:      

10题:设a为5,执行下列计算后,b的值不为2的是( )
A. b=a/2
B. b=6-(--a)
C. b=a%2
D. b=a<3?3:2
【单选题】:      

11题:void f(p1,p2)
int *p1,*p2;
{ int i,j;
*p2=0;
for(i=0;i<3;i++)
for(j=i;j<3;j++)
*p2+=*(pl+i*3+j);
return;

main()
{ int a[3][3]={{1,2},{3,4},{5,6}};
int s;
f(a,&s);
printf("%d",s);

【分析题】:

12、13、14、15、16题:software design is a __(71)__ process .It requires a certain __(72)__ of f1air on the part of the designer. Design can not be learned from a book .It must be practiced and learnt by experience and study of existing systems .A well __(73)__ software system is straightforward to implement and maintain ,easily __(74)__ and reliable .Badly __(73)__ software systems ,although they may work are __(75)__ to be expensive to maintain ,difficult to test and unreliable.
71.
A、create
B、createD、C、creating
D、creative
72.
A、amount
B、amounted      `
C、mount
D、mounteD、73.
A、design
B、designeD、C、designing
D、designs
74.
A、understanD、B、understands
C、understanding
D、understooD、75.
A、like
B、likely
C、unlike
D、unlikely
【单选题】:      
【单选题】:      
【单选题】:      
【单选题】:      
【单选题】:      

17题:函数调用时,下列说法中不正确的是 ( )
A.若用值传递方式,则形式参数不予分配内存
B.实际参数和形式参数可以同名
C.主调函数和被调用函数可以不在同一个文件中
D.函数间传送数据可以使用外部全局变量
【单选题】:      

18、19、20、21、22题:在编译程序中,语法分析的方法有自底向上分析和自顶向下分析。自底向上分析方法自左向右扫描输入符号串,通过__(11)__分析其语法是否正确。例如,__(12)__就是一种自底向上的分析方法,与其它自底向上分析方法不同,它是根据__(13)__来进行归约的。自顶向下分析方法从文法的开始符号出发,判断其能否__(14)__出输入符号串。采用自顶向下分析方法时,要求文法不含有__(15)__。
11.
A、归约一移进
B、移进-移进
C、移进一归约
D、归约-归约
12.
A、算符优先分析法
B、预测分析法
C、递归子程序分析法
D、LL(1)分析法
13.
A、短语
B、素短语
C、直接短语
D、句柄。
14.
A、归纳
B、归约
C、推理
D、推导
15.
A、右递归
B、左递归
C、直接右递归
D、直接左递归
【单选题】:      
【单选题】:      
【单选题】:      
【单选题】:      
【单选题】:      

游客×

请登录或注册

用户名:

密码:

注册