更多"执行SORT命令时,先对当前表中的记录按指定的关键字进行排序,然后将按"的相关试题:
[判断题]执行Total命令将生成一个新表,该表的记录个数总量小于当前表的记录个数。
[单项选择]下面的数据库表中,若职工表的主关键字是职工号,部门表的主关键字是部门号,SQL操作不能执行。 职工表 职工号 职工名 部门号 工资 001 李红 01 580 005 刘军 01 670 025 王芳 03 720 038 张强 02 650 部门表 部门号 部门名 主任 01 人事处 高平 02 财务处 蒋华 03 教务处 许红 04 学生处 杜琼
A. 从职工表中删除行(’025’,’王芳’,’03’,720)
B. 将行(’005’,’乔兴’,’04’,7500)插入到职工表中
C. 将职工号为’001’的工资改为700
D. 将职工号为’038’的部门改为’03’
[填空题]已知当前表中有13条记录,当前记录为第8条记录,执行SKIP—3命令后,当前记录变为第 【8】 条记录。
[判断题]Excel软件根据原文件自动创建备份文件的名称为原文件名后加上“的备份”字样,图标与原文件不同。
[填空题]请阅读下列程序代码,然后将程序的执行结果补充完整。
程序代码:
public class throwsException{
static void Proc(int sel)
throws ArithmeticException, ArrayIndexOutOfBoundsException
System.out.println("In Situation"+sel);
if(sel==0){
System.out.println("no Exception caught");
return;
}
else if(sel==1){
int iArray[]=new int[4];
iArray[1]=3;
}
}
public static void main(String args[]){
try{
Proc(0);
Proc(1);
}
catch (ArrayIndexOutOfBoundsException e){
System.out.println("Catch"+e);
}
finally{
System.out.println("in Proc finally");
}
}
}
执行结果
In Situation 0
no Exception caught
【14】
in Proc finally
[填空题]请阅读下列程序代码,然后将程序的执行结果补充完整。
程序代码:
Public class throwsException
static voidProc(intsel)
throws ArtthmeticExcepdon,AITaylndexOut of BoundsException
System.out println("In SimatiOn"+Sel);
if(sel==0)
System.out.println("noExceptioncallght");
return;
elseif(sel==1)
intiArray[]=newint[4];
i Array[1]=3;
public static void main(Stringargs[])
tfy
Proc(0);
Proc(1);
catch(ArraylndexOutOfBoundsExceptione)
System.out.println("Catch"+e);
flnally
Systern.out.println("inProcfinally");
执行结果:
In Situattion 0
no Exceptioncaught
inProcfinally
[填空题]请阅读下列程序代码,然后将程序的执行结果补充完整。
程序代码:
public class throwsException
static void Proc(int sel)
throws ArithmeticException,ArrayIndexOutOfBoundsException
System.out. println("In Situation"+sel);
if(sel==0)
System.out.println("no Exception caught");
return;
else if(sel==1)
int iArray[]=new int[4];
iArray[1]=3;
public static void main(String args[])
try
Proc(0);
Proc(1);
catch(ArrayIndexOutOfBoundsException e)
System.out.println("Catch"+e);
finally
System.out.println("in Proc finally");
执行结果:
In Situation 0
no Exception caught
______
in Proc finally
[填空题]请阅读下列程序代码,然后将程序的执行结果补充完整。
程序代码:
public class throwsExcepfion
static void Proc(int se1)
throws ArithmeticException,ArraylndexOutOfBoundsException
System.out.println("in Situation"+se1);
if(se1==0)
System.out.println("no Exception caught");
return;
else if(se1==1)
int iArray[]=new int[4];
iArray [1]=3;
public static void main(String args[])[
try
Proc(0);
Proc(1);
catch(ArraylndexOutOfBoundsException e)
System.out.println("Catch"+e);
finally
System.out.println("in Proc finally");
执行结果:
In Situation( )
no ExcepbOn cauSht
【14】
in Proc findly
[填空题]如果表中一个字段不是本表的主关键字,而是另外一个表的主关键字或候选关键字,这个字段称为【 】。
[填空题]有一个学生关系,其关键字为学号,又有一个课程关系,其关键字为课程号,另有一个选修关系,其关键字为学号和课程号的组合,则学号和课程号分别为该关系的______。
[单项选择]设二叉排序树中关键字由1~1000的整数构成,现要查找关键字为363的结点,下列关键字序列不可能是在二叉排序树上查找到的序列是______。
A. 2,252,401,398,330,344,397,363
B. 924,220,911,244,898,258,362,363
C. 925,202,911,240,912,245,363
D. 2,399,387,219,266,382,381,278,363
[单项选择]请阅读下列程序代码,然后将程序的执行结果补充完整。横线处应填写的内容是______。
程序代码:
public class throwsException
static void Proe(intsel)
throws Arithmetic Exception, Array Index Out OfBounds Exception
System. out. println("InSituation"+sel);
if(sel==0)
System. out. println( "noExeeption caught")
return;
else if(sel==1)
int iArray[]=newint[4];
iArray[1]=3;
public static void main(String args[])
try
Proc(0);
Proc(1);
catch(Array Index Out Of Bounds Exception e)
System. out. println( "Catch"+e);
finally
System. out. println("inProcfinally");
执行结果:
In Situation 0
no Exception caught
______
in Proc finally
A. In Situation 1
B. In Situation
C. with Catch
D. int iArray 1