Final

Exit

Question 1 of 1

  Time Left


0 [{"id":535007,"quiz_id":"26761","answer_id":null,"answerType_id":"0","created_at":"2018-08-16 09:24:50","updated_at":"2018-08-16 09:24:50","questionName":"Unlink a vector, a set does not support the subscript operator (e.g. mySet[0]). If someone still wanted to iterate through each item in a set, they should __________.","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":535019,"quiz_id":"26761","answer_id":null,"answerType_id":"0","created_at":"2018-08-16 09:31:45","updated_at":"2018-08-16 09:31:45","questionName":"Which of the following most accurately describes the selection sort algorithm?","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":535010,"quiz_id":"26761","answer_id":null,"answerType_id":"0","created_at":"2018-08-16 09:26:18","updated_at":"2018-08-16 09:26:18","questionName":"What is the expected run time for inserting into a hash table?","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":535006,"quiz_id":"26761","answer_id":null,"answerType_id":"0","created_at":"2018-08-16 09:24:27","updated_at":"2018-08-16 09:24:27","questionName":"Suppose set A contains the strings \"apples\", \"oranges\", and \"pineapples\". Then the strings \"apples\" and \"grapes\" are inserted. How many items are in A after these two insertions?","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":535018,"quiz_id":"26761","answer_id":null,"answerType_id":"0","created_at":"2018-08-16 09:30:29","updated_at":"2018-08-16 09:30:29","questionName":"What is the difference between sort and stable_sort?","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":535017,"quiz_id":"26761","answer_id":null,"answerType_id":"0","created_at":"2018-08-16 09:30:05","updated_at":"2018-08-16 09:30:05","questionName":"C++ has a sort function built in, so that you do not have to write your own every time you want to sort a list.","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":535014,"quiz_id":"26761","answer_id":null,"answerType_id":"0","created_at":"2018-08-16 09:28:52","updated_at":"2018-08-16 09:28:52","questionName":"Let H(value) be a function that returns the hash code of \"value\". If A == B, then ________.","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":535016,"quiz_id":"26761","answer_id":null,"answerType_id":"0","created_at":"2018-08-16 09:29:41","updated_at":"2018-08-16 09:29:41","questionName":"\"Big O\" for find, insert, and erase when hashing should be ___, ____, and ____, respectively.","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":535015,"quiz_id":"26761","answer_id":null,"answerType_id":"0","created_at":"2018-08-16 09:29:20","updated_at":"2018-08-16 09:29:20","questionName":"When using a map to implement a phone directory, the ______ should be the key and the ______ should be the value.","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":535020,"quiz_id":"26761","answer_id":null,"answerType_id":"0","created_at":"2018-08-16 09:32:22","updated_at":"2018-08-16 09:32:22","questionName":"The Big O of the number of exchanges of selection sort is ___. The Big O of the comparisons is ___.","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":535008,"quiz_id":"26761","answer_id":null,"answerType_id":"0","created_at":"2018-08-16 09:25:15","updated_at":"2018-08-16 09:25:15","questionName":"A map consists of a set of keys, each with one or more values. Which typically is\/are unique?","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":535013,"quiz_id":"26761","answer_id":null,"answerType_id":"0","created_at":"2018-08-16 09:28:02","updated_at":"2018-08-16 09:28:02","questionName":"Which of the following can help to reduce collisions in a hash table?","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":535012,"quiz_id":"26761","answer_id":null,"answerType_id":"0","created_at":"2018-08-16 09:27:21","updated_at":"2018-08-16 09:27:21","questionName":"Suppose you want to traverse a hash table of names in alphabetical order. How would you do that?","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":535009,"quiz_id":"26761","answer_id":null,"answerType_id":"0","created_at":"2018-08-16 09:25:57","updated_at":"2018-08-16 09:25:57","questionName":"What kind of mapping is used in a map from keys to values?","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":535011,"quiz_id":"26761","answer_id":null,"answerType_id":"0","created_at":"2018-08-16 09:26:55","updated_at":"2018-08-16 09:26:55","questionName":"When collisions are resolved using linear probing, ______.","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null}]
535007
0
180
block

Unlink a vector, a set does not support the subscript operator (e.g. mySet[0]). If someone still wanted to iterate through each item in a set, they should __________.

Select the Correct Answers  

(0/0)












535019
0
180
none
535010
0
180
none
535006
0
180
none
535018
0
180
none
535017
0
180
none
535014
0
180
none
535016
0
180
none
535015
0
180
none
535020
0
180
none
535008
0
180
none
535013
0
180
none
535012
0
180
none
535009
0
180
none
535011
0
180
none