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

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

?? multiple-choice quiz 5.txt

?? icarnegie ssd5 choice5
?? TXT
?? 第 1 頁 / 共 3 頁
字號:

 
 View Assessment Result: Multiple-Choice Quiz 5


 

 Your performance was as follows:  

 1. 
 Consider the following C++ program segment, which uses the STL. 

	
stack<int,vector<int> > S;

Execution of the statement results in creation of which of the following? 
 
 

  (a) A stack of integer vectors
 (b) A vector of integer stacks
 (c) A vector of integers
 (d) A stack of integers  

 Correct answer is  (d)  

 Your score on this question is: 10.00  

 Feedback: 
   See section 2.4.2 of the course notes.  
 

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

 2. 
 Which of the following is a method (are methods) available in the class queue in the C++ Standard Template Library? 

push 
pop 
enqueue
 
 

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

 Correct answer is  (c)  

 Your score on this question is: 10.00  

 Feedback: 
   
See Chapter 7, page 249, in the course textbook. 
 
 

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

 3. 
 In order to use the adapter queue from the C++ Standard Template Library, which of the following preprocessor directives is (are) typically required?

#include <queue> 
#include <deque> 
 
 

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

 Correct answer is  (d)  

 Your score on this question is: 10.00  

 Feedback: 
   
See section 2.4.2 in the course notes.
 
 

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

 4. 
 Which of the following is (are) typically managed using a stack? 

Implementation of function calls in a procedural programming language 
Evaluating arithmetic expressions, taking precedence rules into account 
Handling jobs sent to a printer, and ensuring that the first jobs to be submitted are printed first
 
 

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

 Correct answer is  (a)  

 Your score on this question is: 10.00  

 Feedback: 
   
See Chapter 7, pages 235–236, in the course textbook. 
 
 

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

 5. 
 Which of the following data structures uses a "Last-in, First-out" policy for element insertion and removal? 
 
 

  (a) Queue
 (b) Hash table
 (c) Tree
 (d) Stack  

 Correct answer is  (d)  

 Your score on this question is: 10.00  

 Feedback: 
   
See section 2.5.1, subsection "Stacks Introduced," in the course notes. 
 
 

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

 6. 
 Consider the following sequence of operations applied to an empty queue:

Insert element with value 3 
Insert element with value 8
Remove element
Insert element with value 1
Remove element
Insert element with value 7

The next element removed from this queue will have which of the following values?
 
 

  (a) 8
 (b) 3
 (c) 1
 (d) 7  

 Correct answer is  (c)  

 Your score on this question is: 10.00  

 Feedback: 
   
See section 2.4.1 in the course notes.
 
 

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

 7. 
 One thing that the STL vector and the STL list have in common is that both are  
 

  (a) sequential containers
 (b) inherited from the superclass Container
 (c) based on arrays of elements
 (d) random access containers  

 Correct answer is  (a)  

 Your score on this question is: 10.00  

 Feedback: 
   See section 2.2.2 of the course notes.  
 

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

 8. 
 In the C++ standard template library (STL), which of the following is a property of const iterators for the list container?
 
 

  (a) Const iterators can be incremented, but never decremented.
 (b) They provide write-only access to a linked list.
 (c) They provide read-only access to a linked list.
 (d) They cannot be used to traverse a linked list.  

 Correct answer is  (c)  

 Your score on this question is: 10.00  

 Feedback: 
   See section 2.2.3 of the course notes.  
 

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

 9. 
 To access an element in a singly linked list, a program must 
 
 

  (a) add the element's index to the memory address of the first element in the list
 (b) compute a hash value for the element
 (c) traverse all nodes in the list prior to that element
 (d) allocate memory for temporary nodes  

 Correct answer is  (c)  

 Your score on this question is: 10.00  

 Feedback: 
   
See section 2.3.1 in the course notes. 
 
 

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

 10. 
 Which of the following pointers is (are) stored by nodes in a doubly-linked list?

