Midterm II

Çıkış

Soru 1 of 1

  Kalan Zaman


0 [{"id":516344,"quiz_id":"26287","answer_id":null,"answerType_id":"0","created_at":"2018-08-03 20:30:40","updated_at":"2018-08-03 20:30:40","questionName":"When a recursive function returns after three iterations because it hits a base case, where does it return to?","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":516424,"quiz_id":"26287","answer_id":null,"answerType_id":"0","created_at":"2018-08-04 03:03:52","updated_at":"2018-08-04 03:03:52","questionName":"A Huffman tree for an alphabet of 15 distinct characters has _____ leaf nodes.","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":516346,"quiz_id":"26287","answer_id":null,"answerType_id":"0","created_at":"2018-08-03 20:32:51","updated_at":"2018-08-03 20:32:51","questionName":"What is the downside of recursion?","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":516347,"quiz_id":"26287","answer_id":null,"answerType_id":"0","created_at":"2018-08-03 20:33:36","updated_at":"2018-08-03 20:33:36","questionName":"Which of the following functions is the LEAST efficient when implemented recursively?","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":516427,"quiz_id":"26287","answer_id":null,"answerType_id":"0","created_at":"2018-08-04 03:06:55","updated_at":"2018-08-04 03:06:55","questionName":"True or false: a heap can only be represented with a linked data structure.","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":516423,"quiz_id":"26287","answer_id":null,"answerType_id":"0","created_at":"2018-08-04 03:02:58","updated_at":"2018-08-04 03:02:58","questionName":"A Priority Queue is an extension of queue with following properties:","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":516342,"quiz_id":"26287","answer_id":null,"answerType_id":"0","created_at":"2018-08-03 20:28:45","updated_at":"2018-08-03 20:28:45","questionName":"What things are necessary in a recursive function?","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":516348,"quiz_id":"26287","answer_id":null,"answerType_id":"0","created_at":"2018-08-03 20:34:18","updated_at":"2018-08-03 20:34:18","questionName":"When comparing recursion and iteration, all of the following are true EXCEPT","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":516425,"quiz_id":"26287","answer_id":null,"answerType_id":"0","created_at":"2018-08-04 03:04:38","updated_at":"2018-08-04 03:04:38","questionName":"Suppose you want to make a priority queue where smaller numbers have the highest priority. Which of the following would be the best underlying data structure?","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":516345,"quiz_id":"26287","answer_id":null,"answerType_id":"0","created_at":"2018-08-03 20:31:10","updated_at":"2018-08-03 20:31:10","questionName":"Recursion typically is justified when it reduces ______________.","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":516426,"quiz_id":"26287","answer_id":null,"answerType_id":"0","created_at":"2018-08-04 03:06:34","updated_at":"2018-08-04 03:06:34","questionName":"Should a new Huffman tree be built for each file you create? Why or why not?","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":516340,"quiz_id":"26287","answer_id":null,"answerType_id":"0","created_at":"2018-08-03 20:26:57","updated_at":"2018-08-03 20:26:57","questionName":"A queue differs from a stack in __________.","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":516341,"quiz_id":"26287","answer_id":null,"answerType_id":"0","created_at":"2018-08-03 20:28:05","updated_at":"2018-08-03 20:28:05","questionName":"What is recursion?","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":516339,"quiz_id":"26287","answer_id":null,"answerType_id":"0","created_at":"2018-08-03 20:26:22","updated_at":"2018-08-03 20:26:22","questionName":"Which representation of a queue has the most favorable Big Ohs for the operations (as discussed in class)?","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null},{"id":516343,"quiz_id":"26287","answer_id":null,"answerType_id":"0","created_at":"2018-08-03 20:30:08","updated_at":"2018-08-03 20:30:08","questionName":"What happens when a recursive function calls itself?","questionTimeSeconds":"0","questionTimeMinutes":"3","questionImagePath":null,"position":null,"explanation":"","question_score_id":null,"lang":"","questionAudioPath":null}]
516344
0
180
block

When a recursive function returns after three iterations because it hits a base case, where does it return to?

Doğru Cevapları Seç  

(0/0)












516424
0
180
none
516346
0
180
none
516347
0
180
none
516427
0
180
none
516423
0
180
none
516342
0
180
none
516348
0
180
none
516425
0
180
none
516345
0
180
none
516426
0
180
none
516340
0
180
none
516341
0
180
none
516339
0
180
none
516343
0
180
none