Professional Documents
Culture Documents
Enterprise.Net (ICTCO40302)
Duration
: 03 hours
20 marks
c. MS Test
d. TestDriven.Net
11. In application development what is the practicality of using high cohesion and loose coupling
a. High cohesion: bad, Loose coupling: good
b. High cohesion: bad, Loose coupling: bad
c. High cohesion: good, Loose coupling: bad
d. High cohesion: good, Loose coupling: good
12. What is not a problem caused by dependency in code?
a. Code is tightly coupled
c. Difficult to isolate when testing
b. Code has low cohesion
d. Difficult to maintain
13. What is another term for Inversion of Control (IoC)?
a. Single Responsibility Principle
c. Hollywood Principle
b. Separation of Concerns Principle
d. Dependency Injection Principle
14. What is not an Inversion of Control tool?
a. Structure map
b. MS Unify
c. Spring.Net
d. Windsor container
80 marks
Q1.
(a)
(b)
(c)
(d)
(e)
Q2.
(a)
(b)
(c)
(d)
Q3.
(a)
(b)
(c)
(d)
(e)
Page 3 of 4
Q4.
(a) Why is managing dependencies in enterprise code important? By means of a high level
diagram interpret what it means.
(b) What are the three elements of a Dependency Injection (DI) pattern? By means of a diagram
explain how the traditional code defers from the Dependency Injected code
(c) What are patterns?
(d) What are the three parts of a pattern? What are the motivations for using patterns?
(e) List three patterns used under management of dependencies
Q5.
(a) Explain the purpose of the business logic layer? Provide three patterns used in the business
logic layer
(b) List down the strengths and weaknesses in one of the business logic layer pattern in (a)
(c) What is the purpose of the service layer in an enterprise application?
(d) What is Domain Driver Design (DDD)?
(e) Describe the following concepts in Domain Driven Design (DDD)
a. Entities
b. Value objects
c. Aggregates and aggregate roots
Q6.
(a)
(b)
(c)
(d)
(e)
What is the role of the data access layer in enterprise application architecture?
What are the issues in building our own data access layer in Microsoft?
Explain the role of an Object Relational Mapper (ORM). List down the ORMs you have learnt.
What is a data context?
What is the difference between data first and model first approach of software
development? Name a pattern used in each approach.
Q7.
(a) What is the purpose of the presentation layer in an enterprise application?
(b) Over the years, the front end has become very rich in appearance - Illustrate this
statement
(c) What is the problem associated with the front end in business applications?
(d) What are the benefits of Model-View-Controller (MVC) and Model-View-Presenter (MVP)
patterns?
(e) What are the differences between the Model-View-Controller (MVC) and Model-ViewPresenter (MVP) patterns?
Page 4 of 4