Advertisement

12.19.2005 at 07:32AM PST, ID: 21669276
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.4

Are my interview questions too hard?

Asked by wayside in C++ Programming Language

Tags: ,

We're having some debate at my company about whether the technical questions I ask during an interview are too hard or are not effective at determining a candidate's qualifications, so I'd like to get some feedback from the EE collective. Sorry for the length.

The candidates we've been interviewing recently are for a senior-level (10+ years experience)  developer, who will be coding primarily in c++.

===============================

1) What is polymorphism? Use an example to define it if you like.

2) What is a copy constructor? Why are they important?

3) What is the difference between a modal dialog and a modeless dialog?

4) What is the difference between the PostMessage() and SendMessage() api's?

5) What is wrong with this piece of code?

class A {
   private:
       int x, y;
 
   public:
      A():y(0), x(y)
      {
      }
}

After they figure that out, I ask: what are the advantages of using member-list initialization? When do you *have* to use it?

6) What does the following code output?

class A {
  public:
  A() { printf("constructor A\n"); }
  ~A() { printf("destructor A\n"); }
};

class B: public A {
  public:
  B() { printf("constructor B\n"); }
  ~B() { printf("destructor B\n"); }
};

class C: public B {
  public:
  C() { printf("constructor C\n"); }
  ~C() { printf("destructor C\n"); }
};

void main()
{
   C myobj;
}

void main()
{
   A* myobj = new C;
   delete myobj;
}

(this can lead to a nice discussion about why destructors need to be virtual).

7) What are design patterns?

(If they don't know I give a one-sentence explanation).

What is a Singleton?

(If they don't know I describe what it is).

Go up to the white board and implement one.

(This is the most difficult part, and I will ask leading questions and give them hints to get them to the solution. Mostly I'm trying to get a sense of how their thought processes work, see if they can ask intelligent questions, admit when they are stuck or don't know something, etc).

After they get a reasonable solution, I ask:

Is your implementation thread-safe? How do you make it thread-safe? How can you structure the code so that you only have to do the synchronization once ever?

If there is time, we talk about deletion strategies for cleaning up the singleton when the program ends.

==========================

The goal of course is to make sure the candidate has some level of c++ expertise, can think on their feet, can work through a problem, etc.

I welcome all opinions about whether these questions are reasonable and effective at determining whether someone is a good programmer.

Points will be split amongst all who respond.

Thanks.Start Free Trial
 
Loading Advertisement...
 
[+][-]12.19.2005 at 07:38AM PST, ID: 15511399

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]12.19.2005 at 07:40AM PST, ID: 15511416

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]12.19.2005 at 07:47AM PST, ID: 15511493

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]12.19.2005 at 08:07AM PST, ID: 15511684

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]12.19.2005 at 08:27AM PST, ID: 15511859

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]12.19.2005 at 08:29AM PST, ID: 15511879

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]12.19.2005 at 09:52AM PST, ID: 15512465

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.19.2005 at 11:37AM PST, ID: 15513494

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: C++ Programming Language
Tags: questions, interview
Sign Up Now!
Solution Provided By: itsmeandnobodyelse
Participating Experts: 9
Solution Grade: A
 
 
[+][-]12.19.2005 at 12:53PM PST, ID: 15514088

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.19.2005 at 01:12PM PST, ID: 15514220

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.19.2005 at 01:21PM PST, ID: 15514282

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.19.2005 at 01:36PM PST, ID: 15514397

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.19.2005 at 03:50PM PST, ID: 15515302

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]12.19.2005 at 06:38PM PST, ID: 15516065

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.19.2005 at 07:00PM PST, ID: 15516130

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.19.2005 at 08:10PM PST, ID: 15516365

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.19.2005 at 08:16PM PST, ID: 15516390

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.19.2005 at 08:18PM PST, ID: 15516397

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.20.2005 at 12:22AM PST, ID: 15516989

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.20.2005 at 01:33AM PST, ID: 15517171

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.20.2005 at 06:28AM PST, ID: 15518500

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.20.2005 at 11:17AM PST, ID: 15521029

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]12.20.2005 at 11:29PM PST, ID: 15524578

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.21.2005 at 07:13AM PST, ID: 15526726

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32