(c) Briefly describe three advantages to Bailey’s of counselling. (3 marks)
第1题:
下面的程序的运行结果是__________
func main() {strs := []string{"one", "two", "three"}for _, s := range strs { go func() { time.Sleep(1 * time.Second) fmt.Printf("%s ", s) }()}time.Sleep(3 * time.Second)}
第2题:
下列语句能给数组赋值,而不使用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"};
第3题:
下列选项中,不能创建字典对象的语句是()。
A.{'one':1, 'two':2, 'three':3}
B.dict('one':1, 'two':2, 'three':3)
C.dict([('one',1), ('two',2), ('three',3)])
D.dict(zip(['one','two','three'], [1,2,3]))
第4题:
Despite the wonderful acting and well-developed plot the _________ movie could not hold our attention.
A) three-hours B) three-hour
C) three-hours’ D) three-hour’s
选B
用破折号连接的作形容词不用复数.
第5题:
第6题:
4、下列选项中,不能创建字典对象的语句是()。
A.{'one':1, 'two':2, 'three':3}
B.dict('one':1, 'two':2, 'three':3)
C.dict([('one',1), ('two',2), ('three',3)])
D.dict(zip(['one','two','three'], [1,2,3]))