亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? 7.txt

?? icarnegie SSD5 Mutli-choice4-7
?? TXT
?? 第 1 頁 / 共 2 頁
字號:
View Assessment Result: Multiple-Choice Quiz 7


 

 Your performance was as follows:  

 1. 
 Consider the following statement using the STL sort() routine.

      sort( A.begin(), A.end(), f );

Which of the following most accurately describes the result of executing this statement?
 
 

  (a) Container A is sorted using the function f for assignments.
 (b) Container A is sorted by applying function f to its elements.
 (c) Container A is sorted using sorting algorithm f.
 (d) Container A is sorted using the Boolean valued function f for comparisons.  

 Correct answer is  (d)  

 Your score on this question is: 0.00  

 Feedback: 
   See section 4.1.3 of the course notes.  
 

--------------------------------------------------------------------------------

 2. 
 Consider the following outline of a template sorting function.

      template<class T>  void  sort( T a[], int n ) { ... }

For a given sorting algorithm S, which of the following is true about using this outline to implement S?
 
 

  (a) It is a poor choice since it does not work with linked lists.
 (b) It is a reasonable way to implement S.
 (c) It is impossible since the algorithm cannot know how to compare two instances of type T.
 (d) It is a poor choice since templates slow down sorting.  

 Correct answer is  (b)  

 Your score on this question is: 10.00  

 Feedback: 
   See section 4.1.3 of the course notes.  
 

--------------------------------------------------------------------------------

 3. 
 Which of the following search algorithms can be applied to unsorted data? 

Linear search 
Binary search
 
 

  (a) II only
 (b) None
 (c) I and II
 (d) I only  

 Correct answer is  (d)  

 Your score on this question is: 0.00  

 Feedback: 
   
See section 4.1.1 in the course notes. 
 
 

--------------------------------------------------------------------------------

 4. 
 Which of the following statements about both arrays and linked lists is (are) true? 

Direct element access using subscripts is supported in both the containers. 
Both can be searched using binary search. 
Elements of both the containers can be sorted.
 
 

  (a) III only
 (b) II only
 (c) I, II, and III
 (d) II and III only  

 Correct answer is  (a)  

 Your score on this question is: 0.00  

 Feedback: 
   See section 4.1.1 of the course notes.  
 

--------------------------------------------------------------------------------

 5. 
 In the context of hashing, what is meant by a collision?  
 

  (a) The hash function returns a value larger than the table size.
 (b) The insertion algorithm cannot find an empty slot in the table.
 (c) Two key/value pairs have the same value.
 (d) Two different keys hash to the same slot.  

 Correct answer is  (d)  

 Your score on this question is: 0.00  

 Feedback: 
   See section 4.1.3 of the course notes.  
 

--------------------------------------------------------------------------------

 6. 
 Which of the following is true about a good hash function?  
 

  (a) It should produce apparently random values for given items.
 (b) It should produce small outputs for small inputs.
 (c) It should never output a prime number.
 (d) It should only output prime numbers.  

 Correct answer is  (a)  

 Your score on this question is: 0.00  

 Feedback: 
   See section 4.1.3 of the course notes.  
 

--------------------------------------------------------------------------------

 7. 
 Consider the following C++ code fragment.

for( int i = 0; i < n; i++ ) {
    for( int j = 0; j < n; j++ ) {
        for( int k = 0; k < n; k++ ) {
            body;
        }
    }
}

If body executes in constant time, then the asymptotic running time that most closely bounds from above the performance of this code fragment is
 
 

  (a) O(n3)
 (b) O(n2)
 (c) O(2n)
 (d) O(n)  

 Correct answer is  (a)  

 Your score on this question is: 0.00  

 Feedback: 
   See section 4.2.1 of the course notes.  
 

--------------------------------------------------------------------------------

 8. 
 Consider the following C++ code fragment.

for( int i = 0; i < n; i++ ) {
    for( int j = 0; j < n/5; j++ ) {
        body;
    }
}

If body executes in constant time, then the asymptotic running time that most closely bounds from above the performance of this code fragment is
 
 

  (a) O(n2)
 (b) O(n)
 (c) O(n log n)
 (d) O(n3)  

 Correct answer is  (a)  

 Your score on this question is: 0.00  

 Feedback: 
   See section 4.2.1 of the course notes.  
 

--------------------------------------------------------------------------------

 9. 
 The asymptotic running time that most closely bounds the performance of insertion sort on an input array with length n is  
 

  (a) O(2n)
 (b) O(n2)
 (c) O(n log n)
 (d) O(n)  

 Correct answer is  (b)  

 Your score on this question is: 0.00  

 Feedback: 
   See section 1.7.2 of the course notes.  
 

--------------------------------------------------------------------------------

 10. 
 The asymptotic running time of merge sort with an input array of length n is most closely bound from above by?  
 

  (a) O(n log n)
 (b) O(n)
 (c) O(2n)
 (d) O(n2)  

 Correct answer is  (a)  

 Your score on this question is: 10.00  

 Feedback: 
   See section 4.2.1 of the course notes.  
 

