开发者

Simple VB or C# questions for an interview? [closed]

开发者 https://www.devze.com 2022-12-11 14:16 出处:网络
开发者_如何转开发 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely
开发者_如何转开发 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 9 years ago.

I'm conducting an interview in 45 min (my second ever!) for a candidate who's pretty junior and states she knows VB and C#. I do not have any experience in either of those languages.

Does anyone have any good simple interview questions for these languages that I can ask that will be informative without being too intimidating?

Note: I'm looking for language-specific ones, and not of the FizzBuzz variety (which I'm already planning on asking).

Related Question

https://stackoverflow.com/questions/70763/good-c-interview-questions-for-a-senior-dev-position


UPDATE: It's over - and thanks everyone! As Jon Skeet says - it's hard to ask questions to which you don't know the answers but I did find that her reaction to the question being asked, even without the answer, was pretty telling and showed me immediately whether or not she was familiar with the concepts being presented.


The problem with asking language-specific questions for a language you don't know yourself is that if any of the answers deviate from the specific ones you've been given here, you won't know if they're right or not. (I humbly suggest that most of the answers given so far suffer from that problem.)

Do you have a laptop available, so you can get them to code and see whether the result is the desired output? If so, FizzBuzz-style questions are a good start, and while you won't be able to judge the idiomatic style of the code you can at least see if it works :)

I find that a useful question to ask is what the candidate likes and dislikes about the language. What would they change if they could?


There are numerous lists on the web.

The C# ones one Mark Wagner's blog are quite good and range from the fairly simple to quite hard so you can go as deep as you like. However, as the commentators have pointed out some of them are in danger of becoming out date (if they're not already) - so use them as a guide.


Look here, maybe you can pick up something not too senior:

Questions every good .NET developer should be able to answer?

Good C# Interview Questions for a Senior Dev Position


I'm no expert on interviewing, so please take this as an opinion rather than gospel.

I'd ask the interviewee to bring in a hundred lines or so of code they've written in each language that accomplishes something interesting. In the interview, let them know what languages you do know, and ask them to review their code with you. Even without knowing the language you should be able to ask questions about various design decisions and determine whether the interviewee is actually comfortable with the language.


I think it is far more important to find out how the candidate thinks than to test their specific knowledge on a topic. For example, they may know C# but do they have the aptitude to learn VB.NET, or F#, or some other language. What makes them tick? Do they get excited by new framework features? What do they do for hobbies? How do they tackle problems? These things are far more important than knowing a language inside and out, especially when even the best developers still rely on the compiler to tell them they screwed up.


Its very dificult to answer your question, because we can list thousands of questions. However here is my abstract idea:

  1. Test whether he knows all OOPs concepts and how it can be acheived in C#/VB.Net
  2. Avoid critical questions as they are juniors.
  3. Test them whether they can differntiate .Net languages from other HLL
  4. Explain some .Net features and ask how they will achive them using C#/VB.Net (ex: Reflection, Genrics, property)
  5. Make sure that they can very-well pick-up if they given chance to work.


How about asking which strengths and weaknesses do she sees in each language? What would make one more appropriate than the other?

Note that while one could say that she isn't so familiar as to know an answer, that in itself can be a fine answer. Part of what you are wanting to see is their ability to communicate either technical arguments for or against something or an ability to say, "Well, I don't have enough experience to give a thorough answer on this."


I usually interview people for c# developer role. I have found questions at the following URL very helpful for Junior, Mid and Senior developers. You can find a variety of c# interview questions segregated by topic. Here is the URL C# Interview Questions

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号