The real question he was asked is: "Did you have access to computer science materials before applying. Prove it by solving these trivia."
No. I knew nothing about computer science when I got that interview. I had programmed (self-taught) but knew nothing of Big O and had never heard of Dijkstra or the Dutch National Flag problem. These questions were less about testing my knowledge more about testing my ability to figure stuff out. The latter is highly prized in my experience by Oxford.
Two problems I had to solve in my Oxford interview (2013)
41–45 of 45 posts
Re: Two problems I had to solve in my Oxford interview (2013)
#42Well, here is my non-zero-handling answer to the first Z2 I2 And with zero handling (maybe) Z4 I4 Z2 J0,2 -+ +-J0,4 | | I2 Z3 J1,3 -+ +-J1,4 | | I2 exit Edit * 2nd try
My solution: 0: Z 2 1: Z 3 2: J 0 2 -> 4 3: J 1 3 -> 7 4: I 2 5: J 0 2 -> 4 6: J 1 3 -> 7 7: I 2 8: I 3 9: J 1 3 -> 7 Handles the zero case. Only uses 4 cells total.
I don't think you can depend on jumping in instruction 3, because you don't control the value of mem. 1, it's input. So if mem. 3 = 0, instructions 2 and 3 will always lead to instruction four.
Re: Two problems I had to solve in my Oxford interview (2013)
#43Was this for entrance into the undergraduate program? Question 1 would have been extraordinarily difficult for me, having no formal computer education at all before entering undergrad. Maybe it's different in the UK.
Yes. These were the two questions that I recall being asked when I was interviewing to be an undergraduate.
Re: Two problems I had to solve in my Oxford interview (2013)
#44Was this for entrance into the undergraduate program? Question 1 would have been extraordinarily difficult for me, having no formal computer education at all before entering undergrad. Maybe it's different in the UK.
Re: Two problems I had to solve in my Oxford interview (2013)
#45Was this for entrance into the undergraduate program? Question 1 would have been extraordinarily difficult for me, having no formal computer education at all before entering undergrad. Maybe it's different in the UK.