This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes Pattern Interview questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Pattern Interview questions" Watch "Pattern Interview questions" New topic
Author

Pattern Interview questions

Lee Xu
Ranch Hand

Joined: Aug 24, 2001
Posts: 77
Does anyone have pattern/UML related interview questions? Thanks
Mark Herschberg
Sheriff

Joined: Dec 04, 2000
Posts: 6037
Generally, what I have been asked, and what I ask in turn, is simply to describe some patterns.
The most common one people ask about is Factory/Abstract Factory. Listener and Iterator are common, too. Often you will be asked to give an example, and/or to cite an example from the Java APIs.

--Mark
Michal Harezlak
Ranch Hand

Joined: Jul 06, 2000
Posts: 185
I usually ask about "personal "expiries and usage of patters. "Just tell me what you did and why."
Matts Smith
Ranch Hand

Joined: Feb 03, 2001
Posts: 113
quote from my last interview :
"Do you know UML?"
-Yes I cleared 486, look on my resume, it covers notation and design.
"next question."
This does not answer your question but from my experience, if you have the certification and you look like you know, they assume you know.
Alan Shalloway
Ranch Hand

Joined: Sep 26, 2001
Posts: 60
Originally posted by Lee Xu:
Does anyone have pattern/UML related interview questions? Thanks

Thought I'd describe how I use the UML since I do use patterns quite a lot. Personally, I dislike the UML. On the other hand, I won't work on a project without it. Sounds like a contradiction? Well, yes and no. What I don't like about the UML is that it is too implementation oriented. I believe it should be much more conceptually oriented and that's how I use it. I just like a model to give me a general understandin of what is happening, what's the architecture. Details like class members are the class' business. I shouldn't see them from outside the class. THis breaks the OO mandate that objects are responsible for themselves.
On the other hand, not using UML means I can only see what's going on from text or code. Both too hard to get a big picture from. If no one has taken the time to write down the architecture at least at a conceptual level, then I get very nervous.

------------------
Alan Shalloway,
Look for Jim Trott and my book: Design Patterns Explained
Visit our site Net Objectives.
Visit our on-line companion to the book


Alan Shalloway.<BR>Look for Jim Trott and my book: <A HREF="http://www.amazon.com/exec/obidos/ASIN/0201715945/ref=ase_electricporkchop/103-0514572-3811868" TARGET=_blank rel="nofollow">Design Patterns Explained</A><BR>Visit our site <A HREF="http://www.netobjectives.com" TARGET=_blank rel="nofollow">Net Objectives</A>.<BR>Visit our <A HREF="http://www.netobjectives.com/dpexplained/index.html" TARGET=_blank rel="nofollow">Design Patterns Explained Community of Practice</A><BR>Check out our <A HREF="http://www.netobjectives.com/xml/xml_cdrom_info.htm" TARGET=_blank rel="nofollow">CDROM based audio training in XML</A>
Michal Harezlak
Ranch Hand

Joined: Jul 06, 2000
Posts: 185
Originally posted by Alan Shalloway:
What I don't like about the UML is that it is too implementation oriented. I believe it should be much more conceptually oriented and that's how I use it.

IMHO: That is the beauty of the UML. It is meta-language after all. Although I often find my self in position when I treat diagrams (specially conceptual class diagrams at early inception) from implementation point of view. I think it is sort of professional deviation as I am use to thinking about classes as of types in OO programming sense rather then in the real world meaning of class.
Bala Raj
Ranch Hand

Joined: Sep 12, 2000
Posts: 75
Hi,
I am new to Patterns. Do I need to know UML in order to learn Design Patterns?
Thanks,
Bala.
Bhagvan K
Greenhorn

Joined: Sep 12, 2001
Posts: 13

Basic UML will help you out surely in understanding of the examples specified in books on design patterns. You can pick
martin folwer's uml distilled or craig larman's applying uml and patterns.
Iain Lowe
Greenhorn

Joined: Sep 07, 2001
Posts: 12
Originally posted by Bala Rajamani:
Hi,
I am new to Patterns. Do I need to know UML in order to learn Design Patterns?

UML can be used to represent a pattern but it is absolutely not necessary to know UML to learn about Design Patterns. For more information on patterns, check out http://www.hillside.net/patternsmain.htm for the Hillside patterns group's pages and http://www.c2.com/cgi/wiki?PortlandPatternRepository for the Portland Pattern Repository wiki.
If you want to be really hardcore, you can go and pick up a copy of Design Patterns: Elements of reusable software (I think that's the exact title) by Gamma, Vlissides, Helm and Johnson.
[This message has been edited by Iain Lowe (edited October 03, 2001).]
David Kane
Ranch Hand

Joined: Sep 20, 2001
Posts: 65
When I interview people the conversation goes something like:
* Are you familiar with Design Patterns?
* Can you share with me an example of a pattern you used, and why you used it?
I am sometimes amazed by the gulf between the two questions.
I don't usually try to pin people on the details of a particular pattern.
David
------------------
David Kane
david_kane@houseofyin.com
Author of Software Architecture: Organizational Principles and Patterns
http://www.vraps.com
http://www.houseofyin.com


David Kane<BR> <A HREF="mailto:david_kane@houseofyin.com" rel="nofollow">david_kane@houseofyin.com</A> <BR>Author of <A HREF="http://www.amazon.com/exec/obidos/ASIN/0130290327/ref=ase_electricporkchop/103-0514572-3811868" TARGET=_blank rel="nofollow">Software Architecture: Organizational Principles and Patterns</A><BR><A HREF="http://www.vraps.com" TARGET=_blank rel="nofollow">http://www.vraps.com</A><BR><A HREF="http://www.houseofyin.com" TARGET=_blank rel="nofollow">http://www.houseofyin.com</A>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Pattern Interview questions
 
Similar Threads
amazon interview
Funny Interview Questions
About [company XYZ], bangalore - Very Urgent ...
how many struts-config, validator xml file are there in an application
Interview questions on websphere