--------------------------------------------------------------------------------

 Go to top of assessment.  

 Total score: 20.00 

 ? Copyright 2004 iCarnegie, Inc. All rights reserved.  
View Assessment Result: Multiple-Choice Quiz 7


 

 Your performance was as follows:  

 1. 
 Consider the following statement using the STL sort() routine.

      sort( A.begin(), A.end(), f );

Which of the following most accurately describes the result of executing this statement?
 
 

  (a) Container A is sorted using the function f for assignments.
 (b) Container A is sorted using the Boolean valued function f for comparisons.
 (c) Container A is sorted using sorting algorithm f.
 (d) Container A is sorted by applying function f to its elements.  

 Correct answer is  (b)  

 Your score on this question is: 10.00  

 Feedback: 
   See section 4.1.3 of the course notes.  
 

--------------------------------------------------------------------------------

 2. 
 Which of the following statements about arrays and linked lists is (are) true in the context of a sorting algorithm? 

The sorting algorithm is asymptotically faster if the elements are in an array rather than a linked list. 
For the algorithm to be implemented, direct element access must be supported in both the containers.
 
 

  (a) II only
 (b) None
 (c) I only
 (d) I and II  

 Correct answer is  (b)  

 Your score on this question is: 0.00  

 Feedback: 
   See section 4.1.2 of the course notes.  
 

--------------------------------------------------------------------------------

 3. 
 Which of the following search algorithms can be applied to unsorted data? 

Linear search 
Binary search
 
 

  (a) I only
 (b) II only
 (c) I and II
 (d) None  

 Correct answer is  (a)  

 Your score on this question is: 10.00  

 Feedback: 
   
See section 4.1.1 in the course notes. 
 
 

--------------------------------------------------------------------------------

 4. 
 Consider a data set of 100 items. Which of the following is a search algorithm (are search algorithms) that could possibly examine 25 items in this set before succeeding? 

Linear search 
Binary search
 
 

  (a) II only
 (b) I and II
 (c) None
 (d) I only  

 Correct answer is  (d)  

 Your score on this question is: 0.00  

 Feedback: 
   
See section 4.1.1 in the course notes. 
 
 

--------------------------------------------------------------------------------

 5. 
 Which of the following indicates the primary difficulty with hashing in general?  
 

  (a) Hash functions are hard to compute.
 (b) Access in hash tables is slow.
 (c) Collisions will occur.
 (d) Hash tables take up a lot of memory.  

 Correct answer is  (c)  

 Your score on this question is: 10.00  

 Feedback: 
   See section 4.1.3 of the course notes.  
 

