I've never applied for a programming job, so I can't help you with what might be on the test. But good luck on getting the job. Game development should be fun. |
|
I got a test in C from Cryptic Studios and it's timed so I can't look at it and then go brush up. Anyone know what kind of stuff would be on it? I would consider myself proficient with C, but I would like to know what kind of stuff would be on it. |
|
I've never applied for a programming job, so I can't help you with what might be on the test. But good luck on getting the job. Game development should be fun. |
|
C or C++? I know you said C, but they're a MMO game studio, not a low-level driver company |
|
Oh good. Yes, I'm certain that they said C, not C++. |
|
Ah I see. Then i/o streams and the likes are probably very important, because I'll probably put you into the network layer somewhere hehe. Marshalling/unmarshalling, etc. |
|
General programmer for a gaming company. I hope that they don't ask about networking, I have no knowledge of that at all. *gets scared* Well I'm off to do it and I've got my trusty C in a Nutshell book. |
|
Good luck mate, let us know how you get on |
|
|
|
Last edited by ninja9578; 06-22-2008 at 11:08 PM.
christ, |
|
Last edited by Ynot; 06-23-2008 at 12:32 AM.
That's kind of how I wanted to do it too, but backtracking was impossible without recursion and I didn't think the rest of it would work recursively. The other problem was a puzzle solver, I didn't get to it, but I knew how to do it. |
|
the only other way I can think of right now, is the brute force approach |
|
Last edited by Ynot; 06-23-2008 at 01:07 AM.
I tried to do a brute force approach at first, but I couldn't figure out how to code it. |
|
Four hours? How long was this test?!? Definitely not what I would have thought. Sorry if I led you into thinking it would be easy. That's pretty insane for a test, but I would expect most everyone to mess up on that level. If you did alright for the others, you stand a chance (and you probably should have gone right to the next question if you knew how to do it - no need to spend 4 hours on one when you can do the next in half an hour). |
|
3^9? Not quiet, it's a little bit more complicated than that. 3^9 tells you how many combinations of +'s, *'s, and nothings there are, but order also matters so for each of those 19,683 combinations, you have to do a permutation of all nine values. P(9, 9) = 9! = 36,2880 so, in fact, there are 7,142,567,040 solutions. That isn't easy, even for a computer. I couldn't figure out how to do the permutations anyway. |
|
Order? But all the numerals are in fixed positions... |
|
The operations order, the number's positions are fixed like you said. There were nine operators. |
|
True, but a + b * c isn't the same as a * b + c. There are lots of repeats as in the example above, but it's still a permutation. |
|
123+2+5+3*7+8+59 = 998 |
|
Lord almighty, that's a hard one. I was recently interviewed for a .NET programmer (something I know little off) and there was a 1/2 hour exam with questions on programming ("What is polymorphism?") SQL ("What is a subquery?") and web design ("What is CSS and what is it used for?"). Was pretty easy but I got some questions wrong. |
|
If you want help on this subject message me and Ill give you my mates msn. |
|
In very many cases, the visionary quality, the quality of the vision so to say, spills over, into the external world, so that the experiencer, when he opens his eyes, sees the outer world transfigured...
It's covered by the 3^9 |
|
Bookmarks