Tagged Questions
2
votes
3answers
464 views
When do you 'speak' C++ fluently? [closed]
I see that many companies require the same skill. This skill is often described as following:
"Applicants are required to speak C++ fluently."
I never really understand what fluent meant for ...
1
vote
2answers
1k views
Using the STL to solve interview questions? [closed]
If I'm undergoing a technical interview that's based on my C++ skills, would most companies allow or expect me to use STL containers to solve problems?
I think it's clear that if a question is ...
6
votes
7answers
990 views
Programming Interview : How to debug a program?
I was recently asked the following question in an interview :
How do you debug a C++ program ?
I started by explaining that programs may have syntax and semantic errors. Compiler reports the ...
3
votes
6answers
646 views
Learning good OOP design & unlearning some bad habits [duplicate]
Possible Duplicate:
What books or resources would you recommend to learn practical OO design and development concepts?
I have been mostly a C programmer so far in my career with knowledge ...
2
votes
4answers
355 views
what are some good interview questions for a position that consists of reviewing code for security vulnerabilities?
The position is an entry-level position that consists of reading C++ code and identifying lines of code that are vulnerable to buffer overflows, out-of-bounds reads, uncontrolled format strings, and a ...
7
votes
6answers
1k views
Is it OK to mix C and C++ in an interview?
If I am asked in an interview to write down some code, should I completely stick with C++ or is it acceptable to "mix" the two to write easy code as it comes to my mind?
I'll explain it: if I'm asked ...
1
vote
1answer
967 views
Missed question in technical phone interview and the follow up letter [closed]
I may have just bombed a C++ technical phone interview. The interviewer asked mostly about data structures and I was able to go into detail about each of the data structures he asked about. Score one ...
10
votes
3answers
731 views
How to handle interview questions on programming style
As a C++-programmer in interviews I repeatedly found myself in situations were the interviewer wanted to probe my knowledge of good programming style. These typically were centered around basic ...
1
vote
8answers
2k views
How to find siblings of a tree?
On my interview for an internship, I was asked following question:
On a whiteboard write the simplest algorithm with use of recursion which would take a root of a so called binary tree (so called ...
1
vote
4answers
381 views
How should I deal with nested compositions?
I came across the following question on a website for interviews:
Here are 3 products: table, chair and bench. Product can be of material: wood, metal, and plastic. Design class structures for ...
2
votes
3answers
660 views
interview for an internship but I think I may be unprepared
I have an interview for a C++ internship position. Now, the thing is I've taken two out of three quarters of the basic CS classes (in C++) at my community college and we covered the basics up to ...
10
votes
8answers
1k views
What should I expect from a technical evaluation for C++?
I have been asked to go for a technical test/evaluation for a job as a junior developer, mainly using C++. This is my first test/evaluation, and it is 2 hours long.
My C++ is a bit rusty as I have ...
6
votes
5answers
2k views
Is “Explain the RAII idiom” a good C++ screening question?
A company that I work with has asked me to do candidate phone screenings to make sure they aren't completely embarrassed when sending over someone to a potential client.
It turns out that a fair ...
1
vote
8answers
1k views
Should I choose C or C++ for an interview?
I know a bit of both C and C++. I am assuming that many people who know C++ also know C. I am wondering what language I should pick to code in during an interview.
C, because it's faster to make a ...
11
votes
10answers
2k views
Why is no C++ interview complete if it does not have vtable questions?
Frankly, I don't understand the practical importance of vtable. For me it is just a theoretical concept which needs to be mugged up since interviewer will ask it surely. Can anyone shed some light on ...
34
votes
7answers
2k views
C++ Interview question
This problem was given to me on previous job interview test. It is over now, but I would like to go through my mistakes and hopefully be more prepared next time!
// Identify as many bugs and ...
43
votes
16answers
7k views
Extremely trivial C++ phone interview question [closed]
My company is currently interviewing for a developer position, and a disturbingly high number of candidates with good resumes end up being total frauds. We do have a written technical test which works ...
1
vote
3answers
269 views
CRM in the context of C++ programming
I was asked by an employer about CRM in the context of C++ software development. The position I was applying for was C++ Software Engineer.
I told them: As far as I know, CRM is an acronym that ...
134
votes
20answers
23k views
Interesting interview question
Today I was asked this question. We have 2 cases with code blocks A, B and C. These code blocks don't share any resources except an iterator (int i).
Please give 3 possible reasons why case 1 could ...
6
votes
9answers
1k views
What should a C++ developer expect on an interview at a Rails company?
I have been working on C++ backend large scale apps for over 5 years. I'm doing TDD, using STL and Boost etc. I decided I need a change and about year ago started learning Ruby, and few months ago I ...
12
votes
11answers
3k views
Are these interview questions too difficult for entry-level C++ positions?
I recently had a few interviews for programming jobs within the financial industry. I am looking for entry-level positions as I specify in the cover letter. However I am usually asked questions such ...
44
votes
11answers
2k views
What can I do when the interviewer doesn't know the answer to his/her own question? [closed]
Yesterday I had a terrible experience in an interview.
Interviewer asked me about pure virtual function.
I said, It may or may not have definition in base class, but derived classes should provide ...
25
votes
17answers
15k views
What is the best C++ interview question? [closed]
If you could ask a C++ programmer one question to measure their C++ skills, what would it be?
The question I think is best is: Can you call "delete this;" inside a member function? (I put this as a ...
27
votes
20answers
3k views
C++ areas you look for during interview
If you are taking an interview of an candidate without any prior work experience and want to find out how good he/she is in C++ what are the areas you generally look for ?