|
Home > Archive > Certified Internet Webmaster - CIW > November 2001 > OOAD Questions
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| John Bakker 2001-10-26, 4:07 am |
| I recently failed for Object oriented analysis and design part of the CIW developer track.
This exam has 55 questions 70% score and 2 hours to get it done. Also multiple-multiple answers so one, two three or four answers could be right just like the Sun SCJP2.
You need to define:
polymorphism,abstraction, encapsulation,the software developement life cylces, must be able to understand all UML diagrams.
The questions are build nearly all the same;
1. case that describes a company
2. question + possible answers(3 to 6)
3. exhibit with any kind of diagram
4. exhibit with description of diagram
5. pick one, all or a number of good answer.
Now for all you that think to know the answers;
1) How often should globals be used in an OO system ?
a) depends on performance needs
b) zero always
c) sparingly,it at all
d) there are no globals in OO systems
2) Classes should be grouped into packages by
a) project team organization
b) classes that are related to the same overall services
c) classes that work together in the same interaction diagrams
d) the class diagrams they appear in
3) Which of the following are synonyms ? (choose 2 answers)
a) subtyping and specialization
b) abstract class and interface
c) subclassing and subtyping
d) type and interface
4) When naming a class,it is most important that the name is:
a) agreed by development team,is that works on it ,and is easy to remember
b) meaningful to the development team and appears in the class dictionary
c) does not interfere with another class
d) unique | |
| Hacker 2001-10-26, 4:53 am |
| John, most of us here are system administrators, and I believe that programmers number only a handful here. Unfortunately, the answers to your questions might not be answered at all! | |
| The Ghost 2001-11-02, 6:27 am |
| hi John,
I think I might know some answers, I did attend the last RR's online UML seminar.
Definition of Polymorphism :
That's not very hard. Polymorphism is when some different elements(usually objects) act diferrently using the same abstract elements.
Asbtraction :
When you force the derived elements to implement the abstracted element(usually methods and classes).
Encapsulation :
Oooh I love this one. Encapsulation is obviously when everything is hidden and the process flows with the internal framwork. The best example of it is, stating all your access modifiers to 'private' for your class' instances.
Software development life cycles :
That can be real long and I might inform you worng so I am not going to attemp to describe that.
For the questions :
1 - hmm I might be wrong so I don't knwo the answer.
2 - ok I have desiged a number of java's api packages onto images so I know that c and d are out of the question. a , well there are no conventions for that which makes it wrong. Finally the answer b will be correct. To prove it you can visit here and see a package's diagram itself and figure out why the answer is b and I am sure you won't argue with Sun. 
3 - B. Abstract class and an interface is almost the same thing which is forcing subclass implentations. I dont know what specialization actually means.
4 - hmmm, I would say b. Some options looks a bit missing though.
Hope that helps. | |
| John Bakker 2001-11-02, 6:54 am |
| That's great Ghost you really did a good job and some fine info on you site as well!!
This will help.
For the SCJP2 these were the only normal questions; the rest was with code and exhibit and lots of code | |
| The Ghost 2001-11-02, 12:15 pm |
| SCJP... I took the exam like 2 or 3 days before yours I think and trust me out of 6 people I knew of who took the exam that week failed. There were even some failures on the board, remember?.
And I confirmed with some who took the exam and noticed that it was the same pool. Now let's talk about my exam which was probably the same you got and the rest. Man it was HARD!! The first 11 q's were of Threads and they were all with exhibits and some long and long code, some even had some freaky type of code which you never see anywhere... for example a Thread instantiation with an anonymous class... it was weird and it was a very hard exam.I had to totally concentrate on it 100 percent and there were 2 questions which had no correct answers and you had to select the options and yes they had 0 correct choices... It was a hard test, after so much of draggin and laggin I got 86 but it was a very hard exam. You had a real tough luck!
better luck next time though but you no what to expect . | |
| John Bakker 2001-11-03, 8:49 am |
| Thanx Salman! |
|
|
|
|