The psycholofy of the question is this: sometimes a card is just a card and has nothing to do with programming. The ability to abstract, that is, to apply aspects of object-oriented programming to the image of a deck of cards, well it is not programming.
Programming is a left-brain exercise; the use of an illustration such as a deck of cards involves the right brain.
One doesn't necessarily have anything whatsoever to do with the other.
I am of the opinion that, if you want to ask a question about OOP, ask a question about OOP, not about something abstract like how it relates to a deck of cards. That way, you will actually determine the candidate's knowledge of OOP.
Besides, in this day and age, it might be politically incorrect to ask about cards, because cards could be either gambling or prognostication, and potentially in violation of the applicant's religion.
But that's just my opinion.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only