答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
分析下面的JavaScript代码段,输出的结果是()。emp=new Array(5);emp[1]=1;emp[2]=2;document.write(emp.length);(选择一项)
①
2
②
3
③
4
④
5
参考答案:
复制
纠错
相关题目
【单选题】
分析下面的JavaScript代码段,输出的结果是()。 emp=new Array(5); emp[1]=1; emp[2]=2; document.write(emp.length);
①
2
②
3
③
4
④
5
查看完整题目与答案
【单选题】
分析下面的JavaScript代码段,输出结果是()。var mystring=I am a studenta=mystring.charAt(9);document.write(a);(选择一项)
①
I am a st
②
u
③
udent
④
t
查看完整题目与答案
【单选题】
分析下面的JavaScript代码段,输出结果是()。 var mystring=I am a student; a=mystring.charAt(9); document.write(a);
①
I am a st
②
u
③
udent
④
t
查看完整题目与答案
【单选题】
假设今天是2006年4月1日星期六,请问以下javascript代码输出结果是:( )var time = new Date( );document.write(time.getDate( ));(选择一项)
①
2006
②
4
③
1
④
6
查看完整题目与答案
【单选题】
假设今天是2006年4月1日星期六,请问以下javascript代码输出结果是:( ) var time = new Date( ); document.write(time.getDate( ));
①
2006
②
4
③
1
④
6
查看完整题目与答案
【单选题】
有如下JavaScript代码: .... script language=JavaScript var x = true; document.write(x); /script .....页面运行后,输出( )。(选择一项)
①
1
②
0
③
true
④
真
查看完整题目与答案
【单选题】
在javaScript中,运行下列代码后的结果是 var d=1document.write(typcof(d));(选择一项)
①
char
②
number
③
string
④
undefined
查看完整题目与答案
【单选题】
在javaScript中,运行下列代码后的结果是 var d=1; document.write(typcof(d));
①
char
②
number
③
string
④
undefined
查看完整题目与答案
【单选题】
在JavaScript中,运行下面代码后的返回值是( )。var flag = true;document.write(typeof(flag));(选择一项)
①
undefined
②
null
③
number
④
boolean
查看完整题目与答案
【单选题】
以下程序的运行结果是( )。 void fun(int array[3][3]) { int j; for(j=0;jj++) array[1][j]=array[1][j]++; printf(\n} void main(){ int j,a[3][3]={0,1,2,1,0,4,2,4,5};fun(a);for(j=0;jj++)printf(%d,a[1][j]); printf(\n }
①
1 0 4
②
2 1 5
③
0 1 2
④
1 2 3
查看完整题目与答案
随机题目
【单选题】
11. -Will the foreigners have any problems talking with Chinese in 2008? -I don’t think so. Now ______ the young ______ the old can speak some English.
①
either…or
②
not only… but also
③
neither…nor
④
both…or
查看完整题目与答案
【单选题】
8. Hong Kong is ______ the south of China, and Macao is ______ the west of Hong Kong.
①
in;to
②
to; to
③
to; in
④
in; in
查看完整题目与答案
【单选题】
20. ______ you can’t answer this question, we have to ask someone else for help.
①
Although
②
While
③
Whether
④
Since
查看完整题目与答案
【单选题】
4. Jack has studied Chinese in this school _______ the year of 2000.
①
since
②
in
③
on
④
by
查看完整题目与答案
【单选题】
2. Where’s Lily? We are all here _______ her
①
beside
②
about
③
except
④
with
查看完整题目与答案
【单选题】
14. I won’t believe that the five-year-old boy can read five thousand words ______ I have tested him myself.
①
after
②
when
③
if
④
until
查看完整题目与答案
【单选题】
1. We traveled overnight to Paris and arrived _______ 5 o’clock ______ the morning.
①
on; in
②
at; in
③
on
④
on
查看完整题目与答案
【单选题】
18. The mountain was ______ steep _____ few people in our city reached the top.
①
so…as
②
so…that
③
as…as
④
too…to
查看完整题目与答案
【单选题】
18. He ______ listen to pop music, but now he ______dancing.
①
is used to; used to
②
used to; is used to
③
used to; is used for
④
is used for; used to
查看完整题目与答案
【单选题】
4. One more week, ______ we will finish the task.
①
don’t they
②
didn’t they
③
did they
④
do they
查看完整题目与答案