● The (74) scheme in a database system is responsible for the detection of failures and for the restoration of the database to a state that existed before the occurrence of the failure.
(74)
A. query
B. test
C. check
D. recovery
查看答案
(39)有以下程序
#include <stdio.h>
main()
{ unsigned char a=8,c;
c=a>>3;
printf("%d\n",c);
}
程序运行后的输出结果是
A)32
B)16
C)1
D)0
(33)有以下程序
#include <stdio.h>
int fun (int x,int y)
{ if (x!=y) return ((x+y);2);
else return (x);
}
main()
{ int a=4,b=5,c=6;
printf("%d\n",fun(2*a,fun(b,c)));
}
程序运行后的输出结果是
A)3
B)6
C)8
D)12
(8)若要在宏中打开某个数据表,应使用的宏命令是 【8】 。
(7)有以下程序
#include <stdio.h>
main()
{ int x;
scanf("%d",&x);
if(x>15) printf("%d",x-5);
if(x>10) printf("%d",x);
if(x>5) printf("%d\n",x+5);
}
若程序运行时从键盘输入12<回车>,则输出结果为 【7】 。