Two Norwegians, one Ukrainian, and one Briton.
Four Norweigians.
Two Norwegians and two Britons.
Two Norwegians and two Ukrainians.
第1题:
以下对枚举类型名的定义中正确的是______。
A.enum a={one,two,three};
B.enum a{one=9,two=-1,three};
C.enum a={"one","two","three"};
D.enum a{"one","two","three"};
第2题:
以理对枚举类型名的定义中正确的是______。
A.enum a={one, two, three);
B.enum a {one=9, two=1three};
C.enum a={"one", "two", "three"};
D.enum a {"one", "two". "three"};
第3题:
( 10 )执行下列程序,显示的结果是 【 10 】 。
one= "WORK"
two = ""
a = LEN ( one )
i = a
DO WHILE i>=1
two = two + SUBSTR ( one ,i , 1 )
i=i - 1
ENDDO
? two
第4题:
下列语句能给数组赋值,而不使用for循环的是
A.myArray{[1]="One";[2]="Two";[3]="Three";}
B.String s[5]=new String[] {"Zero","One","Two","Three","Four"};
C.String s[]=new String[] {"Zero","One","Two","Three","Four"};
D.String s[]=new String[]= {"Zero","One","Two","Three","Four"};
第5题:
A. A two disk set with one data strip
B. A three disk set with two data strips and a parity strip
C. A two disk set with two data strips
D. A four disk set with two sets of data strips
第6题:
下列语句能给数组赋值而不使用for循环的是
A.myArray{[1]="One";[2]="Two";[3]="Three";}
B.String s[5]=new String[]{"Zero", "One", "Two", "There", "Four"};
C.String s[]=new String[]{"Zero", "One", "Two", "There", "Four"};
D.String s[]=new String[]=|"Zero", "One", "Two", "There", "Four"};
第7题:
类class one 在声明func 成员函数时发生错误,出错原因是【 】。
Class one
{
private:
int a;
public:
void func(two& )
};
class two
{
private:
int b;
friend void one: :func(two & );
};
void one: : func(two& r)
a=r.b;
}
第8题:
以下对枚举类型名的定义中正确的是______。
A.enum a={one,two,three};
B.enum a{on=9,two=-1,three};
C.enum a={"one","two","three"};
D.enum a{"one","two","three"};
第9题:
以下对枚举类型名的定义中正确的是( )
A.enum a={one,two,three};
B.enum a{one=9,two=-1,three=200};
C.enum a={"one","two","four"};
D.enum a{"nine","two","three"};
第10题:
以下对枚举类型名的定义中正确的是( )。
A.enum a={one,two,three};
B.enum a{one=9,two=-1.three=200};
C.enum a={"one","two","four"};
D.enum a{"nine","two","three"};