x404.co.uk http://www.x404.co.uk/forum/ |
|
Programming exam, what to expect? http://www.x404.co.uk/forum/viewtopic.php?f=4&t=7095 |
Page 1 of 2 |
Author: | finlay666 [ Thu Mar 18, 2010 11:21 pm ] |
Post subject: | Programming exam, what to expect? |
Well I have a (estimated) 4 hour programming exam tomorrow afternoon with a the developers of a very well known MMO for a position abroad (US, Finland or China, not sure which) Is there anything in particular that is likely to pop up that may be confusing? I have some of my reference books with me but I think aside from 3d transformations I can manage most tasks reasonably well. |
Author: | finlay666 [ Tue Mar 23, 2010 2:15 am ] |
Post subject: | Re: Programming exam, what to expect? |
Anyone? Got a C++ one on friday and a c one over the weekend |
Author: | Fogmeister [ Tue Mar 23, 2010 7:43 am ] |
Post subject: | Re: Programming exam, what to expect? |
I've never had a programming exam ![]() I can't imagine what kind of stuff might be on there? Maybe bug fixing small programmes? Or showing knowledge regarding various programming patterns? Sorry, not much help I know. |
Author: | forquare1 [ Tue Mar 23, 2010 10:16 am ] |
Post subject: | Re: Programming exam, what to expect? |
Is it a written exam or a practical exam? |
Author: | EddArmitage [ Tue Mar 23, 2010 11:38 am ] |
Post subject: | Re: Programming exam, what to expect? |
I've only got a few uni written programming papers I can try and dig out, but I've a feeling I just have paper copies and not the PDFs, which means they'll be in Rugby. I'll have a look, though. |
Author: | finlay666 [ Tue Mar 23, 2010 4:50 pm ] | |||||||||
Post subject: | Re: Programming exam, what to expect? | |||||||||
Thats the thing I have no idea, based on experience at another company where it was a series of questions and hand written/typed code but not compiled for an output |
Author: | finlay666 [ Wed Mar 24, 2010 12:58 am ] | |||||||||
Post subject: | Re: Programming exam, what to expect? | |||||||||
Well I did the one that I wasn't interested in (Job was for a C developer in an area I have no experience and no idea what to expect) Questions were fairly generic, one was to calculating how to get an output from an input value using + or * e.g. 11111, 121 would be 1 + 11 * 11 Other was a complex one involving rotation and an algorithm for tiles and placement, really still have no idea how to do it, no point in submitting it as without both completed they won't accept my answers. Having a look at Project Euler for some common problems to get stuff under my belt before friday http://projecteuler.net/index.php?section=about |
Author: | Fogmeister [ Wed Mar 24, 2010 7:49 am ] | |||||||||
Post subject: | Re: Programming exam, what to expect? | |||||||||
Ooh! Thanks for the link! I'll be having a go at a few of those! |
Author: | Fogmeister [ Wed Mar 24, 2010 10:29 am ] |
Post subject: | Re: Programming exam, what to expect? |
Done the first one ![]() Fairly easy when you think about it ![]() |
Author: | EddArmitage [ Wed Mar 24, 2010 11:44 am ] |
Post subject: | Re: Programming exam, what to expect? |
1, 2 & 6 are trivial. Must ... Resist ... Urge ... To ... Do ... More! |
Author: | Fogmeister [ Wed Mar 24, 2010 11:54 am ] | |||||||||
Post subject: | Re: Programming exam, what to expect? | |||||||||
Yeah, 6 seems very easy ![]() If you look at some of the solutions though they are even easier than they first look ![]() 5 is also very easy. |
Author: | EddArmitage [ Wed Mar 24, 2010 12:11 pm ] | ||||||||||||||||||
Post subject: | Re: Programming exam, what to expect? | ||||||||||||||||||
For Problem1 I did the following:
Now I'm trying to decide if splitting it into three smaller loops was more efficient than one large loop. Obviously I'll have fewer total iterations (for most, if not all, cases), but would this offer greater performance over the alternative big-loop-simple-computation approach:
Why I'm worrying about such things that was hacked together so quickly, I don't know! |
Author: | finlay666 [ Wed Mar 24, 2010 12:52 pm ] | ||||||||||||||||||
Post subject: | Re: Programming exam, what to expect? | ||||||||||||||||||
try problem 282 (Ackermann) WITHOUT getting a stack overflow ![]() Edd.... really?
Iterative mod is your friend in that one like you did 2nd ![]() |
Author: | EddArmitage [ Wed Mar 24, 2010 12:55 pm ] | |||||||||
Post subject: | Re: Programming exam, what to expect? | |||||||||
That was my second suggestion. (8-p) Inititally I was trying to avoid iterating over the whole array, and wondered whether the saving there was worth the extra crap. |
Author: | Fogmeister [ Wed Mar 24, 2010 1:43 pm ] | |||||||||||||||||||||||||||
Post subject: | Re: Programming exam, what to expect? | |||||||||||||||||||||||||||
ROFL, I thought I'd write out the A(2,2) on paper to work out how it flows to begin with. I gave up after a page of workings ![]() |
Page 1 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |