0

programming languages Online Quiz - 184

Description: programming languages Online Quiz - 184
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0
  1. A Java class encapsulating one or more advices.

  2. A child class inheriting properties of parent class

  3. A class that implements an interface

  4. Transaction handling capability of spring framework


Correct Option: A

Struts framework follows

  1. MVC

  2. View Model

  3. Small Talk

  4. Core page


Correct Option: A

What scopes are available in struts?

  1. session and request

  2. page, request and session

  3. page, request, session and application

  4. request, session and application


Correct Option: C
  1. Programming language

  2. Software architecture

  3. UI concept

  4. Networking Standard


Correct Option: B

Which of the following is a feature of the “Web service”, as the building block of SOA?

  1. Loose coupling

  2. Abstraction

  3. Testing

  4. Interdependency


Correct Option: A,B

A service provider creates and publishes Web services, together with their interface and access description

  1. True

  2. False


Correct Option: A

A service provider is also known as the “service registry”

  1. True

  2. False


Correct Option: B
  1. SOAP

  2. International standards

  3. XML

  4. UML


Correct Option: A,B,C

Which of the following are true about the Bridge and Adapter patterns?

  1. The Adapter pattern implements an interface known to its clients and provides an instance of a class not known to its clients.

  2. The Bridge pattern implements an interface known to its clients and provides an instance of a class not known to its clients.

  3. The Adapter pattern creates a separation between abstractions and classes that implement those abstractions.

  4. The Bridge pattern creates a separation between abstractions and classes that implement those abstractions.


Correct Option: A,D

When would you use the Visitor pattern?

  1. You need two unconnected objects to be able to send messages to each other.

  2. You need two connected objects to be able to send messages to each other.

  3. You need to create a new operation on an object and you will change the classes of elements on which it operates.

  4. You need to create a new operation on an object without changing the classes of elements on which it operates.


Correct Option: D
- Hide questions