请看以下存储过程
begin
begin
<语句1>
exception
when others
dbms_output.put_line('错误1');
end;
begin
<语句2>
dbms_output.putline('错误2');
end;
exception
when others then
dbms_output.put_line("错误3");
end;
请问,当<语句1>,<语句2>出错时,该存储过程输出字符串分别是什么?
第1题:
A.错误
B.正确
第2题:
在汇编语言程序中,下面关于END语句的叙述正确的是
A.END 语句表示子程序执行到此结束
B.END 语句在汇编后要产生机器码
C.END 语句是可执行语句
D.END 语句表示源程序到此结束
第3题:
执行下列语句段后程序的输出结果是______。
int x[]={1,2,3,4,5};
int q=x;
cout<<*(++q)<<end1;
第4题:
以下语句错误的是
A.If a=1 And b=2 Then C=3 End If
B.If a=1 Then C=2 Else If a=2 Then C=2 End If
C.If a=1 Then C=3 End If
D.If a=1 Then C=2 Else If a=2 Then C=2 End If End If
第5题:
下列语句错误的是
A.If a=3 And b=2 Then c=3 End If
B.If a=1 Then c=2 Else If a=2 End If
C.If a=3 And b=2 Then c=2 Else If a=2 Then c=3 End If
D.If a=1 Then c=2
第6题:
执行“cout.<<char(‘F’,-2)<<end 1;”语句后得到的输出结果为【 】。
第7题:
假设X的值是5,则执行以下语句时,可得到的输出结果是ABCDEF的Select Case语句是 ( )
A.Select Case X Case 10 To 1 Print“ABCDEF” End Select
B.Select Case X Case Is>15,Is<5 Print"ABCDEF" End Select
C.Selecl Case K Case Is>5,1,3,To 10 Print"ABCDEF" End Select
D.Select Case X Case 1,3,Is>5 Print"ABCDEF" End Select
第8题:
语句cout<<setiosflags(ios::showpos)<<38<<""<<-38<<end1;的输出结果为【 】。
第9题:
为达到把a、b中的值交换后输出的目的,某人编程如下: Private Sub Command1_Click a%=10:b%=20 Call swap(a,B.:Print a,b End Sub Private Sub swap(ByVal aAs Integer,ByVal bAs Integer) c=a:a=b:b=c End Sub 在运行时发现输出结果错了,需要修改。下面列出的错误原因和修改方案中正确的是。 A.调用swap过程的语句错误,应改为:Call swap a,b B.输出语句错误,应改为:Print “a”,“b” C.过程的形式参数有错,应改为:swap(ByRef a As Integer,ByRef b As Integer) D.swap中3条赋值语句的顺序是错误的,应改为a=b:b=c:c=a
第10题:
A.语句1错误,语句2和语句3正确
B.语句2正确,语句1和语句3错误
C.语句3正确,语句1和语句2错误
D.语句1正确,语句2和语句3错误