网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
关于数组vara=[1,2,3,"student",true];a[3]是("student")a[6]是()。
- A、报错
- B、0
- C、undefined
- D、null
参考答案
更多 “关于数组vara=[1,2,3,"student",true];a[3]是("student")a[6]是()。A、报错B、0C、undefinedD、null” 相关考题
考题
Javascript中,以下那两个变量的值不是==:()
A、vara=0,b=-0B、vara=NaN,b=NaNC、vara=null,b=undefinedD、vara=[],b=false
考题
以下两个变量a和b,a+b的哪个结果是NaN?()
A、vara=undefind;b=NaNB、vara=‘123’;b=NaNC、vara=undefined,b=NaND、vara=NaN,b=undefined
考题
在以下选项中,能IE确声明数组并进行初始化的语句是( )。A.str=new Dimension(1,2,3);B.str=new dimension(1,2,3);C.str:new Array(1,2,3);D.str=new array(1,2,3);
考题
由如下程序: Type Student Num As Integer Name As String * 13 End Type Dim stu(30)As Student 该程序段定义了两个程序成分,它们分别是 ______。A.记录类型和记录数组B.记录类型和记录变量C.显示类型和记录数组D.记录变量和记录数组
考题
下面定义的一维数组并赋值正确的是()。A、inta[2]={1,2,3};B、inta[3]={1,2,3};C、floata[3]={‘1’,’2’,’3’};D、floata[3]={’1’,’a’,1.1};
考题
vara=[“a”,“b”,“c”];varb=[“d”,“e”,“f”];有a,b两个数组,下面哪个选项可以把a,b合成一个新的数组()。A、全不正确B、varc=a.push()+b.push()C、varc=a.concat(b)D、varc=a.join(b)
考题
将有三个boolean值的数组初始化为true的是()A、boolean[]b=newboolean[3]B、"boolean[]b={true,true,true}"C、"boolean[3]b={true,true,true}"D、"boolean[]b=newboolean[3];b={true,true,true}"
考题
单选题下面定义的一维数组并赋值正确的是()。A
inta[2]={1,2,3};B
inta[3]={1,2,3};C
floata[3]={‘1’,’2’,’3’};D
floata[3]={’1’,’a’,1.1};
考题
多选题定义字符数组正确的是()。Achars[]=Student;Bchars[7]=Student;Cchars[7]={’S’,’t’,’u’,’d’,’e’,’n’,’t’};Dchars[]={Student};
考题
单选题All of Mark's former students go to college. If the statement above is true, which of the following must also be true?A
If Ethan was not Mark's student, then he is not going to college.B
If Joyelle goes to college, then she was not Mark's student.C
If Ginger goes to college, then she was Mark's student.D
If Stephanie was Mark's student, then she is not going to college.E
If Steve does not go to college, then he was not Mark's student.
考题
判断题表达式{1,3,2}{1,2,3}的值为True。A
对B
错
热门标签
最新试卷