dtm: (Default)
[personal profile] dtm
Occasionally, my boss will interview people for a somewhat technical job. Often, these people will claim to be able to program, and she has a standard "bare minimum programming competency" question:

In the language of your choice, write a function that accepts a two-dimensional array of floating-point numbers and returns the smallest value in the array.

This should be something that can be done without any thought by anyone claiming to be a programmer, right? I'd never understood how people could come to an interview for a programming position, degree in hand, and fail this test. Now I understand. It's a bit reassuring to know that math departments aren't the only ones who have to deal with flagrantly unethical undergrads.

Update: it appears that this auction has been made private. Basically, it was a request for a full worked-out, ready-to-turn-in homework assignment. (Google even supplied me with the name of the course book the assignment was taken from and a little hunting with the exact page number)

Date: 2004-02-15 10:22 pm (UTC)
From: [identity profile] joxn.livejournal.com
Of course, choice of language is everything. How about Octave?
function res = floatmin(a)
res = min(min(a));

Date: 2004-02-15 10:24 pm (UTC)
From: [identity profile] joxn.livejournal.com
You'd probably believe how many undergrads in a numerical analysis class couldn't do that.

September 2024

S M T W T F S
1234567
891011121314
15161718192021
22232425 262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 21st, 2025 02:43 am
Powered by Dreamwidth Studios