Jump to content
  • Advertisement
Sign in to follow this  
51mon

C++ Questionnaire

This topic is 3552 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I got a C++ test for a game job in a few hour. My C++ feels a bit rusty. Does anybody know of some good questionnaires laying around on the internet. Thanks

Share this post


Link to post
Share on other sites
Advertisement
You might want to check out this site: C++ Tutorial. It's great for brushing up on your skills because it covers a lot of advanced topics in C++. Anyways, I got a questionare for you. See if you can answer it.

How do you instantiate a template?

Derive an exception.

Who is the father of C++?

Describe how you would implement polymorphism in C++?

If you are using multiple inheritance then how would you call a super class function.

Describe virtualization.

Share this post


Link to post
Share on other sites
Washu's C++ quizzes. Start at the bottom of the bottom of the page and work your way upward. Not every quiz has an 'aftermath' post, though: these were on his Gamedev journal, but I couldn't find it with a very quick Google.

These err more on the side of technical details about the language itself rather than design issues, though.

Share this post


Link to post
Share on other sites
Quote:

http://gotw.ca

Definitely.

Quote:

Who is the father of C++?

This is irrelevant.

Quote:

If you are using multiple inheritance then how would you call a super class function.

The term is 'base class' in C++, most of the time.

Quote:

Describe virtualization.

The term 'virtualization' typically means something entirely different from 'virtual functions,' which is what I assume you're after, and you should use the latter since it is the more common and expected terminology.

Quote:

Washu's C++ quizzes. Start at the bottom of the bottom of the page and work your way upward. Not every quiz has an 'aftermath' post, though: these were on his Gamedev journal, but I couldn't find it with a very quick Google.

These err more on the side of technical details about the language itself rather than design issues, though.

Washu's quizzes are great, are at the same time I wouldn't feel too bad if you can't get them, as most people cannot, including many of the people who would interview you.

You probably won't learn anything new in a few hours that you'll be able to apply (without looking like you just crammed for it), but hopefully reviewing the material will help solidify the things you do really know. Let us know how it goes.

Share this post


Link to post
Share on other sites
Quote:
Original post by 51mon
I got a C++ test for a game job in a few hour.


Go get a lunch, take a little nap, maybe take a walk.

Share this post


Link to post
Share on other sites
Quote:
Original post by jpetrie
Quote:
Original post by TheUnbeliever
Washu's C++ quizzes. Start at the bottom of the bottom of the page and work your way upward. Not every quiz has an 'aftermath' post, though: these were on his Gamedev journal, but I couldn't find it with a very quick Google.

These err more on the side of technical details about the language itself rather than design issues, though.

Washu's quizzes are great, are at the same time I wouldn't feel too bad if you can't get them, as most people cannot, including many of the people who would interview you.
Out of the 19 questions, I believe I got maybe one and a half of them. And one of those was question 2 in the first quiz, which is by far the easiest. My eyes glazed over just trying to read some of the code, let alone trying to understand what was happening.

Share this post


Link to post
Share on other sites
Quote:
Original post by jpetrie
Quote:

Who is the father of C++?

This is irrelevant.


It's probably not irrelevant if the interviewer asks this and the interviewer doesn't get a job because he can't answer it. Actually, I doubt (and hope) someone wouldn't get a job because of not being able to answer that and indeed, even if it is asked you are right it's irrelevant (I know what you really meant/not trying to be picky).

My point: Aren't C++ interview tests annoying, because quite often they have at least some questions that should be irrelevant. My biggest fear in taking a test is that someone puts something in it that is important to them, but completely irrelevant in the real world, or at worst case is something that can be corrected by asking them to read an item in C++ FAQ's or Effective C++. i.e. the fact that someone doesn't know about said topic shouldn't be an issue and is not worth judging them on.

Besides...Who is the father of C++? I can think of two answers here so I'm not sure what I would actually reply correctly. It's either 'Stroustrup' or 'C', right? :-)

Share this post


Link to post
Share on other sites
Quote:

It's probably not irrelevant if the interviewer asks this and the interviewer doesn't get a job because he can't answer it. Actually, I doubt (and hope) someone wouldn't get a job because of not being able to answer that and indeed, even if it is asked you are right it's irrelevant (I know what you really meant/not trying to be picky).

Right, it's irrelevant because whether or not you know it has zero bearing on what your skill level with C++ is. And anybody who won't hire you because you don't know the answer isn't worth working for, in my opinion. Remember you're interviewing them, too.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!