编程租用测试 - 测试在C#/ ASP.NET开发一个知识 [英] Programming hire test - Test a developers knowledge in C# / ASP.NET

查看:142
本文介绍了编程租用测试 - 测试在C#/ ASP.NET开发一个知识的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们很快就要雇用一个.NET开发人员,我被分配到创建一个测试,这将aprox的需要:1H解决。一个测试将测试在编程知识(主要是)C#和ASP.NET。

We're hiring a .NET developer soon, and I was assigned to create a test, which would take aprox: 1h to solve. A test which would test the programmers knowledge in (mainly) C# and ASP.NET.

这是我想出迄今:


  • 使用项目#1读取指定的URL和输出的所有链接(锚)锚包含名为XXXXXXXXX的数据(HTML)。您可以自由使用第三方库。我在这里的主要思想是测试,开发者将如何去解决这个问题。例如:

    • 创建一个正则表达式这将分析所有的数据需要的。

    • 创建一个DOM树,并使用XPath找到所有锚节点。

    • 遍历整个字符串并执行字符串手工比较。


    • 连接解决 ** 数据库。并从 ** _customers表。
    • 输出所有客户
    • 创建一个新的按钮,刷新使用AJAX的所有用户。


      pretty基本的东西。虽然,我还增加了以下之一。主要是测试开发OO知识。你认为这是太大材小用,或者你会建议什么样的测试?如果你要聘请一个ASP.NET开发,将您的重点是什么? ADO.NET? IO?字符串处理?

    • Connect the solution to the ** database. And output all customers from the "**_customers" table.
    • Create a new button which refreshes all users using AJAX.

      Pretty basic stuff. Though, I also added the one below. Mainly to test the developers OO knowledge. Do you think this is too "overkill", or what kind of test would you suggest? If you were to hire a ASP.NET developer, what would your main focus be? ADO.NET? IO? string handling?

    在此先感谢!

    推荐答案

    你给的任务本质上是一两天的价值,如果你想拥有相当可读code编码。一个小时内,我想我会做,但你必须阅读code已经cryptically命名方法,不可读的正则表达式,怪异的回调,没有错误处理和整体是pretty织补丑陋。看着它,你就不会雇用我。

    The task you gave is essentially a day or two worth of coding if you want to have reasonably readable code. Within an hour I guess I would do it, but you'd have to read code that has cryptically named methods, unreadable regexes, weird callbacks, no error handling and overall is pretty darn ugly. Looking at it you would not hire me.

    在你给应聘者你的问题,首先确保你的同事/程序员可以先做到这一点。并且您可以code它在某种程度上少于60分钟,将满足你。

    Before you give your question to candidates, first make sure that your peers/programmers can do it first. And that you can code it in less than 60 minutes in a way that would satisfy you.

    这是说,我不知道,如果试验是雇用任何人的最佳选择。一些面试的博客写了一篇关于他们的经验,从开展吨采访到来:

    That said, I do not know if test is the best choice for hiring anyone. A few interviewing bloggers wrote about their experience coming from conducting tons of interviews:

    • Guerilla Guide to Interviewing by Joel Spolksy
    • Truth about interviewing, Get that job at Google (and many others) by Steve Yegge

    我完全同意他们的观点。具有约采访我自己一个极大进行,我觉得问的基本技术相关的问题是几乎没有要求实现一个有点递归或指针一样好(如果有人声称知道C / C ++)。

    I totally agree with them. Having conducted about a gazillion of interviews myself, I find that asking basic technology related questions is not nearly as good as asking to implement a bit of recursion or pointers (if someone claims to know C/C++).

    通过雇人谁了解递归/算法,你会得到一个聪明的家伙谁可以学习新的技术。当你雇人谁知道如何连接到数据库,谁知道如何连接到数据库,但不一定有资格做远不止于此。

    By hiring someone who understands recursion/algorithms you get a smart guy who can learn new technology. When you hire someone who knows how to connect to a database, who knows how to connect to a database but not necessarily qualified to do much more than that.

    有的是编码和可能激发你的算法介于两者之间良好的编程问题,几个来源。他们不测试.NET可言,但很聪明的程序员非常好的指标。

    There are a few sources of good programming questions that are somewhere between coding and algorithms that may inspire you. They do not test .NET at all, but are very good indicator of smart programmers.

    • Top Coder
    • Google Code jam

    这篇关于编程租用测试 - 测试在C#/ ASP.NET开发一个知识的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