Answered You can hire a professional tutor to get the answer.

QUESTION

3) Which functions return an output (helper functions included)?

3) Which functions return an output (helper functions included)?A) (file2) merge_sorted_lists, (file2) merge_lists, (file3) sum_|ists, (file3) sum_|istB) (file2) merge_sorted_lists, (file2) merge_lists, (file2) display_final, (file3) sum_|ists, (file3)sum_|istC) (file2) merge_lists, (file2) display_final, (file3) sum_|ists, (file3) sum_|istD) (file2) merge_lists, (file3) sum_|ists, (file3) sum_|ist 4) How are the lists being merged inside the for loop of the "merge_lists" function (file2)?A) The element at "list1_position" in "list1" and "list2_position" in "list2" are compared. The smaller item is moved into a new array, and the counter for that list is incremented. This repeats until there are no more elements in either list.B) One element from "list1" is added to a new array, then one element from "list2" is added to the same array. This continues until there are no more elements in either list.C) The element at "list1_position" in "list1" and "list2_position" in "list2" are compared. The larger item is moved into a new array, and the counter for that list is incremented. This repeats until there are no more elements in either list.D) All of the elements from listl are added to a new array, then all of the elements from "list2" are concatenated to that same array. 5) How many times will the first while loop in file 1 repeat?A) NeverB) It will keep repeating as long as the user enters a positive numberC) It will repeat until the user enters the number 0D) Once
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question