PS Framework and Design Patterns Architecture

Test your knowledge of the PS presentation framework architecture and fundamental software design patterns including MVC, Singleton, and Observer patterns.

20 Questions Published

Questions

Question 1 True/False

There is no method of implementing a Singleton class that permits inheritance.

  1. True
  2. False
Question 2 True/False

It is correct from a design point of view to make an object both an Observer and a Subject(Observable) at the same time.

  1. True
  2. False
Question 3 True/False

Design patterns provide developers with common nomenclature.

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

What is PS?

  1. Presentation Screens
  2. Re-Usable framework to develop Presentation Tier.
  3. Transaction Tier
  4. None of the above
Question 5 Multiple Choice (Single Answer)

Why do we need PS?

  1. To segregate developer responsibilities
  2. To get common look and feel
  3. To use and build on the existing framework
  4. All of the above
Question 6 Multiple Choice (Single Answer)

here we define the application flow?

  1. web.xml
  2. AS.xml
  3. PS.xml
  4. AC.xml
Question 7 Multiple Choice (Single Answer)

Which of the following will perform the model update?

  1. Action Servlet
  2. Action Controller
  3. JSP
  4. All of the above
Question 8 Multiple Choice (Single Answer)

Which of the following services are provided by PS?

  1. Message Display Services
  2. Security Services
  3. Session Management
  4. All of the above
Question 9 Multiple Choice (Single Answer)

Which component represented by the Action Controller in PS?

  1. Controller
  2. View
  3. Model
  4. None of the above
Question 10 Multiple Choice (Single Answer)

Where we define mapping between user attributes to LDO?

  1. metadata.xml
  2. map.xml
  3. ac.xml
  4. ps.xml
Question 11 Multiple Choice (Single Answer)

Which are the minimum methods need to be overridden in Action Controller?

  1. doInit()
  2. doUpdate()
  3. doPageAction()
  4. None of the above
Question 12 Multiple Choice (Single Answer)

Which method we get invoked on page load?

  1. doComplete()
  2. doCancel()
  3. doInit()
  4. doUpdate()
Question 13 Multiple Choice (Single Answer)

Where we need to store the data to get across the application?

  1. Request
  2. Cookie
  3. Application context
  4. Global Session
Question 14 Multiple Choice (Single Answer)

How many ps.xml’s can be defined for one application?

  1. >1
  2. 1
  3. 0
  4. None of the above
Question 15 Multiple Choice (Single Answer)

Which security level needs to be implemented for both session login and pin login?

  1. 0
  2. 1
  3. 2
  4. 3
Question 16 Multiple Choice (Single Answer)

Which component validates user input?

  1. Action Controller
  2. Action Servlet
  3. JSP
  4. PageHandler
Question 17 Multiple Choice (Single Answer)

In which component business services are invoked?

  1. Action Servlet
  2. Action Controller
  3. JSP
  4. PS.xml
Question 18 Multiple Choice (Single Answer)

Where we provide entries for external/supported jars for an application?

  1. Web.xml
  2. AC.xml
  3. Manifest
  4. None of the above
Question 19 Multiple Choice (Single Answer)

How many pages can be defined under each task in PS.xml?

  1. Only one
  2. More than one
  3. Zero
  4. None of the above
Question 20 Multiple Choice (Single Answer)

How many action controllers can be associated to each task in ps.xml?

  1. Only one
  2. More than one
  3. Zero
  4. None of the above