【单选题】【消耗次数:1】
以下程序段运行后,x[1]的值为()。intx[5]={5,4,3,2,1};x[1]=x[3]+x[2+2]-x[3-1];
6
0
1
5
参考答案:
复制
纠错
相关题目
【单选题】 以下程序段运行后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
【简答题】 求解方程组<img class="jc-formula" data-tex="\begin{ cases } { x }_{ 1 }-2{ x }_{ 2 }+3{ x }_{ 3 }-{ x }_{ 4 }=1 \\ 3{ x }_{ 1 }-5{ x }_{ 2 }+5x_{ 3 }-3{ x }_{ 4 }=2 \\ 2{ x }_{ 1 }-3{ x }_{ 2 }+2{ x }_{ 3 }-2{ x }_{ 4 }=1 \end{ cases }" src="https://huaweicloudobs.ahjxjy.cn/D2F7DBEDF74F0DA535C0BD6A61FA9854.png" style="vertical-align: middle;"/>
【单选题】 国产LED用FGX1X2X3X4X5X6命名。
①  正确
②  错误
【简答题】 解线性方程组<img class="jc-formula" data-tex="\begin{ cases } x_{ 1 }+3{ x }_{ 2 }-{ 2x }_{ 3 }+{ x }_{ 4 }=1 \\ 2{ x }_{ 1 }+5{ x }_{ 2 }-3{ x }_{ 3 }+{ x }_{ 4 }=3 \\ -3{ x }_{ 1 }+4{ x }_{ 2 }+8{ x }_{ 3 }-2{ x }_{ 4 }=4 \\ 6{ x }_{ 1 }-{ x }_{ 2 }-6{ x }_{ 3 }+4{ x }_{ 4 }=2 \end{ cases }" src="https://huaweicloudobs.ahjxjy.cn/9D3F9AFD766D2E70840A2BC2711DEC75.png" style="vertical-align: middle;"/>.
【单选题】 minZ=4x1+6x2,4x1+3x2≤24,x2≥9,x1,x2≥0,则()。
①  无可行解
②  有唯一最优解
③  有无界解
④  有多重解
【简答题】 求如下方程组的全部解<img class="jc-formula" data-tex="\begin{ cases } { x }_{ 1 }+5{ x }_{ 2 }-{ x }_{ 3 }-{ x }_{ 4 }=-1 \\ x_{ 1 }-2{ x }_{ 2 }+{ x }_{ 3 }+3{ x }_{ 4 }=3 \\ 3{ x }_{ 1 }+8{ x }_{ 2 }-{ x }_{ 3 }+{ x }_{ 4 }=1 \\ { x }_{ 1 }-9{ x }_{ 2 }+3{ x }_{ 3 }+7{ x }_{ 4 }=7 \end{ cases }" src="https://huaweicloudobs.ahjxjy.cn/A62CC30A0D3B926B3452EB7F99DCE879.png" style="vertical-align: middle;"/>.
【简答题】 求解线性方程组<img class="jc-formula" data-tex="\begin{ cases } { x }_{ 1 }+{ x }_{ 2 }+{ x }_{ 3 }+{ x }_{ 4 }=1 \\ 3{ x }_{ 1 }+2{ x }_{ 2 }+{ x }_{ 3 }+{ x }_{ 4 }=-3 \\ \quad \quad \quad \quad \quad { x }_{ 2 }+3{ x }_{ 3 }+2{ x }_{ 4 }=5 \\ 5{ x }_{ 1 }+4{ x }_{ 2 }+3{ x }_{ 3 }+3{ x }_{ 4 }=-1 \end{ cases }" src="https://huaweicloudobs.ahjxjy.cn/F8FB85A63DD75F17C75DBA324F3C9E05.png" style="vertical-align: middle;"/>
【单选题】 当a=1,b=3,c=5,d=4,执行完下面一段程序后x的值是:ifa<b)ifc<d)x=1;elseifa<c)ifb<d)x=2;elsex=3;elsex=6;elsex=7
①  18
②  2
③  3
④  6
【单选题】 minZ=x1-x2,2x1+x2≥1,x1+4x2≤4,x1,x2=0或1,最优解是()。
①  (0,0)
②  (0,1)
③  (1,0)
④  (1,1)
【填空题】 平行线l1:3x-2y-5=0与l2:6x-4y+3=0之间的距离为[填空1]
随机题目
【单选题】 He said that his sister ?[填空]been there one week before
①  had
②  has
③  have
④  will have
【单选题】 [填空]gddition , I think we should take the cost into account.
①  For
②  As
③  In
④  On
【单选题】 Where shall I [填空] you?
①  dropped
②  drop
③  dropping
④  droppen
【单选题】 How are you going? -------[填空] train or [填空] plane?
①  by
②  on
③  at
④  in
【单选题】 I wish I[填空] young again.
①  am
②  were
③  are
④  was
【单选题】 Im not quite sure whether it[填空] tomorrow.
①  rain
②  rains
③  raining
④  wil rain
【判断题】 On the one hand, I want to sell the house, but on other hand I can’t? bear the thought of moving.
①  正确
②  错误
【判断题】 There was?a?steady?decrease?in unemployment.
①  正确
②  错误
【判断题】 I’m looking forward to meet you soon.
①  正确
②  错误
【判断题】 I have finished the book.
①  正确
②  错误