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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? 4.txt

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


 

 Your performance was as follows:  

 1. 
 Which of the following statements regarding the design of the Standard Template Library (STL) in C++ is (are) true? 

Each STL algorithm is usable with one specific container. 
The STL does not use templates and instead relies on polymorphism.
 
 

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

 Correct answer is  (c)  

 Your score on this question is: 0.00  

 Feedback: 
   
See section 2.1.1, subsection "The Standard Template Library," in the course notes. 
 
 

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

 2. 
 The STL is heavily based on  
 

  (a) inheritance
 (b) templates
 (c) object oriented programming
 (d) polymorphism  

 Correct answer is  (b)  

 Your score on this question is: 10.00  

 Feedback: 
   See section 2.1.1 of the course notes.  
 

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

 3. 
 For an STL iterator it, execution of the statement

    ++it;

does which of the following?
 
 

  (a) Pre-increments the item to which the iterator points.
 (b) Increase by 1 the size of the container pointed to by it.
 (c) Post-increments the item to which the iterator points.
 (d) Advances the iterator to the next item.  

 Correct answer is  (d)  

 Your score on this question is: 0.00  

 Feedback: 
   See section 2.1.3 of the course notes.  
 

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

 4. 
 The class vector in the C++ STL contains which of the following methods?

push_back 
push_front 
pop_front 
 
 

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

 Correct answer is  (c)  

 Your score on this question is: 0.00  

 Feedback: 
   
See section 2.2.3, subsection "Interface," in the course notes.
 
 

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

 5. 
 A typical implementation of a deque in the C++ STL minimizes the need to copy elements upon the frontal insertion of new items by
 
 

  (a) reserving memory at the front of the deque's stored elements
 (b) using a background thread to reallocate memory when necessary
 (c) inserting the element at the end of the deque and maintaining a table of element positions
 (d) inserting the element at the next available position in the deque and maintaining a table of element positions  

 Correct answer is  (a)  

 Your score on this question is: 0.00  

 Feedback: 
   
See section 2.2.3, subsection "Implementation," in the course notes.
 
 

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

 6. 
 If A is an STL vector, then the effect of executing the statement

    A.push_back( x );

is to
 
 

  (a) check whether the capacity of A is larger than the size of A, enlarges A if necessary, and append x to A
 (b) append x to A, without checking the size and capacity of A
 (c) append x to A if there is room, and otherwise overwrites the currently last element of A
 (d) append x to A if and only if the size of A is less than capacity of A  

 Correct answer is  (a)  

 Your score on this question is: 0.00  

 Feedback: 
   See section 2.1.2 of the course notes.  
 

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

 7. 
 The size of an STL vector is defined to be the  
 

  (a) maximum number of elements that can be stored in the vector without resizing
 (b) total of the sizes of the data members in the vector class
 (c) number of bytes the vector occupies in memory
 (d) number of elements currently stored in the vector  

 Correct answer is  (d)  

 Your score on this question is: 0.00  

 Feedback: 
   See section 2.1.2 of the course notes.  
 

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

 8. 
 If A is an STL vector, then the effect of executing the statement

      A[i] = x;

is to
 
 

  (a) write x to position i of the vector, without bounds checking
 (b) create an iterator x pointing to position i in the array
 (c) check array bounds, enlarge the vector if necessary, and then write x to position i
 (d) check array bounds, and write x to position i if and only if i is in the proper range  

 Correct answer is  (a)  

 Your score on this question is: 10.00  

 Feedback: 
   See section 2.1.2 of the course notes.  
 

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

 9. 
 Consider the following C++ program segment, assuming that string is a class. 

   string str1("Hello, World");
   str1[5] = 'Z';
The overloaded operator[] function invoked in the above program segment should have which of the following return types? 
 
 

  (a) char *
 (b) char
 (c) char &
 (d) const char &  

 Correct answer is  (c)  

 Your score on this question is: 0.00  

 Feedback: 
   
See Chapter 2, pages 79–81, in the course textbook. 
 
 

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

 10. 
 Which of the following statements is (are) true regarding strings in C++? 

Strings in C++ are supported by the standard class string. 
A constructor for the class string can accept a C-style string as an argument.
 
 

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

 Correct answer is  (a)  

 Your score on this question is: 0.00  

 Feedback: 
   
