皮皮学,免费搜题
登录
搜题
【单选题】
下列三种算法是经常应用的内排序算法:插入排序、选择排序和冒泡排序。阅读下列算法,回答问题。INSERTION-SORT(A)1.fori=2toN2.{key=A[i];3.j=i-1;4.While(j>0andA[j]>key)do5.{A[j+1]=A[j];6.j=j-1;}7.A[j+1]=key;8.}SELECTION-SORT(A)1.fori=1toN-12.{k=i;3.forj=i+1toN4.{ifA[j] <>ithen6.{7.temp=A[k];8.A[k]=A[i];9.A[i]=temp;10.}11.}BUBBLE-SORT(A)1.fori=1toN-12.{haschange=false;3.forj=1toN-i4.{ifA[j]>A[j+1]then5.{temp=A[j];6.A[j]=A[j+1];7.A[j]=temp;8.haschange=true;9.}10.}11.if(haschange==false)thenbreak;12.}阅读BUBBLE-SORT算法,已知N=20,下列说法正确的是_____。
A.
第5轮次,是将第1个元素至第15个元素之间的元素,相邻者进行比较
B.
第4轮次,是将第1个元素至第20个元素之间的元素,相邻者进行比较
C.
第8轮次,是将第20个元素至第12个元素之间的元素,相邻者进行比较
D.
第11轮次,是将第20个元素至第1个元素之间的元素,相邻者进行比较
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】翻译non-profit organizations
【单选题】Based on the data above, what is the maximum inventory level?
A.
1750
B.
2275
C.
2860
D.
2900
【单选题】What is the effect on inventory carrying costs if order size is increased and frequency of orders decreased?
A.
costs increase
B.
costs decrease
C.
costs remain the same
D.
the effect cannot be determine
【判断题】The surplus may be profit in business organizations and satisfaction of needs in non-profit organizations, with different patterns.
A.
正确
B.
错误
【单选题】What is the inventory turnover rate?
A.
1.84
B.
2.02
C.
3.51
D.
4.68
【单选题】Jiff sells his goods at a mark up of 25% on cost price. During the year the following took place. $ sales 1250 purchases 600 Opening inventory was $1000 What is closing inventor...
A.
$3500
B.
$1000
C.
$500
D.
$600
【多选题】古法印像的数字胶片文件制作中常用到的手机修图软件是()
A.
Snapseed
B.
美图秀秀
C.
Pixlr
D.
美拍
【单选题】For a particular component, the re-order quantity is 6,000 units and the average inventory holding is 3,400 units. What is the level of safety inventory (in whole units)?
A.
400
B.
3,400
C.
3,000
D.
6,400
【判断题】梁下部纵筋2Ф25+3Ф20(-3)/5Ф25表示,上排纵筋为2Ф25和3Ф20且3Ф20不伸入支座,下排纵筋为5Ф25,全部伸入支座
A.
正确
B.
错误
【单选题】Suppose demand is 250 units a month and average inventory is 30 units and unit cost is $10. What is the annual inventory turnover
A.
1000
B.
100
C.
833.33
D.
8.333
相关题目: