Question 14
Initial Understanding: I thought that both codes displayed a different number of values. I assumed that the first code showed values 1-10 and the second, 2-10, leading me to come to the conclusion that they had different counts.
Correction: Even though both codes start at different values, they still show the same number of values. Only, the first code runs from 1-10 and the second from 2-11. Both are covering the same total count, they just start and end at different numbers. Showing that I should have picked C
Question 18
Initial Understanding: I made a mistake of not realizing that the question was for the least likely strategy when answering this question.
Corrections: It should be C because when you remove as many details as possible from the model in order that calculations for it can happen faster, it is least likely to improve the ability to predict the accuracy. This will simplify the model too much and will get rid of a lot of the elements and relationships that have an affect on the outcome. Thus making the prediction less reliable.
Question 24
Initial Understanding: I thought that byte pair encoding was lossy.
Corrections: However this was not the case because the ability to fully reconstruct the original string from the encoded one shows that it is lossless.
Question 33
Initial Understanding: I thought that both conditions in the flowchart needed to be true because the second one of bedrooms equalling 3 was only if the first floor > 10 was true. This made me think that this was an and relationship.
Corrections: Since the operator was OR instead of AND, it would mean include would be true if either one of the conditions were also true.
Question 43
Initial Understanding: I guessed that since the items and number of steps did not have a linear relationship then the algorithm wouldn’t run in reasonable time.
Corrections: Since the number of steps is polynomial it DOES mean that it would run in reasonable time.
Question 45
Initial Understanding: I completely guessed on this one
Corrections: The option I chose only evaluates false when P and Q are different values. However a NAND gate should only be false when both P and Q are true.
Question 46
Initial Understanding: I also guessed on this one
Corrections: It is impossible to solve undecidable problems for all programs and inputs
Question 55
Initial Understanding: I thought that the code was working as intended.
Corrections: The code was not working as intended and no matter the input the procedure would return false.
Question 56
Initial Understanding: I thought that the procedure counted even integers
Corrections: The code actually displayed odd integers.
Question 57
Initial Understanding: I thought that the letters ppy would be in 4 , 2.
Corrections: The letters ppy were actually 3, 3. With the comination of the Ha from harp then the string would return Happy.
Question 58
Initial Mistake: I was unfamiliar with the word crowdsourcing.
Corrections: Now I know what crowdsourcing is and it can help but there are some problems that cannot be resolved in reasonable time.
Question 60
Initial Mistake: I thought that all the docuementation on one line would make the code easier to read.
Corrections: The mistake that I made was thinking that placing all the docuementation on a single line helps programmers to read code more clearly. In fact it may do the opposite. However, replacing each instance of repeated code with a call to a procedure would allow for the code to be less complex.
Question 63
Mistake: My mistake was that I didn’t realize that the count should be before a loop. Since this wasn’t the case and I chose to remove line 1, it would not start counting at 1.
Corrections: The count needed to be set to 0 before the loop instead of after. This way it would start the count at 1 rather than a different number.
Question 64
Mistake: Cloud files allow people to share files easily, making room for those who want to distrubute copyright materials illegally.
Corrections: Cloud computing has helped enhanced collaboration, because of the ability to share files and tools so easily. The ability to collaborate even when far away has positively affected internet communication.
Question 66
Initial Mistake: I had forgotten that I had to click on two answers instead of just one of them
Corrections: C will also not work. This is because the return of C would be 20. However since there is a 10, the code would not be returning the lowest number value.
Weaknesses and Strengths:
Score and Analysis
Overall I am pretty happyy that I made it into the green zone for the MCQ. I initially thought that I would not be able to understand and do well on it. However I surprised myself with my score, Some of the questions I was unable to answer, but the majority of the questions I was able to get right.