Reviewing Missed Questions
My Answer | Correct Answer | Explanation | |
---|---|---|---|
Q10: Directions: For the question or incomplete statement below, two of the suggested answers are correct. For this question, you must select both correct choices to earn credit. No partial credit will be earned if only one correct choice is selected. Select the two that are best in each case. Which of the following Boolean expressions are equivalent to the expression num greater than or equal to 15 Select two answers. |
B. (num greater than 15) or (num equals 15) | B & C. Not (num less than 15) |
forgot to select 2 options |
Q17: result <-- val1 and NOT val2 Which of the following code segments produce the same result as the statement above for all possible values of val1 and val2 ? |
A & B | A & D | B doesn't reqire val1 AND val2 to be true, only OR |
Q21: Which of the following best describes the result of running the program code? |
The number 10 is displayed. | Nothing is displayed; the program results in an infinite loop. | i is set to be 1 so everytime it looks, i becomes 1 and never reaches 4. |
Q23: What is displayed as a result of executing the algorithm in the flowchart? |
1 2 3 4 | 5 | The initial value of count is 1, which is less than 5. The variable count is incremented to 2, then 3, then 4, then 5. At this point the condition count < 5 is false, and the algorithm displays the value 5. |
Q27: Which of the following code segments can be used to move the robot to the gray square along the path indicated by the arrows? |
For the robot to end up on the gray square with the INTENDED PATH the second code segement must be implemented | ||
Procedure Call Explanation drawCircle(xPos, yPos, rad) Draws a circle on a coordinate grid with center (xPos, yPos) and radius rad |
C & A | C & B B: x ← 4 y ← 1 r ← 0 REPEAT 3 TIMES { r ← r + 1 y ← y + 1 drawCircle(x, y, r) } |
r cannot be 0, it needs to be 3 in the second segment |
Q49: What problems can be solved with algorithms |
Every problem can be solved with an algorithm for all possible inputs, but some of these algorithms have not been discovered yet. | There exist problems that no algorithm will ever be able to solve for all possible inputs. | Not all problems can be solved by a computer. |
Overall Thoughts
Now to improve my CollegeBoard MCQ Test Scores I want to focus on getting better at looking at pseudo code segments and correctly identifying their errors, function, and improvements that can be made.