• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Pre Interview Test

HankWangford said:
A friend of mine has been asked to complete the following pre-phone interview test.
FFS you wouldn't ask a bloke to come round to fix your car stereo then make before he starts make him rewire your great grandfathers gramophone just to make sure he was suitable....

would you do it? I told him to tell them to fek orf

I would do it at a charge, to be detracted from the first invoice if they hire you
 
The more I think of it, the more I think it's not such a bad test of coding. A less horribly contrived one would be of course.

You'd end up with about 1 screen's worth of code, and you'd be able to see how well factored it was, what the guy's commenting was like etc; whether he's from the 'keep it simple' or the 'OO purist' school of thought etc.

I'd be sensible who I gave it to though!
 
HankWangford said:
A friend of mine has been asked to complete the following pre-phone interview test.
FFS you wouldn't ask a bloke to come round to fix your car stereo then make before he starts make him rewire your great grandfathers gramophone just to make sure he was suitable....

would you do it? I told him to tell them to fek orf


Please write a small application that can calculate the difference in days between two dates.

The application should meet the following requirements:

• It should be written in C# and .NET
• The code must not use the DateTime or other date functionality provided within the .NET library, this is a test of coding, not of knowledge of the .NET FCL

Simple.

Step 1

Use .NET Reflector to get the source code of the M$ DateTime classes.

Step 2.

Copy & Paste

Step 3.

Smile smugly.

:happy
 
DimPrawn said:
Simple.

Step 1

Use .NET Reflector to get the source code of the M$ DateTime classes.

Step 2.

Copy & Paste

Step 3.

Smile smugly.

:happy

Don't you mean...

Step 1

Use .NET Reflector to get the source code of the M$ DateTime classes.

Step 2.

Scream in terror at the horror that is MS source code

Step 3.

Rewrite it properly.

Step 4.

Smile smugly.
 
Ardesco said:
Don't you mean...

Step 1

Use .NET Reflector to get the source code of the M$ DateTime classes.

Step 2.

Scream in terror at the horror that is MS source code

Step 3.

Rewrite it properly.

Step 4.

Smile smugly.

:rollin: :yay:
 

Advertisers

Back
Top