questions for programmers interview
category: code [glöplog]
tomaes: may I?
[code]
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++>+>+++++++++++++++++++++++++++++++++++++++++++++++++>>>+>++>>>++++>+>++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<<<<<<<<<<<<<<<<<[>>>----------------------------------------------------------[>>]<[<+>>---------->]<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>>>>[>>>[<<<<<<<<<.>>.>>>>>]>[<<]]<[>+++>>>>>>.>.>..<<<<<<<]>>[<<]>[<+++++>>>>>>>.<.<..<<<<<<]>>>.<<-<<<-<<<<+<<<-]
+++++++++++++++++++++++++++++++++++++++++++++++++.-..[code]
wasted the better half of a long day, tested with http://www.iamcal.com/misc/bf_debug/
[code]
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++>+>+++++++++++++++++++++++++++++++++++++++++++++++++>>>+>++>>>++++>+>++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<<<<<<<<<<<<<<<<<[>>>----------------------------------------------------------[>>]<[<+>>---------->]<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>>>>[>>>[<<<<<<<<<.>>.>>>>>]>[<<]]<[>+++>>>>>>.>.>..<<<<<<<]>>[<<]>[<+++++>>>>>>>.<.<..<<<<<<]>>>.<<-<<<-<<<<+<<<-]
+++++++++++++++++++++++++++++++++++++++++++++++++.-..[code]
wasted the better half of a long day, tested with http://www.iamcal.com/misc/bf_debug/
facepalm
Code:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++>+>+++++++++++++++++++++++++++++++++++++++++++++++++>>>+>++>>>++++>+>++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<<<<<<<<<<<<<<<<<[>>>----------------------------------------------------------[>>]<[<+>>---------->]<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>>>>[>>>[<<<<<<<<<.>>.>>>>>]>[<<]]<[>+++>>>>>>.>.>..<<<<<<<]>>[<<]>[<+++++>>>>>>>.<.<..<<<<<<]>>>.<<-<<<-<<<<+<<<-]
+++++++++++++++++++++++++++++++++++++++++++++++++.-..
broken pouet is broken. i demand satisfaction in form of proper display of the code
Code:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>++++++++++++++++++++++++++++++++++++++++++++++++
>+
>+++++++++++++++++++++++++++++++++++++++++++++++++
>>>+
>++
>>>++++
>+
>++++++++++
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<<<<<<<<<<<<<<<<<
[
>>>----------------------------------------------------------
[>>]<[
<+
>>----------
>]
<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>>>
[
>>>
[
<<<<<<<<<.
>>.
>>>>>
]
>[<<]
]
<
[
>+++
>>>>>>.>.>..
<<<<<<<
]
>>
[<<]>[
<+++++
>>>>>>>.<.<..
<<<<<<
]
>>>.
<<-
<<<-
<<<<+
<<<-
]
+++++++++++++++++++++++++++++++++++++++++++++++++.-..
vectory: interesting, mind adding some comments?
A little brainfuck challenge:
given a 20 opcode program, what is the highest number that can be computed?
(program must not run forever)
For instance, the program "++++++++[>+++++++<-]" gives 56 (8*8)
given a 20 opcode program, what is the highest number that can be computed?
(program must not run forever)
For instance, the program "++++++++[>+++++++<-]" gives 56 (8*8)
Quote:
A little brainfuck challenge:
Sounds like busy beaver, so it's not as little as you probably want it to be.
not quite brainfuck but brain fucking:
Code:
$ perl -e '(((!($_%3)&&s/(.*)/Fizz$_/)|s/(([369])|\d?)?[50]$/Buzz/&(s/(?<=\D)\d+//))||$_)&&print "$_\n"for(1..99);print "Buzz"'
there should be no space at \D
TLM: https://gist.github.com/3049454, this were my dev comments to keep track. it's basically a slightly altered, brainfucked version of BarZoule's moduloless c-code.
Had to share this one with you!
This guy has a 13 (!!) years experience in software development with the following list of experiences (taken from the CV - unchanged):
He got this test and those are his answers.
Fucking amazing --- 13 years!
This guy has a 13 (!!) years experience in software development with the following list of experiences (taken from the CV - unchanged):
Quote:
Multithreading & Synchronization
Services
COM
OPC
Database operations with ADO
Networking (TCP/UDP)
Object Oriented Design
Design Patterns
Software Installation (Install Shield)
Remote debugging
Development of GUI (MDI) with MFC
C# with VS-2010
He got this test and those are his answers.
Fucking amazing --- 13 years!
TLM: That test is absolutely terrible, though.
sagacity: Maybe, but it did the job. It screened the guy right away.
sagacity: what's terrible about it?
Quote:
regex is pointless and is waist of time
Gargaj, so does Brainfuck, still it's an excellent predictor of how someone copes with new things. IHMO anyway...
that's not my point ;)
lol, didn't noticed that...
Quote:
Describe in words what does this function is used for and provide an example.
Quote:
You’re mission
Quote:
You may use the BFDev IDE to writing and experimenting.
Quote:
No internet should be used expect for the links given in this document.
Shitty test, shitty applicants.
ponce, thanks for the english lesson, maybe you should apply for a job at the world wide dyslexia organization... I'm sure they'll appreciate it --- I know I do.
Seriously, this test is indeed a waste of time.
Except for the "explain and comment this code" part which is IMHO where you can spot true good programmers.
The brainfuck part was the most hilarious thing I'd ever see in a job interview, and I really think the interviewee handled that part the best way ever : the question was dumb, give a stupid answer. He proved at the same time he could assimilate a strange language AND that the question was completely irrelevant.
Except for the "explain and comment this code" part which is IMHO where you can spot true good programmers.
The brainfuck part was the most hilarious thing I'd ever see in a job interview, and I really think the interviewee handled that part the best way ever : the question was dumb, give a stupid answer. He proved at the same time he could assimilate a strange language AND that the question was completely irrelevant.
just a little side note, so far about 40 guys went through the test and there is good distribution of the success rate.
From all the applicants I can say that about 1 or 2 did very well, all others failed for one reason or another.
I did had couple of "control group" interviews with applicants that failed the test by an inch. I concluded that I'm happy it filtered them away.
I understand some guys here at pouet think it's pointless. However, personally I feel that there is a good correlation between the test and the position I'm looking for - so I guess I'll keep wasting their time.
And no, I got no plans to waist them instead ;)
From all the applicants I can say that about 1 or 2 did very well, all others failed for one reason or another.
I did had couple of "control group" interviews with applicants that failed the test by an inch. I concluded that I'm happy it filtered them away.
I understand some guys here at pouet think it's pointless. However, personally I feel that there is a good correlation between the test and the position I'm looking for - so I guess I'll keep wasting their time.
And no, I got no plans to waist them instead ;)
I think both applicant and employer are a bit arrogant here.
The applicant wants to show off, but fails (who cares if you did everything "in five minutes", if everything is _wrong_. Seriously, if given plenty of time, make use of it and double check everything. He got the right idea most of the time, but was too lazy/sloppy/arrogant to improve on the initial results. Simple tasks are are also ample opportunities to discuss different solutions. Do that for browny points. :P)
The employer's English skills look a bit shady and the questions could be indeed a bit better, but it looks to me more like an endurance test than a skill test. Sure, you'll weed out the incompetent, but also the talented, but impatient and dull test averse. :)
The applicant wants to show off, but fails (who cares if you did everything "in five minutes", if everything is _wrong_. Seriously, if given plenty of time, make use of it and double check everything. He got the right idea most of the time, but was too lazy/sloppy/arrogant to improve on the initial results. Simple tasks are are also ample opportunities to discuss different solutions. Do that for browny points. :P)
The employer's English skills look a bit shady and the questions could be indeed a bit better, but it looks to me more like an endurance test than a skill test. Sure, you'll weed out the incompetent, but also the talented, but impatient and dull test averse. :)
The arrogance on the employers (TLM) side is just disgusting. BAH.
"shady english" -- hell yea, I'm dyslexic :)
The employer does not deserve to be criticized. The test is fair, and rather easy. If somebody fails this test, he is probably not a good programmer.