A pointer to the next node 
A pointer to the previous node 
 
 

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

 Correct answer is  (d)  

 Your score on this question is: 10.00  

 Feedback: 
   
See section 2.3.1, subsection "Linking Elements Together," in the course notes.
 
 

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

 Go to top of assessment.  

 Total score: 100.00 

 ? Copyright 2004 iCarnegie, Inc. All rights reserved.  


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

 Your performance was as follows: 

 You took 9 minutes on this assessment from Sat Dec 9 11:06:47 UTC+0800 2006 to Sat Dec 9 11:15:19 UTC+0800 2006. 

 Total score: 90.00 
 
 

 

 1. 
 Consider the following C++ program segment, which uses the STL. 

	
stack<int,vector<int> > S;

Execution of the statement results in creation of which of the following? 
 
 

  (a) A stack of integer vectors
 (b) A vector of integers
 (c) A stack of integers
 (d) A vector of integer stacks  

 Correct answer is  (c)  

 Your score on this question is: 10.00  

 Feedback: 
   See section 2.4.2 of the course notes.  
 



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

 2. 
 The queue adapter interface in the C++ Standard Template Library contains which of the following member functions?

push 
pop_back 
 
 

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

 Correct answer is  (a)  

 Your score on this question is: 10.00  

 Feedback: 
   
See section 2.4.2 in the course notes.
 
 

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

 3. 
 In order to use the adapter queue from the C++ Standard Template Library, which of the following preprocessor directives is (are) typically required?

#include <queue> 
#include <deque> 
 
 

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

 Correct answer is  (c)  

 Your score on this question is: 0.00  

 Feedback: 
   
See section 2.4.2 in the course notes.
 
 

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

 4. 
 Which of the following data structures uses a "Last-in, First-out" policy for element insertion and removal? 
 
 

  (a) Hash table
 (b) Stack
 (c) Queue
 (d) Tree  

 Correct answer is  (b)  

 Your score on this question is: 10.00  

 Feedback: 
   
See section 2.5.1, subsection "Stacks Introduced," in the course notes. 
 
 

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

 5. 
 Which of the following is (are) typically managed using a stack? 

Implementation of function calls in a procedural programming language 
Evaluating arithmetic expressions, taking precedence rules into account 
Handling jobs sent to a printer, and ensuring that the first jobs to be submitted are printed first
 
 

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

 Correct answer is  (c)  

 Your score on this question is: 10.00  

 Feedback: 
   
See Chapter 7, pages 235–236, in the course textbook. 
 
 

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

 6. 
 Which of the following linear data structures use a first-in, first-out element insertion and removal policy?

Stacks 
Queues 
 
 

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

 Correct answer is  (d)  

 Your score on this question is: 10.00  

 Feedback: 
   
See sections 2.4.1 and 2.5.1 in the course notes.
 
 

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

 7. 
 In the C++ standard template library (STL), which of the following is a property of const iterators for the list container?
 
 

  (a) They provide read-only access to a linked list.
 (b) They cannot be used to traverse a linked list.
 (c) Const iterators can be incremented, but never decremented.
 (d) They provide write-only access to a linked list.  

 Correct answer is  (a)  

 Your score on this question is: 10.00  

 Feedback: 
   See section 2.2.3 of the course notes.  
 

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

 8. 
 Consider the following code fragment, where L is a linked list of integers.

      for( it = L.begin(); it != L.end(); ++it )
        *it += 10;

Execution of this fragment has the effect of
 
 

  (a) adding 10 to each list element
 (b) inserting a new element 10 after each list element
 (c) appending 10 to the list
 (d) stepping through the lists in increments of 10  

 Correct answer is  (a)  

 Your score on this question is: 10.00  

 Feedback: 
   See section 2.2.3 of the course notes.  
 

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

 9. 
 Which of the following statements is (are) true about the locations of a linked list's nodes in memory?

