☆ MC Corrections
Q3
I got this question wrong because the variable, second, gets assigned to the value, temp. It goes from 200 to 100. Then, it gets assigned back to the variable second, which means that second = 100.
Q9
Analog signal audio are digitally sampled over time, and are at discreet intervals. Digital data are represented at the lowest bits possible.
Q10
The binary equivalent to 11000 is 2^4, plus 2^3 which is equal to 24.
Q12
answer choice D moves the robot forward, the code segment actually only moves the robot forward if there’s an open square in front, otherwise, it rotates left. It doesn’t specify any fixed movement pattern like moving forward five squares and then rotating left, repeating indefinitely.
Q14
the incorrect answer only returns true any time it encounters a value that is greater than or equal to the preceding value. It will not check any subsequent values in the list.
Q17
you only need to remove 4 connections in order to disconnect A and B
Q23
The Internet was not designed to be completely secure. Encryption isn’t required for communications.
Q28
5 will be added to result five times and -25 will be displayed.
Q55
IThe answer is incorrect because the code segment assigns the value of the last element of the list to the variable temp, then removes the last element of the list, then appends temp to the end of the list. The resulting list is the same as the original list.
Q66
The explanation provided is incorrect. The code segment assigns 500 bonus points by default. If the timer is less than 30, no additional bonus points are added. If the timer is between 30 and 60 inclusive, the bonus is incremented by 500 but if the timer is greater than 60, the bonus is incremented by 1000 which is 500 times 2. This is why it’s incorrect