程序的运行结果是?()
第1题:
语句"Hell0".equals("hell0");的正确执行结果是( )。
A.true
B.false
C.0
D.1
第2题:
下列程序段的执行结果为 ______。 X=2 Y=1 If X * Y<1 Then Y=Y-1 Else Y=-1 Print Y-X>0
A.True
B.False
C.-1
D.1
第3题:
下列程序段的执行结果为 X=2 Y=5 If X * Y <1 Then Y=Y - 1 Else Y=-1 Print Y-X>0
A.True
B.False
C.-1
D.1
第4题:
有如下程序段:

执行该程序后,x的值为( )。
A.true
B.false
C.0
D.1
第5题:
有如下程序段
int a=14,b=15,x;
char c=′A′;
x=(a&&b)&&(c<′B′);
执行该程序段后,x的值为
A.true
B.false
C.0
D.1
第6题:
编写如下程序:
程序运行后,单击命令按钮Commandl,输出结果为

A.True
B.False
C.1
D.-1
B
【解析】ff…Else语句对b进行操作。a*b=6,<10,所以执行b=b+1=3。Print语句中,b-a=0,条件为假。选B。
第7题:
语句”Hello”.equals(”hello”);的正确执行结果是( )。
A.true
B.false
C.0
D.1
第8题:
要使菜单项MenuOne在程序运行时失效,使用的语句是
A.MenuOneVisible=True
B.MenuOneVisible=False
C.MenuOne.Enabled=True
D.MenuOne.Enabled=False
第9题:
有如下程序段:
执行该程序段后,X的值为( )。
A.true
B.false
C.0
D.1
第10题:
设有a=2,b=3,则a&&b的结果是()
第11题:
程序运行时,使Command1失效的语句是()。
第12题:
Command1.Visible=True
Command1.Visible=False
Command1.Enabled=True
Command1.Enabled=False
第13题:
有如下程序段:
int a=14,b=15,x;
char c='A';
x=(a&&b)&&(c<'B'):
执行该程序后,x的值为( )。
A.true
B.false
C.0
D.1
第14题:
下列程序段的执行结果为______。 X=2 Y=1 If X*Y<1 Then Y=Y-1 E1se Y=-1 Printy-X>0
A.True
B.False
C.-1
D.1
第15题:
要使菜单项MenuOne在程序运行时失效,应使用的语句是( )。
A. MenuOne.Visible=True
B. MenuOne.Visible=False
C. MenuOne.Enabled=True
D. MenuOne.Enabled=False
第16题:
执行下面这段程序后,单击命令按钮,窗体中输出结果是 ______。 Private Sub Command1_Click() a=1 : b=4 : c = 9 : d = 5 If a < b Then If c<d Then x=True Else If a<c Then x=False Else x=True End If End If End If Print Val(x) End Sub
A.True
B.False
C.0
D.1
第17题:
给定java代码片段,如下:运行后,这段代码将输出()。

A.true
B.false
C.0
D.1
第18题:
下列程序段: Int x=10,y=8; boolean b=true; System.out.println(x>0&&x<y||b); 的结果为 ( )
A.true
B.false
C.1
D.0
第19题:
语句"Hell0".equals("hell0");的正确执行结果是( )。
A.true
B.false
C.0
D.1
第20题:
下面的程序执行后,屏幕上显示的应是( )。
}
A.true
B.false
C.test
D.编译错误
第21题:
)要使菜单项MenuOne在程序运行时失效,使用的语句是
A) MenuOne.Visible=True
B) MenuOne.Visible=False
C) MenuOne.Enabled=True
D)MenuOne.Enabled=False
D
第22题:
语句"Hello".equals("hello")的正确执行结果是()
第23题:
var one;var two=null;console.log(one==two,one===two);上面代码的输出结果是()。