
【名词&注释】
复杂度(complexity)、字符串(string)、完整性检查(integrity checking)、最小化(minimization)、循环体(loop body)、选项卡、要注意(should be noticed)、重新开始(restart)
[单选题]算法的时间复杂度是指
A. 执行算法程序所需要的时间
B. 算法程序的长度
C. 算法执行过程中所需要的基本运算次数
D. 算法程序中的指令条数
查看答案&解析
举一反三:
[单选题]当一个应用程序窗口被最小化后,该应用程序将( )
A. 终止运行
B. 继续运行
C. 暂停运行
D. 以上三者都有可能
[单选题]己知有定义
A. const int D二5;
B. int i=1;
C. double f=0.32:
D. char c=15;
E. 则下列选项错误的是
F. ++i;
G. D--;
H. C++;
I. --f;
[单选题]如果指定参照完整性的删除规则为“级联”,则当删除父表中的记录时,( )。
A. 系统自动备份父表中被删除记录到一个新表中
B. 若子表中有相关记录,则禁止删除父表中记录
C. 会自动删除子表中所有相关记录
D. 不作参照完整性检查,删除父表记录与子表无关
[单选题]有以下程序 main() { int i=0,s=0; do{ if(i%2){i++;continue;} i++; s+=i; }while(i7); printf("%d\n",s); } 执行后输出结果是
A. 16
B. 12
C. 28
D. 21
[单选题]有以下程序: #include iostream> using namespace std; class B { private: int a,b; public: B(){} B(int i,int j); void printb(); }; class A { B C; public: A(){} A(int i,int j); void printa(); }; A::A(int i,int j) :c(i,j) {} void A::printa() { c.printb (); } B::B(int i, int j) { a=i; b=j; } void B: :printb() { couta", "bend1; } int main () { A m(7,8); m.printa(); return 0; } 该程序运行后的输出结果是( )。
A. 7,8
B. 8,9
C. 9,10
[单选题]以下正确的程序段是
A. cgar str[20]; scanf("%s",&str);
B. char *p; scanf("%s",p);
C. char str[20]; scanf("%s",&str[2])
D. char str[20],*p=str; scanf("%s",p[2]);
[单选题]视图设计器中包括的选项卡有( )。
A. 连接、显示、排序依据
B. 更新条件、排序依据、显示
C. 显示、排序依据、分组依据.
D. 更新条件、筛选、字段
本文链接:https://www.zhukaozhuanjia.com/download/5jwo5l.html