Washington DC Area Job in E-Commerce 
Author Message
 Washington DC Area Job in E-Commerce

Hey, somebody asked me today where we could find some experienced coders for
our e-commerce development group and I thought... hey, we need another Perl
person on board so here it goes, my lame attempt at writing an employment
screening test...

#!/usr/bin/perl

$your_points = 0;
$extra_credit = 0;
open(FILE, "you.db") || die "A very bad sign, maybe you should try again.\n";
while(<FILE>) {
        $record = $_;
        chomp($record);

        ($experience, $attitude, $languages, $databases, $ecom_packages)
        = split(/\t/, $record);

        if($experience =~ /web/i && $experience =~ /ecommerce/) {
                $your_points++;
        }      
        if($attitude =~ /fun/i && $attitude =~ /workaholic/) {
                $your_points++;
        }
        if($languages =~ /java/i || $languages =~ /c/ || $languages =~        
        /javascript/) {
                $your_points++;
        }
        if($languages =~ /icl/i || $languages =~ /perl/) {
                $your_points++;
                $extra_credit++;                
        }
        if($languages !~ /sql/i || $languages !~ /html/i) {
                $your_points = $your_points - 2;
        }
        if($databases =~ /oracle/i) {
                $your_points++;
                $extra_credit++;
        }
        if($databases =~ /sybase/i || $databases =~ /sqlserver/i) {
                $your_points++;
        }
        if($ecom_packages =~ /iCat/i || $ecom_packages =~ /siteserver/i ||    
            $ecom_packages =~ /intershop/i ||                                
            $ecom_packages =~ /opensite/i) {
                $your_points++;
                $extra_credit++;
        }

Quote:
}

close(FILE);

$total_points = $your_points + $extra_credit ;

if($total_points == 10) {
        print "Wow, and you need a job? Write me today -        

Quote:
}

elsif($total_points >= 5) {

Quote:
}

elsif($total_points < 5) {
        print "Thanks for playing!\n";

Quote:
}

If you made it this far, InfoMech is an e-commerce firm developing online
solutions in Opensite, iCat, SiteServer, Intershop and other packages for a
wide variety of companies including Fortune 500's. We're small but growing
quickly and we need more developers to keep up with the work that is pouring
through the front door. If you are interested and the test was child's play,

ASCII please) or stop by and see us at IEC 99 in New York at the end of the
month.

take it easy, and thanks for playing,
Craig



Tue, 18 Sep 2001 03:00:00 GMT  
 Washington DC Area Job in E-Commerce
: Hey, somebody asked me today where we could find some experienced coders for
: our e-commerce development group and I thought... hey, we need another Perl
: person on board so here it goes, my lame attempt at writing an employment
: screening test...

: #!/usr/bin/perl

   # see if there is a bug on the first line

      die "Sorry, can't hire you. Thank you for your time.\n"
         unless $1 =~ /-\w*w/;
   }

   # see if there is a bug on the second line
   die "Sorry, can't hire you. Thank you for your time.\n"
      unless /use\s+strict\s*;/;

   :-)

: $your_points = 0;
: $extra_credit = 0;
: open(FILE, "you.db") || die "A very bad sign, maybe you should try again.\n";
: while(<FILE>) {
:         $record = $_;
:         chomp($record);

:         ($experience, $attitude, $languages, $databases, $ecom_packages)
:         = split(/\t/, $record);
                         ^^^^^^    that should be an underscore

   $your_points-- if (unnecessary copying to temporary variable);

:         if($languages =~ /java/i || $languages =~ /c/ || $languages =~
                                                    ^^
                                                    ^^
:         /javascript/) {
:                 $your_points++;
:         }

   You want to give points for "Visual Basic" and "Pascal" too then?

   Maybe you wanted    /\bc\b/i   instead?

:         if($languages !~ /sql/i || $languages !~ /html/i) {
:                 $your_points = $your_points - 2;
:         }

   Markup languages count the same as programming and query languages?

   Seems a strange weight, as a fixed markup language like HTML
   can be picked up by any competent programmer in a day or two.

   I don't think you can get competence in SQL that quickly...

--
    Tad McClellan                          SGML Consulting

    Fort Worth, Texas



Tue, 18 Sep 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. perl training in Washington DC area?

2. Perl/PHP/UNIX Job in Washington, DC

3. Job offered: Database Admin, Washington DC

4. DC Area Perl Job

5. Looking for perl classes in DC area

6. I'm looking for a programmer in MD/DC area

7. MD/DC area ?

8. PERL Teacher needed ASAP: DC Area

9. Perl training in the D.C. metro area

10. looking for a DC area course on PERL

11. DC Area Perl Programming Position

12. Looking for perl classes in DC area

 

 
Powered by phpBB® Forum Software