Re: MFC Interview Tests
On Mar 19, 7:16 am, "Tony Montana" <drp...@hotmail.com> wrote:
I imagine this would be the right place to test my tests. I appreciate an=
y
feedback on the following.
I'm interviewing for an MFC position and I use the following to test
candidates. Unfortunately, just about all candidates cannot pass the test=
,
so I wonder if the tests are appropriate or I'm just not getting the righ=
t
candidates. The position is for an MFC programmer who can take requiremen=
ts
and create applications mostly that connect to SQL and or do some file
manipulations.
1. I ask to correct and complete the following:
void swap(int* a, int b)
{
}
2. Next, complete and explain why this function is useless as is.
void Parse(const CString& strText, CStringArray straLines)
{
// strText contains comma-delimited text
}
3. Fill in the blanks
void ....
{
C_______ db;
db.Open(...);
C_______ tmp(&db);
tmp.Open(__________::forwardOnly, C_________::executeDirect);
C______ value;
tmp.GetFieldValue( ________________, value);
}
4. I hand a document with requirements to write an SDI Text Editor. This
editor is basically what you get when you complete the new application
wizard and select CEditView as the base class.
Shockingly, candidates seem to do ok with "swap" - anything else, they're
stumped. I help them along the way, explaining the tests in details as th=
ey
need. I do wonder, however, the validity of the test.
I appreciate any feedback, or perhaps, a test that you think would serve
better during an interview. Thanks!
I am not sure if these questions would make a difference. Concepts are
more important than the class names which can be easily found in
sample codes etc. What you should be testing is the core C++,
especially for a beginner/intermediate level position. If someone has
a good understanding of C++ and wants to learn, MFC is OK. There are
many who have understanding of MFC but not C++.
--
Ajay