Leo's github page
CSP 2022 Tri 3
Project maintained by lleosunn
Hosted on GitHub Pages — Theme by mattgraham
Practice MCQ #3

Corrections:
- Q1: B, If the connections between U and V and between U and P were removed, then computer T and computer U can no longer communicate.
- Q13: C, If the number of units of electricity used is 25 or less, the cost is 5 times the number of units. Otherwise, the cost is 5 times the first 25 units plus 7 times the number of units above 25. For examples, if a customer used 32 units of electricity, they should be charged $5 for the first 25 and $7 for the additional 7 units (32 – 25 = 7 units), for a total charge of $174.
- Q18: C, The procedure traverses this list and eventually encounters the positive value 1. At this point, the procedure returns true when it should return false because the list does not contain only positive values.
- Q19: A, Without knowing the individual assignment scores, the administrator is unable to determine any of the student’s individual scores other than the lowest score.
- Q34: B, As this algorithm has a factorial efficiency, it does not run in a reasonable amount of time. A heuristic approach can be used to find an approximate solution than can run in a reasonable amount of time.