数据库设计过程中,需求分析包括()。
A.信息需求
B.处理需求
C.安全性和完整性需求
D.以上全包括
假设有Student表,可以正确添加字段“平均分数”的命令是( )。
A.ALTER TABLE student ADD平均分数 F(6,2)
B.ALTE RDBF Student ADD 平均分数F 6,2
C.CHANGE TABLE Student ADD 平均分数F(6,2)
D.CHANGE TABL Estudent INSERT平均分数6,2
下列语句中,错误的是( )。
A.const int buffer=-256;
B.const int temp;
C.const double *point;
D.const double *rt=new double(5.5);
请按下面注释的提示,将类B的构造函数定义补充完整。
C1assA
{
int a;
public:
A(int aa=O){a=aa;}
};
class B:public A {
int b;
A c;
public:
//用aa初始化基类A,用aa+1初始化类对象成员c
B(int aa}:【 】{b=aa+2}
};
下列函数的功能是判断字符串str是否对称,对称则返回true,否则返回false,则横线处应填上( )。 Bool fun(char*str) { int i=0,j=0; while(str[j])j++; for(j--;i<j&&str[i]==str[j];i++,j--); return i______j; }
A.>==
B.||
C.&&
D.<==