Reflection
- Compared to the past mcqs that I’ve taken, this one was harder because of the time limit. I’ve realized that topics in team teaches are on college board questions so it’s important to focus on team teaches. I still need to work on being able to convert binary to decimal, logic gates, and iterating loops but I understand the other topics.
Preparation
- To prepare for the AP exam, I will watch AP classroom videos, review team teaches, and take more practice tests.
Question 10
- 11000 is the binary value for jump. My thinking was that the the power that you are raising to is the number from right to left. The two ones are in the 4 and 5 position so I thought that 2^4 + 2^5 = 16 + 32 = 48. However, the count starts from 0 so it is 2^3 + 2^4 = 8 + 16 = 24.
Question 47
- The expression will evaluate to true when the average customer rating is greater than or equal to 4 AND the price range is either medium or low. I chose the incorrect option that BOTH the the price range had to be low and medium but thats not possible for one resturant to have 2 possible price ranges.
Question 55
- This code segment will take the length of the list which is 5, set the variable temp to the last element of the list, remove the last element of the list, and then insert the temp variable into the first element of the list. I originally thought that it would remove the last element of the list and then since the original last element was stored in a variable it would be appended afterwards.
Question 62
- It says “Users have the ability to pay a monthly fee for a premium account, which removes advertisements from the application.” so users with premium will not receive targeted ads. I thought that since the main idea are ads, friends being on each others contact list have no correlation
Question 63
- I chose D correct as it checks input1 AND input2 and then switches the value of the boolean expression. A is the other correct answer because it switches the value of input1 and input2 then checks if at least one of them is true. For three of the cases, true and false; false and true; false and false, at least one of the values will be true which will set the end result to true. The last case is true and true which will be switched to false and false and the end result will be false.
Question 66
- I got A correct buy D is the other correct answer. If the timer is greater than 60, then 1500 bonus points are awarded. If the timer is between 30 and 60, then 1000 bonus points are awarded. Lastly, if the time is less than 30, then 500 bonus points are awarded.
Question 68
- The code segment will take the length of the list which is 6, and if the last element is equal to the element to the left of it, then it will remove it. This will loop until it checks all the elements in the list. This code won’t work for A because the final list will be [10,20,10] which still has duplicates. It also won’t work for C because it won’t remove anything but the final list will still have duplicates [30,50,40,10,20,40]
Question 70
- I got C correct but missed A. Lets say “best” is the oldstring and n is 3. It takes The string of characters from 1 to 2 which is “be” and is concatenates it to the right of the 3rd letter of best which is t. The final word is “bet”