4.Which of the following design patterns is used to separate the task of writing the GUI screens and business logic? Select 1 correct option. A.View Logic B.Front Controller C.Model View Controller D.Business View E.Business Delegate
My answer is B and C.But the mock exam gave the answer as only Front Controller. Even MVC pattern separates business logic and presentation logic. Please let me know,if I'm wrong.
I agree with Marc. I see very little in the question (what we call the "stem") that relates to the Front Controller pattern. The FC pattern primarily concerned with handling common "infrastructure" tasks that all of your HTTP requests need to process. But "separation of business from presentation logic" falls more in line with the MVC pattern.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop