Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Questions on MVC and Class name collisons.

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
These questions came up in the previous posts. But, I think the new mock test added more options. So, I thought we could review thest question in light of these new options:
Benefits resulting from designing and implementing layered application components include: (choose two)
a) reduced initial design time.
b) reduced time for initial development cycle.
c) Reduction of GUI layer changes impacting the model layer
d) maintainability and reuse of the application components
I think the answers are (c) and (d).
-----------------------------------------------
Which one of the following is a good strategy for resolving class name collisions that occur during OO analysis? (choose one)
a)Allow each team member to choose a preferred name
b)Create a class for each domain name, passing on requests to the one class that implements the behavior for all of them to share.
c)Discover better names for different concepts that are referred by the same term
d)Put the classes into different packages so that the fully qualified class names are different
I think they added option (d). But I still think the answer is (c) because it is during 'OO Analysis'.
Please comment.
Thanks.
 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
#1) I agree with your answers : (c) & (d)
Reasoning : Options (a) & (b) do not hold good, since layered application does not reduce initial design or development time.

#2) During OO Analysis, we will be working at a Conceptual level, hence (c) sounds good to me. If the question had specified, "during OO Design", then I would definitely vote for (d).
Hope it helps.
 
I'm so happy! And I wish to make this tiny ad happy too:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic