home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / c / 18468 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.8 KB  |  38 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.iastate.edu!pv0321.vincent.iastate.edu!dschmitz
  3. From: dschmitz@iastate.edu (Daniel C Schmitz)
  4. Subject: Re: How to test a programmer
  5. Message-ID: <dschmitz.724521723@pv0321.vincent.iastate.edu>
  6. Sender: news@news.iastate.edu (USENET News System)
  7. Organization: Iowa State University, Ames IA
  8. References: <1992Dec15.180712.845@ksvltd.fi>
  9. Date: Wed, 16 Dec 1992 16:02:03 GMT
  10. Lines: 26
  11.  
  12. I didn't see the very first posts of this but I think the general idea was
  13. to test a potential employees knowledge of C by having the tell you what a
  14. piece of code might do, or use some C "tricks" to accomplish a wierd task.
  15.  
  16. What might be more useful, and this was done to me, is to give potential
  17. employees programming problems.  Tell them to write a solution and mail the
  18. source code to you.  This not only tells you if they are competent, but gives
  19. you an idea of their programming style. 
  20.  
  21. The test that was given to me was something like, you are given a file that
  22. contains a list of coins (pennies, nickles, dimes, and quarters).  The job
  23. was to draw the list of coins side by side on the screen, centered left to 
  24. right.  The drawing primitives available to you are moveto(x,y) and 
  25. drawto(x,y).  The job was for a company involved in graphics.  This not only
  26. tested my programming skills, but my knowledge of graphics algorithms and
  27. my attention to details that the programmer must know but were not provided
  28. with the original problem description.  E.g. what is the format of the file,
  29. should the coins be centered top to bottom with relation to each other and/or
  30. to the screen.  Will the input contain errors and/or more coins than will fit
  31. on the screen.  What are the sizes of the coins.
  32.  
  33. Dan Schmitz
  34. dschmitz@iastate.edu
  35.  
  36.  
  37.  
  38.