New Employee Aptitude Test

Posted May 4, 2006 at 9:21 AM by Ben Nadel

Tags: ColdFusion, Work

Over the past few years, my company has hired some questionable employees. People who have cracked under the pressure and quite, or more unfortunately, people who just didn't realize that they couldn't hack it and had to be fired. Firing someone is never fun and I am glad I am not the person who has to fire someone. After many rounds of this, I can't believe that we haven't developed a better screening process.

Now, we can't judge character, willingness to learn, ability to learn, etc. so well in an interview. But, I see no reason why we can't give interviewees a ColdFusion mini-test. Give them half an hour or something to tackle a problem so that we can gain some insight into where they are as a programmer and problem solver. In interviews, I always hated theoretical questions about pills and digital scales or programming with out conditional statements. Those are nice, in theory, but are useless when it comes to reaching client deadlines in a real-world scenario. We need something practical, something that will demonstrate the ability for a potential employee to program, reach goals, and solve problems with very real parameters.

So, what is important as a ColdFusion programmer? It's going to be different for all work environments, but this is a list of "programming activities" that I have to deal with quite often:

  1. File Read/Write/Parse
  2. Query Creation/Outputting
  3. Persisting Data
  4. Add/Modify/Delete Existing Data
  5. Text Manipulation

Looking at that list above, I have come up with a test case that touches all of the scenarios.

The program takes a tab-delimited text file (with no header row), reads it in, parses it into a query object. The query object is then cached so that the file does not have to constantly be read from with each page call. The query object is then outputted (not CFDump'd) on the page. For each row that is outputted, there is a "Delete" link which allows the user to delete a row from the data query. For each row that is deleted, the text file and the data cache must be updated. At the top of the page, there is a simple form (a field for each column in the text file) where the user can add a new row to the data. For each row that is added, the text file and data cache must be updated. Furthermore, the application should initialize itself anytime there is no data cache, or is manually re-initialized (aspect of the programming).

I think this example is small enough that it will not be overwhelming enough or take too much time. It is, however, broad enough to touch upon many important aspects of ColdFusion programming.



Reader Comments

Aug 22, 2007 at 3:00 AM // reply »
1 Comments

send me an aptitude test notes with example pls!!!!!!!!!!!!111


Post A Comment

Comment Etiquette: Please do not post spam. Please keep the comments on-topic. Please do not post unrelated questions or large chunks of code. And, above all, please be nice to each other - we're trying to have a good conversation here.

Please review the following issues:

Author Name:


Author Email:

Author Website:

Comment:

Supported HTML tags for formatting: <strong>bold</strong>   <em>italic</em>   <code>code</code>







  • Help Wanted - Find Your Next ColdFusion Job
Ben Nadel's Company - Epicenter Consulting Recent Blog Comments
May 23, 2013 at 9:55 AM
Strange Interaction Between DeserializeJson(), ArrayContains(), And Database Values In ColdFusion
@Dan, According to the CF Admin, I'm running Java "1.6.0_45". As far as the DB column, in the database it's an INT. I'll see if I can dig into what CF sees it as. @WebManWalking, But h ... read »
May 23, 2013 at 9:49 AM
Strange Interaction Between DeserializeJson(), ArrayContains(), And Database Values In ColdFusion
@Ben, I think the problem is that we're used to loose typing in ColdFusion, like JavaScript. If a value is a number but it's needed in an expression to be a string, noooo problem. I've encountered ... read »
May 23, 2013 at 9:47 AM
ColdFusion QueryAppend( qOne, qTwo )
You rock! Thank you, thank you, thank you!!! ... read »
May 23, 2013 at 5:19 AM
Ask Ben: Print Part Of A Web Page With jQuery
How to print also the background color of table cells and table lines ... read »
May 23, 2013 at 3:55 AM
Javascript Array Methods: Unshift(), Shift(), Push(), And Pop()
very interesting and helpful too. ... read »
May 22, 2013 at 5:35 PM
Script Tags, jQuery, And Html(), Text() And Contents()
This is still an issue 2 years later. jQuery is supposed to remediate these cross browser issues, no? I have been unable to find any statement from the jQuery team calling this behavior "by de ... read »
May 22, 2013 at 12:44 PM
Ask Ben: Query Loop Inside CFScript Tags
In cf10, if you call a function that has: local.result = {}; local.result.msg = ""; local.svc = new query(); local.svc.setSQL("SELECT * FROM..."); local.obj = local.svc.exe ... read »
May 22, 2013 at 12:29 PM
Strange Interaction Between DeserializeJson(), ArrayContains(), And Database Values In ColdFusion
@Ben: What version of Java are you using? Also, did you test users.id to see what Java reports as the data type? I wonder if it's not a Java primitive data type, but getting returned as something ... read »
InVision App - Prototyping Made Beautiful With Prototyping Tools