【单选题】
循环“for(i=0,x=1;i=10xi++);”的循环执行( )。
【单选题】
在JavaScript中,运行下面的代码,sum的值是( )。
var sum = 0;
for(i = 1; i < 10; i++) {
if(i%5==0) break;
sum = sum + i;
}
【单选题】
说明语句“staticinti=10;”中,“i=10”的含义是()
【单选题】
在JavaScript中,运行下面的代码,sum的值是( )。var sum = 0;for(i = 1; i ( 10; i++) { if(i%5==0) break; sum = sum + i;}(选择一项)
【单选题】
已知三点A(10、20、15)、B(10、0、30)、C(0、10、0),则在坐标面上的点为______。
①
Normal
0
7.8 磅
0
2
false
false
false
EN-US
ZH-CN
X-NONE
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:普通表格;
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.5pt;
mso-bidi-font-size:11.0pt;
font-family:等线;
mso-ascii-font-family:等线;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:等线;
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:等线;
mso-hansi-theme-font:minor-latin;
mso-font-kerning:1.0pt;}
A、B、C三点
②
Normal
0
7.8 磅
0
2
false
false
false
EN-US
ZH-CN
X-NONE
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:普通表格;
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.5pt;
mso-bidi-font-size:11.0pt;
font-family:等线;
mso-ascii-font-family:等线;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:等线;
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:等线;
mso-hansi-theme-font:minor-latin;
mso-font-kerning:1.0pt;}
B点
③
Normal
0
7.8 磅
0
2
false
false
false
EN-US
ZH-CN
X-NONE
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:普通表格;
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.5pt;
mso-bidi-font-size:11.0pt;
font-family:等线;
mso-ascii-font-family:等线;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:等线;
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:等线;
mso-hansi-theme-font:minor-latin;
mso-font-kerning:1.0pt;}
B、C两点
④
Normal
0
7.8 磅
0
2
false
false
false
EN-US
ZH-CN
X-NONE
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:普通表格;
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.5pt;
mso-bidi-font-size:11.0pt;
font-family:等线;
mso-ascii-font-family:等线;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:等线;
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:等线;
mso-hansi-theme-font:minor-latin;
mso-font-kerning:1.0pt;}
C点
【单选题】
若int i=10; 执行下列程序后,变量i的正确结果是( ) switch ( i )
{ case 9: i+=1;
case 10: i+=1;
case 11: i+=1;
default : i+=1; }
【单选题】
在下面循环语句中循环体执行的次数为()。
int i=0; do i++; while(i*i<10);
【单选题】
在下面循环语句中循环体执行的次数为(????)
?int i=0; do i++; while(i*i<10);
【单选题】
下述程序的运行结果( )。
#includevoid main()
{
char ch;
int i=0;
for(ch=achzch++)
{
printf(%c ,ch);
if(i%10==0)
printf(\n
}
printf(\n
}
①
a b c d e f g h i j
k l m n o p q r s t
u v w x y z
②
a b c d e f g h
i j k l m n o p q r
s t u v w x y z
③
a b c d e f g
h i j k l m n o p q
r s t u v w x y z
④
a b c d e f g
h i j k l m n o
p q r s t u v w x y z