See section 2.1, subsection "C-style Strings," in 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 4


 

 Your performance was as follows:  

 1. 
 In the STL, common algorithms are instantiated for multiple types of container classes by using _____ to provide a uniform interface between the algorithms and containers. 
 
 

  (a) arrays
 (b) iterators
 (c) pointers
 (d) virtual functions  

 Correct answer is  (b)  

 Your score on this question is: 0.00  

 Feedback: 
   
See section 2.1.1, subsection "Iterators," in the course notes. 
 
 

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

 2. 
 Which of the following data structures is not a container implemented in the C++ Standard Template Library? 
 
 

  (a) List
 (b) Vector
 (c) Stack
 (d) Hash table  

 Correct answer is  (d)  

 Your score on this question is: 0.00  

 Feedback: 
   
See section 2.1.1, subsection "STL Overview," in the course notes. 
 
 

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

 3. 
 Execution of which of the following statements sets an STL iterator it so that it points to the first element of a container A?  
 

  (a) begin( A, it );
 (b) A.begin( it );
 (c) A.reset( it );
 (d) it = A.begin();  

 Correct answer is  (d)  

 Your score on this question is: 0.00  

 Feedback: 
   See section 2.1.3 of the course notes.  
 

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

 4. 
 In the C++ Standard Template Library, vectors and deques differ in their interfaces for handling which of the following operations? 

Insertion of an element at the front of the container 
Insertion of an element at the end of the container 
Removal of an element from the front of the container
 
 

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

 Correct answer is  (a)  

 Your score on this question is: 10.00  

 Feedback: 
   
See Section 2.2.3, subsection "Interface," in the course notes. 
 
 

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

 5. 
 Which of the following statements is (are) true of typical implementations of vectors and deques?

A vector's implementation uses one array, whereas a deque's implementation uses multiple arrays. 
Insertions at the front of a deque tend to be more efficient than insertions at the front of a vector. 
 
 

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

 Correct answer is  (c)  

 Your score on this question is: 0.00  

 Feedback: 
   
