Tag: architecture

Questions Related to architecture

  1. web.xml

  2. application.xml

  3. only a and b

  4. struts-config.xml


Correct Option: C

Which of the below is true about Inversion of control

  1. Allows the framework to have full control over the sequence of processing laying a strong foundation for work-flow processing

  2. Make sures that the calling objects takes the responsibility of flow control

  3. Guarantee the security

  4. Concerns about where it executes as it requires a handle on all the inputs and contexts it requires


Correct Option: A
  1. Frameworks, despite sometimes being complex if taken as a whole, bring simplicity to development by decomposing the problem space into separate elements

  2. Upgrade to frameworks will have negative impacts to the application development as they are generally not backward compatible

  3. The structure and design patterns provided by a framework ensure that your project is being built on solid ground, and help avoid these issues before they can occur

  4. Frameworks can provide security features which are often required for a common class of applications


Correct Option: B
  1. Application server

  2. Powerful tool box

  3. Development environment

  4. Finished application


Correct Option: B

Frameworks can be defined in number ways, in a nutshell, these are widely applicable set of reusable code. Frameworks can also be expressed as below except

  1. An abstraction in which common code providing generic functionality can be selectively overridden or specialized by user code, thus providing specific functionality

  2. A special case of software libraries in that they are reusable abstractions of code wrapped in a well-defined Application Programming Interface

  3. A collection of resources to generate the code to achieve a generic functionality

  4. A template to show how things should be done consistently


Correct Option: C
  1. When the application already exists and requires maintenance

  2. Number of applications are required to be developed within a specific problem domain

  3. Applications that use the common services provided by frameworks

  4. None of the above


Correct Option: A
  1. Library will have a default behaviour whereas frameworks will not have a default behaviour

  2. Library can be extended easily whereas extending framework is complex and resource consuming

  3. Library code, in general, is not allowed to be modified

  4. The program's flow of control is dictated by the framework


Correct Option: D
  1. Frameworks often require a significant education to use efficiently and correctly

  2. Frameworks cause performance impacts to applications as it checks for various scenarios to determine a path of action

  3. Bugs and security issues in a framework can affect every application using that framework

  4. Functionality which needs to bypass or work around deficiencies in a framework can cause more programming issues than developing the full functionality in the first place


Correct Option: B