Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




13 posts

Geek


# 211604 3-Apr-2017 16:50
Send private message

Hi,

 

We're currently advertising for an IT Administrator (jack of all trades role, helpdesk crossed with some sys admin and software dev) in Christchurch for Enatel Ltd.

 

To help speed up filtering the applications, I decided to have a go at putting a puzzle on the ad. There are 3 parts to it and not a single person in 3 weeks has hit the 3rd part, but I have had plenty of applications with incorrect answers.

 

I'm after feedback to see if this is too hard, or alternatively, if you're interested in the role, let me know!

 

The whole idea of it is that the steps / answers aren't obvious off the top of your head, but it shows that you can read the question, google if you have to and then interpret and apply your skills to get the results. I've had other people that don't do this stuff for a living test it and complete it within a minute.

 

The ad states that you need to be familiar with C# and that part of the role is dealing with staff (who may say things in odd ways that you need to be able to convert into their actual request).

 

 

 

/// <summary>For bonus points, include the answer
/// to the question below in your cover letter.
/// <para>I wonder what the TXT record for the return value
/// of puzzle("jobapplication") would show?</para>
/// </summary>
private string puzzle(string question)
{
var answer = "txtrecord.enatel.net";
string s1 = "it";
string company = "www.enatel.net";

if (question.IndexOf(answer[2]) >= 10)
return company.Replace(company.Substring(0, s1.Length + 1),
question.Substring(0, company.IndexOf('\x6C')/3));

Console.WriteLine(answer);

return s1 + company.Substring(3);
}


View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2 | 3
5602 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber

  # 1754891 3-Apr-2017 16:55
Send private message

If you're looking for a generalist you might be barking up the wrong tree.  Not knowing coding I can't say if the puzzle is hard or easy, but I can say there's plenty of other jobs out there to apply for that don't make you jump through hoops - at least until interview stage.  Maybe you need to modify your expectations a bit, especially for the level of person you want.




13 posts

Geek


  # 1754894 3-Apr-2017 17:01
Send private message

gehenna:

 

If you're looking for a generalist you might be barking up the wrong tree.  Not knowing coding I can't say if the puzzle is hard or easy, but I can say there's plenty of other jobs out there to apply for that don't make you jump through hoops - at least until interview stage.  Maybe you need to modify your expectations a bit, especially for the level of person you want.

 

 

 

 

True, but you can literally copy and paste that into an editor and run it to get the answer. I get your point though. Last time we hired for this role, testing was given at the interview stage but we found that most people failed even simple code examples.


 
 
 
 


501 posts

Ultimate Geek

Subscriber

  # 1754897 3-Apr-2017 17:06
Send private message

job.enatel.net

 

Not too hard, Unless I got it wrong, then it is very hard :)

 

 




13 posts

Geek


  # 1754899 3-Apr-2017 17:10
Send private message

djtOtago:

 

job.enatel.net

 

Not too hard, Unless I got it wrong, then it is very hard :)

 

 

You're half way there, correct return value but not what the question actually asked. Guess maybe that part is too subtle?


1524 posts

Uber Geek

Trusted

  # 1754901 3-Apr-2017 17:13
Send private message

While I'm not a developer I am a proficient code writer. My job deals with several languages including C#, Java and Python. I also know VB and C++.

 

That question is pretty badly coded. I think I found the answer but surely there are better ways to filter out people? Even an experienced coder will get things wrong but the ability to diagnose and fix is the true indicator of a good developer.

 

 


1711 posts

Uber Geek

Trusted

  # 1754904 3-Apr-2017 17:17
Send private message

My attempt....

 

Wants you to find the "t"

 

t is the 10th char in jobapplication

 

first if is true, therefore return

 

return company.Replace(company.Substring(0, s1.Length + 1),  question.Substring(0, company.IndexOf('\x6C')/3));

 

which works out to be

 

