I was so happy with the exam, fairly straightforward with a lot less ambiguity than I have seen in practice papers. There were definitely a few questions I wasn't prepared for but for the most part I was able to sort out an answer that made sense. The reduced ambiguity was complemented by a significant increase in the amount of algorithms we were required to write, which I was very pleased to see as I think there needs to be a push for better understanding of algorithms. We weren't just asked to write a list of steps in algorithm form or produce a simple swap, there was some real on the spot coding that made you think at first and I enjoyed that. Based on the above evaluation, It'd be nice to see the cutoffs move up a little but I think they'll stay roughly the same because the state tends to struggle with algorithms.
The answer to that multiple choice was B, because they made a mistake in using the variable, which was mypi or something in A and C. They broke the code and did my2pi instead of 2mypi, thus redering option C and A invalid. The answer was B. Option D included too many characters and thus B was comprised of lesser symbols. That is what I based my choice from.
No it can't be my2pi. The variable was declared as mypi, and by saying my2pi, you were breaking the variable and hence causing an error.
Also, in regards to this, I agree. The variable was stated as mypi, and it looked like my2pi was there to confuse us. I chose B, also, because the variable was set outside the loop and because whilst D did the same in regards to where it set the variable, my2pi wasn't the original variable name.
Nah, pretty sure D was correct, there are no 'errors' in an algorithm, you can't 'break' it because it isn't code being executed by a computer, it's just pseudocode, a set of logical steps with no syntax or strict rules that seeks only to convey the logic of a solution. As a result, using a variable my2pi instead of mypi is no issue at all, it's actually a smarter way to go about the solution, multiplying the 2 through first and using a constant of 2pi instead of pi for the calculations.
This question was about efficiency, asking which of the four solutions completed the task in the most efficient way. Since it was implied that there were multiple circles to have their circumference calculated, it's therefore a good idea to do as much of that calculation at the start (outside of the loop) as you can, because if you're doing it inside the loop instead it's just needlessly repeated calculations as you are running it multiple times. As a result, it's best to bring out the declaration of the variable (some options had the variable declared inside the loop, which meant lots of wasted declarations since the value never actually changed) so the other two were the more efficient options. Of the two, one multiplied the constant 3.14 by two each iteration and the other just used the pre-calculated value of 6.28, removing the need to multiply 3.14 by 2 in order to find each and every circumference. This is why I think D was the correct answer.
As for why it referred to mypi in the question, imo it was just to clarify that pi was the be taken to 2 decimal places.
Also, the multiple choice where you had to choose for the lady at home to use a VPN or an Intranet or Broadband or the Internet. I chose the Intranet because VPN - you need to be in range of an existing network and since she was at home, there was no network. Broadband and Internet are stupid, thus intranet was the right choice, no?
I don't think the answer was intranet, I think it was VPN.
Where did it say there was no network at home? If there was no network at home, there would be NO way for the woman to connect to her work. An intranet would not be appropriate as the work is in a different geographical location (an intranet is confined to within a LAN, it's an internal mini internet) and this means the intranet is not able to branch to the woman's house in order to provide a connection. The option internet would branch between her home and her workplace, and it could be argued that a broadband connection to the internet could be used to achieve this connection, but the important part of the question was the security of her connection. A VPN fits perfectly, it's a secure connection (as specified by the question) to a remote private network (her work network, which could even be an intranet) through a public network (in this case, the internet, the link between our lady's home and her work).
I'm fairly confident in my answers, and a few of my friends got the same answers as me, but I guess we'll never know until the report comes out next year.
Does anyone remember or did anyone write down question 9 of MC? I made a mark next to my answer for it, but I can't remember what it was. I went to compare it with my mate and it was the only MC question we answered differently, but neither of us could think which question it was.