A ___ separates an application into layers, typically presentation, application logic and data, with each layer running…