return company.Replace(company.Substring(0, 3),  question.Substring(0, company.IndexOf('l'));

 

return company.Replace(company.Substring(0, 3),  question.Substring(0, 10);

 

so replace the www with question.Substring(0, 10)

 

question.Substring(0, 10) = jobapplicat

 

jobapplicat.enatel.net

 

 

 

Keen to know if wrong and what the issue was, but this has also just given anyone the ability google any part of the code answers so no longer usefil filter...

 

Forgot to /3 so above it wrong... 

 

 

 

Don't want a job but requires

 

  • coding skills (to read the code and process it)
  • ability to convert hex to ASCII (google it)
  • otherwise its simple string operations...




CPU: Intel 3770k| RAM: F3-2400C10D-16GTX G.Skill Trident X |MB:  Gigabyte Z77X-UD5H-WB | GFX: GV-N660OC-2GD gv-n660oc-2gd GeForce GTX 660 | Monitor: Qnix 27" 2560x1440

 

 


352 posts

Ultimate Geek


  # 1754905 3-Apr-2017 17:18
Send private message

enatel.net


 
 
 
 




13 posts

Geek


  # 1754906 3-Apr-2017 17:19
Send private message

tchart:

 

While I'm not a developer I am a proficient code writer. My job deals with several languages including C#, Java and Python. I also know VB and C++.

 

That question is pretty badly coded. I think I found the answer but surely there are better ways to filter out people? Even an experienced coder will get things wrong but the ability to diagnose and fix is the true indicator of a good developer.

 

Thanks, and I appreciate that. If I had just made it return company.Replace("www", question.Substring(0,3)) it would have been pretty obvious. I actually wanted people to chuck it into VS or dotnetfiddle and run it rather than trying to work it out by hand even though you could if you wanted to.


3344 posts

Uber Geek

Trusted
Vocus

  # 1754907 3-Apr-2017 17:19
Send private message

I got it, but the two parts of it don't make a lot of sense together (why am I feeding the output from a random snippet of code into a DNS query).  Also the code is a bit obfuscated, or looks it to me, then I am not a C# dev.

 

I can see why people would have a hard time with it.


501 posts

Ultimate Geek

Subscriber

  # 1754911 3-Apr-2017 17:21
One person supports this post
Send private message

That's why I'm a programmer and not a network person.

 

But you are correct. I read the code but not the question. To answer it I copied the code into a text editor and re formatted it to make it easier for me to read and understand.

 

 

 

 




13 posts

Geek


  # 1754912 3-Apr-2017 17:22
Send private message

mentalinc:t is the 10th char in jobapplication
Index 9, as numbering starts at 0.

 

mentalinc: return company.Replace(company.Substring(0, 3),  question.Substring(0, company.IndexOf('l'));
you dropped the /3, which is index 9, divided by 3 = 3.

 

 

 

Also question asks for the TXT record (I don't assume people applying for this job will know what that is, but google tells you pretty quickly).




13 posts

Geek


  # 1754913 3-Apr-2017 17:24
Send private message

ubergeeknz:

 

I got it, but the two parts of it don't make a lot of sense together (why am I feeding the output from a random snippet of code into a DNS query).  Also the code is a bit obfuscated, or looks it to me, then I am not a C# dev.

 

I can see why people would have a hard time with it.

 

 

 

 

Reason for the DNS query is I wanted to pick something people would think I don't know what that is, but let me google it and see if I can apply what I read to this situation. I think that is the bit that everyone is struggling with and maybe that's what I have to remove.




13 posts

Geek


  # 1754925 3-Apr-2017 17:45
Send private message

freitasm: Well done! Visit https://[removed].enatel.net


Excellent! That is one of my 2 valid answers, and probably the correct one given the wording :)


BDFL - Memuneh
64196 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber

 1 | 2 | 3
View this topic in a long page with up to 500 replies per page Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Kiwi workers still falling victim to old cyber tricks
Posted 12-Aug-2019 20:47


Lightning Lab GovTech launches 2019 programme
Posted 12-Aug-2019 20:41


Epson launches portable laser projector
Posted 12-Aug-2019 20:27


Huawei launches new distributed HarmonyOS
Posted 12-Aug-2019 20:20


Lenovo introduces single-socket servers for edge and data-intensive workloads
Posted 9-Aug-2019 21:26


The Document Foundation announces LibreOffice 6.3
Posted 9-Aug-2019 16:57


Symantec sell enterprise security assets for US$ 10.7 billion to Broadcom
Posted 9-Aug-2019 16:43


Artificial tongue can distinguish whisky and identify counterfeits
Posted 8-Aug-2019 20:20


Toyota and Preferred Networks to develop service robots
Posted 8-Aug-2019 20:11


Vodafone introduces new Vodafone TV device
Posted 7-Aug-2019 17:16


Intel announces next-generation Intel Xeon Scalable processors with up to 56 cores
Posted 7-Aug-2019 15:41


Nokia 2.2 released in New Zealand
Posted 5-Aug-2019 19:38


2degrees celebrating ten years
Posted 5-Aug-2019 05:00


Sure Petcare launches SureFeed microchip pet feeder
Posted 2-Aug-2019 17:00


Symantec Threat Intelligence: revival and rise of email extortion scams
Posted 2-Aug-2019 16:55



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.