Ekamjot-Kaire / fast-pages

Apache License 2.0
0 stars 0 forks source link

review ticket | week 33 #35

Open Ekamjot-Kaire opened 1 year ago

Ekamjot-Kaire commented 1 year ago

Lesson HW Scores

ticket w/ scores

2021 MC

Screen Shot 2023-05-09 at 11 09 06 AM

CORRECTIONS:

Question 9:

Screen Shot 2023-05-10 at 10 35 25 AM

ANSWER: B -- all audio is represented as bits at the lowest level

Question 14:

Screen Shot 2023-05-10 at 10 36 54 AM



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:

Screen Shot 2023-05-10 at 10 39 18 AM



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:

Screen Shot 2023-05-10 at 10 41 08 AM



ANSWER: C -- 2^7 is 128, so you only need 7 bits

Question 42:

Screen Shot 2023-05-10 at 10 42 19 AM



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:

Screen Shot 2023-05-10 at 10 44 48 AM



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:

Screen Shot 2023-05-10 at 10 45 24 AM

Question 56

Screen Shot 2023-05-10 at 10 46 21 AM



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