Software Architecture: UML, MVC, and Enterprise Patterns

Quiz covering software architecture fundamentals including UML modeling, MVC design patterns, Java EE components, and enterprise application architecture

18 Questions Published

Questions

Question 1 Multiple Choice (Multiple Answers)

Which of the following are NOT true about 2-tier architecture models ?

  1. Clients may be validation intensive,consequently requiring powerful hardware
  2. Any change to one tier typically affects both tiers
  3. Represents a single point of failure
  4. Each client makes a direct connection with the server
  5. They are not very maintainable
  6. They are quite manageable
Question 2 True/False

MVC2 removes the page centeric property. True/False?

  1. True
  2. False
Question 3 Multiple Choice (Multiple Answers)

What are the different scope values for the jsp:useBean?

  1. Request
  2. Session
  3. Application
  4. Page
  5. All
Question 4 True/False

MVC1 is used for small scale aplication and MVC2 is used for large scale application. True or false?

  1. True
  2. False
Question 5 Multiple Choice (Single Answer)

In MVC1 controller is _____________

  1. JSP
  2. Servlet
  3. Both
  4. None of the above
Question 6 Multiple Choice (Single Answer)

Which one is servlet centric architecture?

  1. MVC2
  2. MVC1
  3. Both
  4. None of the above
Question 7 Multiple Choice (Single Answer)

In MVC2 controller is _____________

  1. JSP
  2. Servlet
  3. Both
  4. None of the above
Question 8 Multiple Choice (Single Answer)

Which one is page centeric architecture?

  1. MVC1
  2. MVC2
  3. MVC
  4. MVC1 & MVC2
Question 9 Multiple Choice (Multiple Answers)

Structs framework cam implement ___________ model(s).

  1. MVC1
  2. MVC2
  3. MVC
  4. Both
Question 10 Multiple Choice (Single Answer)

MVC is a _______________

  1. Design pattern
  2. Framework
  3. Architecture
  4. All The Above
Question 11 Multiple Choice (Single Answer)

Which of the following is not related to UML?

  1. Actors
  2. Use Case
  3. Events
  4. Stake Holder
Question 12 Multiple Choice (Single Answer)

In UML which graphic object is used to represent use case?

  1. oval
  2. square
  3. rectangle
  4. triangle
Question 13 True/False

Use case is defined as “a set of actions performed by a system, which yields an observable result that is, typically, of value for one or more actors or other stakeholders of the system.”

  1. True
  2. False
Question 14 Multiple Choice (Multiple Answers)

UML user guide was designed by three programmers.. Identify them?

  1. Booch
  2. Rumbaugh
  3. Lyons
  4. Jacobson
Question 15 Multiple Choice (Single Answer)

Parts of UML are..

  1. views
  2. diagrams
  3. model elements
  4. all the above
Question 16 Multiple Choice (Multiple Answers)

What is the difference between stateful session beans and entity beans?

  1. Stateful session beans can survive a server crash but entity beans can't.
  2. Entity beans can survive a server crash but stateful session beans can't.
  3. Session beans are typically used to make calls on entity beans.
  4. Entity beans are typically used to make calls on session beans.
Question 17 Multiple Choice (Multiple Answers)

The Enterprise Java Bean 2.0 specification has introduced the notion of local Clients. What are local Clients and why were they introduced?

  1. Local Clients should be used when the web server is running on the same machine as the application server.
  2. Local Clients should be used when session beans need to communicate with entity beans.
  3. Beans deployed in the same Virtual Machine as the client should use local Clients.
  4. Local Clients have been introduced to make testing code easier.
  5. Local Clients have been introduced to improve maintainability
  6. Local Clients have been introduced to improve performance.
Question 18 Multiple Choice (Single Answer)

Which of the following are disadvantages of ORM Frameworks?

  1. Usage of ORM Frameworks requires complex coding.
  2. ORM Frameworks reduce development times
  3. Manageability of application decreases
  4. Requires specialized resources.