Alice AP MCQ Corrections - samayass/flask_portfolio GitHub Wiki

Question My Answer Explanation
A 4 connections need to be removed for device B and C to no longer communicate because there are 4 lines connected to each device B and C.
B Through iteration in the LOOP, J is increased by 1 until it reaches n. So the sum would only be from 1 up until n.
B Crowdsourcing is getting information from a large number of people over the internet, here the information is obtained from the players of an online game.
D First step moves robot forward two squares, rotates left, moves forward two squares, and rotates right. the next step moves the robot forward one square. The third step moves the robot forward three, rotates it left, moves it forward three squares, and rotates it right so it ends in the grey square.
C Step 4 checks every element in the list, increasing the count by 1 each time the target number appears. Step 5 prints true if the count shows up multiple times in the list.
D Allowing users to connect with other people nearby will encourage them to exercise more, thus making them healthier.
A and C When input1 and input2 are both true, the expression (input1 AND input2) is true, so NOT (input1 AND input2) will be false. In all other cases, (input1 AND input2) will be false, so NOT (input1 AND input2) will be true.