Ads
Links
Sample UML interview questions (what NOT to ask IMHO)
I was today glancing through several pages (like this one and this one ) collecting UML questions (supposedly) asked in real job interviews.
Assuming they are real questions, to me, they are clear examples of what NOT to ask in a job interview. What's the point in asking how many different diagrams exist in UML? or how to indicate static methods in UML class diagrams? or even worse, who developed and when the UML? .
A correct answer to these questions only proves that the candidate knows the UML notation but they are absolutely useless to determine if the candidate is good at modeling that, in fact, it is the only thing that really matters (or at least it should be IMHO). Everybody is able to memorize facts about a notation but, unfortunately, not everybody has the skills to apply it correctly on a given software project. For instance, as a UML instructor myself, I've seen many students completely unable to determine when a domain concept should be model as a class, when as an attribute or when as an association, even though they perfectly know the definition and graphical representation of each of these three constructs.
Btw, it is even more worrisome the fact that these questions can also be easily found in university exams. Some lecturers still don't get that they should teach modeling not UML!, UML is just a way to express models (and nowadays, only one of the many available alternatives for that).
Sorry for the rant but I feel a little bit better now.
If you enjoyed this post you can subscribe to this Software Modeling blog and/or follow me on twitter or through the portal's mailing list . And if you really liked it help me pass it on to others by bookmarking and sharing the post using the links below:

Delicious
Digg
StumbleUpon
Reddit
Facebook
Google
Yahoo
Technorati
OK, I'm convinced
Now, where's the book that talks about modeling rather than UML per se? Or the slides for three or four hour-long lectures that I could drop into an existing software engineering course? I'd be happy to test-drive them...
- Greg
A Good Book about starting to learn "modeling" over notation...
My choice (always) is: Applying UML and Patterns of Craig Larman ...
I use this book in class
This is usually the book I recommend to my students
I'd be happy too!
... I'll add this to my wish-list (the to-do list is already full)
But are we even sure how to
But are we even sure how to answer your modeling questions? E.g. "when a domain concept should be model as a class, when as an attribute or when as an association". My sense is that the answer varies and can be correct as any of the three.
I think we have a good sense for what is best practice in traditional programming -- e.g., what makes good C code -- but I don't think we have the same strengths in modeling. Other than pathological cases, could you assess two different UML models of the same problem and tell me which one was better? What are the criteria?
You raise a good point, though.
neil
I expect the candidate to be able to reason on the trade-offs
of each alternative at least. And btw, I'm not so convinced that for traditional programming we are always able to evaluate the "quality" of two similar programs (beyond comparing their efficiency in time). Can we really agree always on which is the best data type for a given variable? the best level of decomposition for a given function?