Nodes must appear at a fixed distance from one another in memory. 
The order of elements in a list must match the order of the list's nodes in memory. 
 
 

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

 Correct answer is  (a)  

 Your score on this question is: 10.00  

 Feedback: 
   
See section 2.3.1, subsection "A Non-Contiguous List," in the course notes.
 
 

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

 10. 
 To access an element in a singly linked list, a program must 
 
 

  (a) compute a hash value for the element
 (b) add the element's index to the memory address of the first element in the list
 (c) allocate memory for temporary nodes
 (d) traverse all nodes in the list prior to that element  

 Correct answer is  (d)  

 Your score on this question is: 10.00  

 Feedback: 
   
See section 2.3.1 in the course notes. 
 
 

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

 Go to top of assessment.  

 Total score: 90.00 

 ? Copyright 2004 iCarnegie, Inc. All rights reserved.  


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

 Your performance was as follows: 

 You took 9 minutes on this assessment from Sat Nov 10 10:50:23 UTC+0800 2007 to Sat Nov 10 10:59:15 UTC+0800 2007. 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
午夜私人影院久久久久| 国产精品国产三级国产aⅴ入口| av中文字幕亚洲| 欧洲精品一区二区| 欧美精品一卡两卡| 日韩精品资源二区在线| 国产清纯在线一区二区www| 亚洲天天做日日做天天谢日日欢 | 国产一区在线看| 精品国产麻豆免费人成网站| av不卡在线播放| 捆绑紧缚一区二区三区视频| 中文字幕一区二区不卡| 久久这里只有精品6| 欧美久久久久中文字幕| 91网站最新地址| 国产99久久久国产精品免费看| 久久久777精品电影网影网 | 一区在线播放视频| 日韩精品一区二区三区视频| 91美女在线看| 成人理论电影网| 粗大黑人巨茎大战欧美成人| 日本sm残虐另类| 美国av一区二区| 日本不卡视频在线观看| 洋洋av久久久久久久一区| 亚洲伊人色欲综合网| 亚洲精品久久久蜜桃| 一区二区三区在线看| 久久男人中文字幕资源站| 欧美日韩精品免费观看视频| 亚洲影视资源网| 7777精品伊人久久久大香线蕉超级流畅 | 欧美亚洲高清一区| 免费在线看一区| 国产乱人伦偷精品视频不卡| 麻豆久久久久久| 国产麻豆视频一区| 国产成人av电影在线| 99久久国产综合色|国产精品| 色偷偷成人一区二区三区91| 91高清视频在线| 色综合久久99| 精品精品国产高清一毛片一天堂| 欧美成人女星排行榜| 中文字幕第一区| 亚洲国产综合人成综合网站| 图片区小说区区亚洲影院| 国产精品18久久久久久久网站| 91免费观看视频在线| 8v天堂国产在线一区二区| 欧美国产激情一区二区三区蜜月| 综合网在线视频| 国产激情视频一区二区三区欧美| 在线亚洲+欧美+日本专区| 久久精品一级爱片| 首页欧美精品中文字幕| 在线观看av一区| 欧美激情综合在线| 久久在线免费观看| 26uuu久久天堂性欧美| 日韩久久免费av| 91精品国产高清一区二区三区蜜臀 | 精品一区二区三区蜜桃| 欧美日精品一区视频| 亚洲精品综合在线| 成人sese在线| 最新国产の精品合集bt伙计| 九九在线精品视频| 国产农村妇女精品| 成人黄色电影在线 | 久久久亚洲精华液精华液精华液 | 91一区二区在线| 亚洲欧洲av在线| 欧美三级电影网站| 久久精品久久99精品久久| 国产亚洲综合在线| 日本韩国视频一区二区| 午夜影院在线观看欧美| 2017欧美狠狠色| 欧美亚洲日本一区| 奇米777欧美一区二区| 国产精品国产三级国产aⅴ入口 | 丝袜美腿高跟呻吟高潮一区| 成人高清免费在线播放| 亚洲欧美视频在线观看| 在线不卡欧美精品一区二区三区| 免费亚洲电影在线| 中文字幕日韩欧美一区二区三区| 欧美日韩精品福利| 成人污污视频在线观看| 日日摸夜夜添夜夜添精品视频| 日韩欧美国产1| 欧美丝袜第三区| 99re这里只有精品首页| 激情综合五月天| 日韩国产欧美在线播放| 国产精品免费久久久久| 日韩精品一区二区三区四区视频 | 国产精品综合二区| 日韩黄色小视频| 亚洲视频中文字幕| 国产三级精品三级在线专区| 欧美一卡在线观看| 欧美日韩一级二级| 欧美视频在线一区二区三区| 色综合久久久久网| 91啪亚洲精品| 一本一本久久a久久精品综合麻豆| 久久99精品久久久| 麻豆91精品视频| 精品无人码麻豆乱码1区2区| 日本亚洲电影天堂| 成人性视频网站| a美女胸又www黄视频久久| 懂色av一区二区三区蜜臀 | 中文幕一区二区三区久久蜜桃| 精品欧美乱码久久久久久| 日韩精品一区二区三区在线观看| 欧美一区二区三区视频在线观看| 欧美高清精品3d| 精品国产自在久精品国产| wwwwww.欧美系列| 国产精品二三区| 久久国产欧美日韩精品| 久久91精品国产91久久小草| 成人动漫av在线| 欧美天天综合网| 久久综合九色综合97_久久久| 久久在线观看免费| 亚洲线精品一区二区三区八戒| 日本va欧美va精品发布| 国产精品影视网| 欧美一区二区福利视频| 亚洲色图欧洲色图婷婷| 日本不卡一二三| 色999日韩国产欧美一区二区| 欧美美女网站色| 国产精品美女一区二区| 蜜臀av亚洲一区中文字幕| 91丨九色丨黑人外教| xf在线a精品一区二区视频网站| 亚洲五码中文字幕| 91麻豆国产福利在线观看| 精品精品国产高清一毛片一天堂| 一级日本不卡的影视| 成人精品一区二区三区四区 | 国产真实乱偷精品视频免| 欧美男女性生活在线直播观看| 国产精品传媒入口麻豆| 成人综合婷婷国产精品久久| 久久综合精品国产一区二区三区| 男女性色大片免费观看一区二区| 911精品国产一区二区在线| 国产日产欧美一区二区三区| 精品亚洲成av人在线观看| 欧美午夜精品一区二区三区| 亚洲免费大片在线观看| 欧美在线free| 亚洲va韩国va欧美va| 欧美一级二级在线观看| 久草热8精品视频在线观看| 日本一区二区三区久久久久久久久不| 国内精品免费在线观看| 国产精品久99| 欧美三区在线观看| 91影院在线免费观看| 亚洲va欧美va人人爽| 久久久久99精品一区| 欧美少妇bbb| 国产成人精品免费看| 一区二区三区在线免费视频| 精品三级在线观看| 99久久久国产精品| 日本亚洲三级在线| 亚洲一区二区三区精品在线| 精品成人一区二区| 在线免费av一区| 成人在线视频首页| 国产一区二区主播在线| 亚洲伊人色欲综合网| 国产精品久久看| 久久久综合精品| 欧美videos中文字幕| 欧美亚洲图片小说| 在线视频观看一区| 97久久精品人人澡人人爽| 久久精品99久久久| 免费视频最近日韩| 视频在线在亚洲| 卡一卡二国产精品 | 91在线看国产| 97久久精品人人爽人人爽蜜臀| 成人免费视频caoporn| 成人av电影在线网| 91行情网站电视在线观看高清版| fc2成人免费人成在线观看播放| www.亚洲色图| 欧美日韩精品一区二区三区蜜桃 |