ANSWER: B -- all audio is represented as bits at the lowest level
Question 14:
ANSWER: C -- if line 6 was changed, the procedure would immediately return true for any value larger than the last, and would not check the other elements. Instead, lines 8 and 12 must be exchanged.
Question 30:
ANSWER: B -- the packets do not need to be sent along the same path. They contain information on how to be reassembled, so they can be sent along different paths
Question 39:
ANSWER: C -- 2^7 is 128, so you only need 7 bits
Question 42:
ANSWER: A -- item MOD 2 would return 1 if item is an odd number, or 0 if item is an even number. Since there are 3 odd numbers in the list, the procedure would return 3
Question 52:
ANSWER: B -- By repeatedly dividing 128 in halk, you would end up with 8 sections, meaning only 8 elements need to be searched
Binary Search Diagram:
Question 56
ANSWER: A -- You need a list of all students and their GPA, not only the ones with 3.5 or higher, in order to make the comparisons needed for the hypothesis
Lesson HW Scores
ticket w/ scores
2021 MC
CORRECTIONS:
Question 9:
ANSWER: B -- all audio is represented as bits at the lowest level
Question 14:
ANSWER: C -- if line 6 was changed, the procedure would immediately return true for any value larger than the last, and would not check the other elements. Instead, lines 8 and 12 must be exchanged.
Question 30:
ANSWER: B -- the packets do not need to be sent along the same path. They contain information on how to be reassembled, so they can be sent along different paths
Question 39:
ANSWER: C -- 2^7 is 128, so you only need 7 bits
Question 42:
ANSWER: A -- item MOD 2 would return 1 if item is an odd number, or 0 if item is an even number. Since there are 3 odd numbers in the list, the procedure would return 3
Question 52:
ANSWER: B -- By repeatedly dividing 128 in halk, you would end up with 8 sections, meaning only 8 elements need to be searched
Binary Search Diagram:
Question 56
ANSWER: A -- You need a list of all students and their GPA, not only the ones with 3.5 or higher, in order to make the comparisons needed for the hypothesis