--------------------------------------------------------------------------------

 6. 
 Suppose hash() is a hash function. The main idea behind hashing is to use a key k to store a value v in which position of a table?  
 

  (a) hash(k,v)
 (b) hash(v)
 (c) hash() (a random position computed by the hash function using k)
 (d) hash(k)  

 Correct answer is  (d)  

 Your score on this question is: 0.00  

 Feedback: 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲天堂精品视频| 国产成人av电影在线| 色综合天天在线| 亚洲欧美激情在线| 色婷婷综合中文久久一本| 一区二区三区成人| 777xxx欧美| 麻豆成人免费电影| 欧美国产一区在线| 欧美偷拍一区二区| 久久99精品久久久| 亚洲视频一区二区在线| 欧美日韩免费观看一区二区三区| 日本欧美在线观看| 欧美国产激情二区三区| 日本丰满少妇一区二区三区| 奇米影视在线99精品| 国产精品毛片久久久久久| 色婷婷国产精品综合在线观看| 日韩中文字幕一区二区三区| 日韩一区二区三区视频在线| 国产成人在线电影| 亚洲影视在线播放| 久久久久久久久99精品| 色综合久久六月婷婷中文字幕| 日韩av中文在线观看| 国产蜜臀av在线一区二区三区| 色妹子一区二区| 寂寞少妇一区二区三区| 中文字幕亚洲区| 日韩免费成人网| 在线观看av一区| 国产主播一区二区三区| 亚洲国产精品精华液网站| 国产午夜精品久久久久久久| 欧美老年两性高潮| www.爱久久.com| 秋霞午夜鲁丝一区二区老狼| 亚洲精品免费在线| 久久精品夜色噜噜亚洲a∨| 欧美猛男gaygay网站| 国产91精品精华液一区二区三区| 亚洲电影你懂得| 中文字幕中文字幕一区| 欧美变态tickle挠乳网站| 色婷婷一区二区三区四区| 国产成人精品免费一区二区| 强制捆绑调教一区二区| 亚洲一区二区精品视频| 国产精品久久久久久久久果冻传媒| 日韩一级欧美一级| 欧美色图片你懂的| 972aa.com艺术欧美| 国产激情视频一区二区三区欧美| 免费三级欧美电影| 午夜伊人狠狠久久| 亚洲网友自拍偷拍| 亚洲免费观看在线观看| 国产精品家庭影院| 欧美国产精品中文字幕| 精品国产91久久久久久久妲己| 欧美日本一道本在线视频| 欧美在线免费视屏| 色综合视频一区二区三区高清| 成人av午夜影院| 成人性视频网站| 国产激情91久久精品导航| 国产精品一区二区三区四区| 九九视频精品免费| 国产一区二区不卡在线| 精品亚洲porn| 国产一区二区三区视频在线播放| 免费成人美女在线观看| 老汉av免费一区二区三区| 蜜臀av亚洲一区中文字幕| 日本在线播放一区二区三区| 日韩av电影免费观看高清完整版在线观看| 亚洲影院理伦片| 香蕉久久夜色精品国产使用方法 | 日本麻豆一区二区三区视频| 亚洲韩国一区二区三区| 亚洲成人资源网| 天天综合天天综合色| 日韩**一区毛片| 美国欧美日韩国产在线播放| 蜜桃久久精品一区二区| 国产乱码精品一区二区三区忘忧草| 极品美女销魂一区二区三区 | 亚洲成av人**亚洲成av**| 性做久久久久久免费观看欧美| 天天综合色天天综合| 日产欧产美韩系列久久99| 久久99久久精品| 成人免费黄色大片| 在线免费观看视频一区| 欧美日韩性生活| 精品久久人人做人人爰| 中文在线资源观看网站视频免费不卡 | 青青草一区二区三区| 国产精品资源网| aaa亚洲精品| 欧美日韩亚洲丝袜制服| 精品国产一区二区三区四区四| 久久久久国产精品麻豆| 亚洲欧美一区二区视频| 亚洲国产精品欧美一二99| 美国av一区二区| 99久久精品费精品国产一区二区| 日本黄色一区二区| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 亚洲日本乱码在线观看| 午夜日韩在线观看| 国产成人av电影在线观看| 欧美午夜不卡视频| 国产亚洲欧美激情| 亚洲午夜精品在线| 国产98色在线|日韩| 欧美日韩国产三级| 国产日韩精品一区二区浪潮av| 亚洲在线视频一区| 国产一区福利在线| 欧美日韩一区不卡| 国产精品免费观看视频| 美日韩一区二区| 色婷婷综合在线| 国产偷国产偷精品高清尤物 | 国产一区三区三区| 在线观看三级视频欧美| 国产亚洲精品bt天堂精选| 亚洲国产精品久久不卡毛片| 成人免费观看视频| 精品国产91乱码一区二区三区| 亚洲午夜久久久久久久久电影网 | 欧美日韩一区在线| 中文字幕av一区二区三区免费看| 亚洲成人一区二区在线观看| 播五月开心婷婷综合| 精品国产三级电影在线观看| 香蕉乱码成人久久天堂爱免费| 99久久精品国产导航| 国产亚洲一区二区三区四区| 日韩电影免费在线看| 97久久久精品综合88久久| 国产欧美一区二区三区在线看蜜臀| 美女视频网站久久| 欧美精品在线观看播放| 一区二区三区中文在线观看| 成人av网站在线观看| 欧美激情中文字幕一区二区| 国产一区二三区| 日韩三级中文字幕| 天天射综合影视| 欧美日韩国产首页| 亚洲午夜免费福利视频| 欧美天堂亚洲电影院在线播放| 一区二区三区在线免费播放 | 成人综合在线观看| 国产日韩高清在线| 丁香天五香天堂综合| 国产欧美va欧美不卡在线| 国产一二精品视频| 国产日韩欧美电影| 成人丝袜18视频在线观看| 国产日产欧美精品一区二区三区| 国产乱子伦视频一区二区三区| xvideos.蜜桃一区二区| 极品美女销魂一区二区三区| 久久亚洲一级片| 国产精品一区在线| 中文字幕欧美日本乱码一线二线| 国产成人精品亚洲777人妖| 久久色.com| 高清视频一区二区| 亚洲欧美日韩电影| 欧美日韩另类一区| 喷水一区二区三区| 久久久综合网站| 成人激情综合网站| 亚洲视频狠狠干| 欧美日韩国产影片| 老司机免费视频一区二区| 精品国产电影一区二区| 成人综合在线网站| 一区二区三区在线观看欧美 | 久久综合久久综合久久| 国产凹凸在线观看一区二区| 综合欧美亚洲日本| 欧美福利一区二区| 国产一区二区女| 最新国产精品久久精品| 欧美日韩中文字幕一区二区| 日本成人在线视频网站| 欧美激情在线免费观看| 在线精品视频免费观看| 美女任你摸久久| 国产精品理论在线观看| 在线观看国产一区二区| 狠狠色丁香九九婷婷综合五月| 国产精品国产三级国产| 欧美日韩不卡视频|