题目详情
当前位置:首页 > 职业培训考试
题目详情:
发布时间:2024-02-27 21:00:51

[判断题]执行SORT命令时,先对当前表中的记录按指定的关键字进行排序,然后将按排序后的全部记录重新存入原文件中。

更多"执行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

我来回答:

购买搜题卡查看答案
[会员特权] 开通VIP, 查看 全部题目答案
[会员特权] 享免全部广告特权
推荐91天
¥36.8
¥80元
31天
¥20.8
¥40元
365天
¥88.8
¥188元
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《购买须知》
立即支付 系统将自动为您注册账号
请使用微信扫码支付

订单号:

请不要关闭本页面,支付完成后请点击【支付完成】按钮
恭喜您,购买搜题卡成功
重要提示:请拍照或截图保存账号密码!
我要搜题网官网:https://www.woyaosouti.com
我已记住账号密码