网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
有程序:CHARATERX*2,Y*3,Z*4DATAX,Y,Z/‘AB’,‘CDE’,‘FGHI’/WRITE(*,100)X,Y,Z100FORMAT(1X,A1,A2,A3)END此程序的运行结果是:()
- A、ABCDEF
- B、ACDFGH
- C、******
- D、ABCDEFGHI
参考答案
更多 “有程序:CHARATERX*2,Y*3,Z*4DATAX,Y,Z/‘AB’,‘CDE’,‘FGHI’/WRITE(*,100)X,Y,Z100FORMAT(1X,A1,A2,A3)END此程序的运行结果是:()A、ABCDEFB、ACDFGHC、******D、ABCDEFGHI” 相关考题
考题
有以下程序main(){ int x, y, z;x=y=1;z=x++,y++,++y;printf("%d,%d,%d\n",x,y,z);}程序运行后的输出结果是A)2,3,3B)2,3,2C)2,3,1D)2,2,1
考题
program exam(output); var x,y,x:integer; proedure silly(x:integer;vary:integer); begin x:=5;y:=6;z:=3; writeln(x,y,z) end; begin x:=1;y:=2;z:=3; silly(x,y); writeln(x,y,z) end. 以上程序运行结果为().
A567 563B567 567C567 167D567 163
考题
有下列程序: includevoidmain( )includestdi0.hvoidmain( ){intx=1,y=2,z=3;if(xy)if(y<z)print{(%d,++z);elseprintf(%d,++y);printf(”%d\n”,x++);}程序的运行结果是( )。A.331B.41C.2D.1
考题
有以下程序 main() {int x,y,z; x=y=1; z=x++,y++,++y; printf("%d,%d,%d\n",x,y,z); } 程序运行后的输出结果是______。A.2,3,3B.2,3,2C.2,3,1D.2,2,1
考题
有以下程序#include stdio.hint f(int x){ int y;if(x==0||x==1) return(3);y=x*x-f(x-2);return y;}main(){ int z;z=f(3); printf("%d\n",z);}程序的运行结果是A.0B.9C.6D.8
考题
下列程序运行后立即窗口输出的结果是 Private Sub Form_ClickO X="a":y="b" Z=1:u=2 Debug.x;y,z;u Debug.z;x,y;u End Sub A.a b 12 1 ab 2 B.ab 121 a b2C.ab 12 1a b2 D.ab 121a b2
考题
下列程序的运行结果是_______。main(){ int x=1,y=2,z=3;printf("%d,",x<y?y:x);primf("%d,",z<y?x++:y++);primf("%d,%d",x,y);}
考题
有以下程序: main() { int x=3, y=2, z=1; printf("% d\n", x/y~z); } 程序运行后的输出结果是______。A.3B.2C.-1D.0
考题
有如下程序: include using namespace std; void f1(int x, int y){int z=
有如下程序:#include<iostream>using namespace std;void f1(int x, int y){int z=x; x=y; y=z;)void f2(int x, int y){int z=x; x=y; y=z;}intmain(){int x=10, y=26;f1(x, y);f2(x, y);cout<<y<<end1;return 0;}运行时的输出结果是( )。A) 10B) 16C) 26D) 36A.B.C.D.
考题
有以下程序 include mare() { int x=1,y=2,z=3; if(x>y) if
有以下程序 #include <stdio.h> mare() { int x=1,y=2,z=3; if(x>y) if(y<z) printf("%d",++z); else printf("%d",++y); printf("%d\n",x++); } 程序的运行结果是______。A.331B.41C.2D.1
考题
有以下程序:includemain(){int x=3,y=2,z=1; printf("%d\n",x/y~z);程序运行后的
有以下程序: #include <stdio.h> main() { int x=3,y=2,z=1; printf("%d\n",x/y~z); 程序运行后的输出结果是( )。A.3B.2C.1D.0
考题
若有以下程序段;includeusing namespace std;int main(){ int a[]={1,4,5}; int *p=a[0],x=6,y,z; for(y=0;y<3;y++) z=((*(p+y)<x) ? *(p+y):x); cout<<z<<end1; return 0; } 程序运行后的输出结果是( )。A.1B.4C.5D.2
考题
运行下列程序,窗体中的显示结果是:( )。 OptionCompare Database Dim X AsInteger PrivateSub Form_Load x=3 EndSubPrivate Sub Commandll_click Static aAs Integer Dim b AsInteger b=x^2 funl x,b funl x.b MsgBox”x=‘’x End Sub Subfunl(ByRef Y As Integer,ByVal z AS Integer) y=y+z z=y-z End SubA.x=3B.x=2C.x=21D.x=12
考题
有以下程序: main() {int x,y,z; x=y=1; z=x++,y++,++y; printf("%d,%d,%d,%d\n",x,y,z); 程序运行后的输出结果是( )。A.2,3,3B.2,3,2C.2,3,1D.2,2,1
考题
在窗体中添加一个命令按钮,并编写如下程序: Private Sub Command1_CliCk() X=1∶Y=2∶Z=3 X=Y∶Y=Z∶Z=X Print Z End Sub 程序执行后,输出的结果是______。A.3B.0C.2D.1
考题
以下程序运行后,单击按钮输出结果是 Private Sub Commandl_Click( ) Dim x As Integer,y As Integer,z As Integer X=4:y=2: Z=3 Call Gopd(x,x,z) Print x;X;Z Call Gopd(x,y,y) Print x;y;y End Sub Private Sub Gopd(x As Integer,y As Integer,z As Integer) X=3 * Z + 1 y=2 * z z=x + y End SubA.6 6 12 7 11 11B.8 5 10 5 11 11C.9 6 12 9 10 15D.8 10 10 5 9 10
考题
有以下程序:includemain(){int x=0,y=5,z=3; while(z-->0 ++x
有以下程序: #include <sldio.h> main() { int x=0,y=5,z=3; while(z-->0 ++x<5) y=y-1; printf("%d,%d,%d\n",x,y,z); } 程序执行后的输出结果是( )。A.3,2,0B.3,2,-1C.4,3,-1D.5,-2,-5
考题
如下程序的运行结果是______。 include main() { int x=y=3,z=1; printf ("%d%d\n",(++
如下程序的运行结果是______。 #include<stdio.h> main() { int x=y=3,z=1; printf ("%d%d\n",(++x,y++),z+2); }A.3 4B.4 2C.4 3D.3 3
考题
单击按钮时,以下列程序运行后的输出结果是 Private Sub proc1(x As Integer,y As Integer,z As Integer) x=3*z y=2*z z=X+y End Sub Private Sub Command1_Click( ) Dim x As Integer,y As Integer,z As Integer x=1:y=2:z=3 Call proc1(x,x,2) Print x;x;z Call proc1(x,y,y) Print x;y;y End SubA.6 6 12 6 6 10B.9 5 10 5 10 10C.9 6 12 9 10 15D.9 5 10 5 4 10
考题
单击按钮时,以下程序运行后的输出结果是 Private Sub Commandl_Click( ) Dim X As Integer,y As Integer,z As Integer x=1:y=2: Z=3 Call God(x,x,z) Print x;x;z Call God(x,y,y) Print X;y;y End Sub Private Sub God(x As Integer,y As Integer,z As Integer) x=3 * Z + 1 y=2 * Z z=x + y End SubA.6 6 12 7 11 11B.8 5 10 5 11 11C.9 6 12 9 10 15D.8 10 10 5 9 10
考题
单选题有程序:CHARATERX*2,Y*3,Z*4DATAX,Y,Z/‘AB’,‘CDE’,‘FGHI’/WRITE(*,100)X,Y,Z100FORMAT(1X,A1,A2,A3)END此程序的运行结果是:()A
ABCDEFB
ACDFGHC
******D
ABCDEFGHI
考题
单选题阅读下列程序 A=3.5 CALL SUBA(A,A,A) WRITE(*,’(F4.1)’)A END SUBROUTINE SUBA(X,Y,Z) Y=Y-2.0 Z=Z+X END 程序运行的结果是()A
7.0B
5.0C
3.5D
1.5
考题
单选题有以下程序#include main(){ int x,y,z; x=y=1; z=x++,y++,++y; printf(%d,%d,%d,x,y,z);}程序运行后的输出结果是( )。A
2,3,1B
2,3,2C
2,3,3D
2,2,1
热门标签
最新试卷