答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
有整型数组:int[] x={12,35,8,7,2};,则调用方法Arrays.sort(x)后,数组x中的元素值依次是( ).
①
2 7 8 12 35
②
12 35 8 7 2
③
35 12 8 7 2
④
8 7 12 35 2
参考答案:
复制
纠错
相关题目
【单选题】
若有以下数组说明inta[12]={1,4,7,10,2,5,8,11,3,6,9,12};则i=10;a[a[i]]元素数值是( )。
①
10
②
9
③
6
④
5
查看完整题目与答案
【单选题】
若有以下说明,int?a[12]={1,2,3,4,5,6,7,8,9,10,11,12};?则数值为4的表达式是()
①
a[4]
②
a(3)
③
a[3+1]
④
a[4]-a[0]
查看完整题目与答案
【单选题】
设X1,X2,...,X8是来自正态总体 的一个样本,令Y=(X1+X2+X3+X4)2+(X5+X6+X7+X8)2,若CY服从χ2分布,则C=( )
①
1/4
②
1
③
1/2
④
2
查看完整题目与答案
【单选题】
若有定义:int a[][3]={1,2,3,4,5,6,7,8};,则a数组的行数为()
①
无确定值
②
3
③
2
④
1
查看完整题目与答案
【单选题】
以下程序段运行后x的值为()。inta[8]={1,2,3,4,5,6,7,8},i,x=0;for(i=0;ii++,i++)x=x+a[i];
①
36
②
16
③
20
④
18
查看完整题目与答案
【单选题】
以下程序的输出结果是_______? f(int b[],int m,int n) { int i,s=0; for(i=m;in;i=i+2) s=s+b[i]; return s; } int main() { int x,a[]={1,2,3,4,5,6,7,8,9}; x=f(a,3,7); printf(%d\n,x); }
①
7
②
8
③
9
④
10
查看完整题目与答案
【单选题】
已知int a[10]={0,1,2,3,4,5,6,7,8,9},*p=a;不能表示数组a中元素的式子是()
①
*a
②
*p
③
a
④
a[p-a]
查看完整题目与答案
【单选题】
按照下题选出正确的输出结果如果有如下定义:int a[3][4]={{1, 2, 3, 4}, {5, 6, 7, 8},{9, 10, 11, 12}};,那么a[2][1]元素的结果是()?
①
12
②
11
③
10
④
9
查看完整题目与答案
【单选题】
若有定义int a,x;则语句a=(x=8,x+8);运行后,变量a,x的值依次为()
①
16,8
②
8,8
③
16,16
④
8,16
查看完整题目与答案
【单选题】
<img src=https://huaweicloudobs.ahjxjy.cn/97979BD847933CE2DBAE08596E7EC73D.png title=35.png alt=35.png/>
①
<img src=https://huaweicloudobs.ahjxjy.cn/E8531384548874C25D10126B7BB9D647.png title=35-1.png alt=35-1.png/>
②
<img src=https://huaweicloudobs.ahjxjy.cn/7032A2C4809C4E04F1738C6E23F5D0FD.png title=35-2.png alt=35-2.png/>
③
<img src=https://huaweicloudobs.ahjxjy.cn/F2FEFA06B8F6948B91857A89FA957E9D.png title=35-3.png alt=35-3.png/>
④
<img src=https://huaweicloudobs.ahjxjy.cn/300F613CB512013BAC455FADE6A03F84.png title=35-4.png alt=35-4.png/>
查看完整题目与答案
随机题目
【判断题】
Father didn’t look up from his book when I entered the living room.
①
正确
②
错误
查看完整题目与答案
【判断题】
Mrs. Fuller went on a diet and in three months brought down her weight to 100 pounds.
①
正确
②
错误
查看完整题目与答案
【判断题】
The contract had run away before Mr. Cook was able to find a new job.
①
正确
②
错误
查看完整题目与答案
【判断题】
In addition to a large collection of scientific works in Chinese, our library contains many scientific books in foreign languages.
①
正确
②
错误
查看完整题目与答案
【单选题】
— Could I use your dictionary for a moment?— _______________________.
①
Its well
②
It doesnt matter
③
I have no idea
④
By all means
查看完整题目与答案
【单选题】
Its bad ________ for you to smoke in the public places where smoking is not allowed.
①
:behavior
②
:action
③
:manner
④
:movement
查看完整题目与答案
【单选题】
-- Madam, do all the buses go downtown?--______________
①
:Wow, you got the idea.
②
:No, never mind.
③
:Pretty well, I guess.
④
:Sorry, Im new here.
查看完整题目与答案
【单选题】
— How was your trip to Australia?— ___________.
①
It was wonderful indeed
②
I went there alone
③
Very well
④
Believe it or not
查看完整题目与答案
【单选题】
— Good morning, Dr Johnsons office. Can I help you?— _______________________.
①
Speaking, please
②
Id like to make an appointment, please
③
Yes, go on
④
No, you cant
查看完整题目与答案
【单选题】
I have been looking forward to ____ from my parents.
①
:hear
②
:being heard
③
:be heard
④
:hearing
查看完整题目与答案