Which of the following statements describes the Controller principle of the GRASP approach to object-oriented design?

All QuestionsCategory: Cpp LanguageWhich of the following statements describes the Controller principle of the GRASP approach to object-oriented design?
Anonymous asked 4 years ago

Options:

  1. The user interface objects deal with receiving and handling events initiated by the user
  2. A controller object receives a request and assigns it to the proper object
  3. The user interface objects deal with presenting information to the user
  4. The user interface that the user sees is separated from the business logic
  5. The work is separated into different layers depending on what it is responsible for
  6. The user interface objects deliver requests directly to the proper object

1 Answers
Best Answer
Anonymous answered 4 years ago
  1. The user interface objects deal with receiving and handling events initiated by the user
  2. A controller object receives a request and assigns it to the proper object
  3. The user interface objects deal with presenting information to the user
  4. The user interface that the user sees is separated from the business logic
  5. The work is separated into different layers depending on what it is responsible for