See section 2.2.3, subsection "Implementation," in the course notes.
 
 

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

 6. 
 Consider the execution of the following.

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一二三四久久| 91丨九色丨黑人外教| 波多野洁衣一区| 欧美系列日韩一区| 国产欧美一区在线| 蜜臀av性久久久久av蜜臀妖精| 91在线观看免费视频| 精品国产自在久精品国产| 亚洲综合色丁香婷婷六月图片| 国产剧情一区二区| 日韩一区二区视频在线观看| 亚洲伦理在线精品| 波多野结衣亚洲一区| 久久久精品黄色| 国产在线视频不卡二| 69成人精品免费视频| 一区二区三区高清| 日韩视频一区二区在线观看| 亚洲小说春色综合另类电影| av在线播放不卡| 国产精品日韩精品欧美在线| 国产在线观看一区二区| 日韩黄色免费网站| 波多野结衣欧美| 欧美videofree性高清杂交| 亚洲一区精品在线| 欧美午夜免费电影| 一区二区三区免费| 欧美性受xxxx| 亚洲综合色噜噜狠狠| 在线中文字幕一区| 亚洲另类春色国产| 在线免费精品视频| 亚洲成人你懂的| 欧美日韩国产精品自在自线| 午夜电影一区二区三区| 91精品一区二区三区久久久久久 | 99久久精品免费看国产免费软件| 久久精品男人天堂av| 福利一区二区在线| 中文子幕无线码一区tr| 91污片在线观看| 亚洲一区二区视频| 日韩一区二区三区电影在线观看 | 亚洲欧美福利一区二区| 一本久道久久综合中文字幕| 一区二区不卡在线播放 | 欧美日韩视频第一区| 亚洲午夜久久久久久久久久久| 欧美性色综合网| 天天综合色天天| 久久亚区不卡日本| 99久久精品一区二区| 亚洲成a人v欧美综合天堂下载 | 麻豆精品一二三| 精品国产乱码久久久久久闺蜜| 国产成人丝袜美腿| 亚洲免费高清视频在线| 日韩一本二本av| 成人激情文学综合网| 亚洲18色成人| 久久精品视频在线看| 欧美综合久久久| 久草中文综合在线| 日韩伦理av电影| 欧美电影免费观看高清完整版在线 | 亚洲电影中文字幕在线观看| 日韩精品中文字幕一区| 成人国产一区二区三区精品| 亚洲国产精品综合小说图片区| 日韩欧美第一区| 91亚洲精品久久久蜜桃| 免费观看成人av| 亚洲另类在线制服丝袜| 久久久噜噜噜久噜久久综合| 欧美亚洲国产怡红院影院| 国产精品一区二区三区四区| 亚洲午夜视频在线| 欧美激情一区二区三区不卡| 69久久夜色精品国产69蝌蚪网| 成人精品视频一区| 免费成人av在线播放| 亚洲欧美日韩国产手机在线 | 亚洲精品国产精品乱码不99| 久久久美女毛片| 欧美一区二区视频在线观看2020 | 中文字幕乱码日本亚洲一区二区| 欧美三级日本三级少妇99| 国产69精品久久久久777| 丝袜美腿一区二区三区| 自拍av一区二区三区| 精品国产一区二区三区不卡| 欧美日韩国产123区| 一本大道久久精品懂色aⅴ| 国产精品白丝jk白祙喷水网站| 图片区日韩欧美亚洲| 一区二区三区在线看| 中文字幕av资源一区| 亚洲精品一线二线三线无人区| 欧美日韩国产三级| 欧美午夜在线观看| 欧美伊人久久久久久午夜久久久久| 成人高清av在线| 北条麻妃一区二区三区| 国产ts人妖一区二区| 激情综合五月天| 精品影院一区二区久久久| 丝袜美腿亚洲色图| 视频一区视频二区中文| 天天射综合影视| 日韩va欧美va亚洲va久久| 一区二区在线看| 亚洲午夜一二三区视频| 亚洲风情在线资源站| 午夜精品一区二区三区免费视频| 亚洲一区在线视频观看| 一区二区三区高清在线| 亚洲二区在线观看| 日韩国产一二三区| 免费成人深夜小野草| 久久国产尿小便嘘嘘| 国产一区二三区好的| 91黄色激情网站| 777欧美精品| 日韩久久久久久| 国产三级久久久| 自拍偷在线精品自拍偷无码专区| 亚洲欧美在线视频观看| 亚洲激情校园春色| 日韩在线观看一区二区| 看电影不卡的网站| 国产成人av在线影院| 99re热这里只有精品免费视频 | 欧美一区二区三区视频在线观看| 91精品国产色综合久久不卡蜜臀| 精品国产亚洲一区二区三区在线观看| 欧美本精品男人aⅴ天堂| 国产精品你懂的在线欣赏| 亚洲丝袜制服诱惑| 日韩av电影免费观看高清完整版在线观看 | 欧美日韩电影一区| 欧美成人vps| 国产精品日日摸夜夜摸av| 亚洲永久免费av| 韩国欧美国产1区| 色菇凉天天综合网| 久久中文娱乐网| 亚洲人被黑人高潮完整版| 日韩1区2区日韩1区2区| 国产传媒久久文化传媒| 91极品视觉盛宴| 精品欧美一区二区在线观看| 亚洲男人天堂一区| 国产在线精品一区二区三区不卡| 91影视在线播放| 精品91自产拍在线观看一区| 悠悠色在线精品| 国产成人免费在线观看不卡| 91久久一区二区| 亚洲高清免费观看高清完整版在线观看| 秋霞午夜av一区二区三区| av亚洲精华国产精华| 这里只有精品电影| 亚洲欧美日韩精品久久久久| 久久不见久久见免费视频7| 91精品办公室少妇高潮对白| 2020国产精品| 日韩制服丝袜av| 色八戒一区二区三区| 欧美韩国日本一区| 狠狠网亚洲精品| 欧美日韩国产高清一区| 亚洲女同一区二区| 成人黄色网址在线观看| 久久久久久久性| 免费在线成人网| 欧美精品日韩一本| 亚洲黄色小视频| 成人免费视频一区二区| 久久亚洲影视婷婷| 免费精品99久久国产综合精品| 91国偷自产一区二区三区成为亚洲经典 | 国产精品99久久久久久有的能看| 91精品国产色综合久久不卡电影 | 精品第一国产综合精品aⅴ| 亚洲一二三级电影| 99re免费视频精品全部| 日本一区二区综合亚洲| 亚洲码国产岛国毛片在线| 成人精品鲁一区一区二区| 国产丝袜美腿一区二区三区| 久久av中文字幕片| 日韩精品一区二区在线| 日本欧美在线观看| 宅男噜噜噜66一区二区66| 亚洲va韩国va欧美va精品| 欧美吻胸吃奶大尺度电影 | 欧美午夜精品久久久| 一区二区三区av电影| 欧美午夜寂寞影院|