Component-Based Development and COBOL Programming

Quiz covering Component-Based Development (CBD) principles, component architecture concepts, Master Craft tool usage, and COBOL II language features including EVALUATE, CONTINUE, INITIALIZE, and REPLACE statements

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

A is a software unit whose functionality and Dependencies are completely defined by its .

  1. Object, Class
  2. Component, Interfaces.
  3. Component, Class
  4. Class, Component
Question 2 Multiple Choice (Single Answer)

In Master Craft, the component name can have at the most characters.

  1. 8
  2. 10
  3. 12
  4. 14
Question 3 Multiple Choice (Single Answer)

Which of the following is a disadvantage of CBD?

  1. Reusable
  2. Time Effective
  3. Cost Effective
  4. Integration
Question 4 Multiple Choice (Single Answer)

A Component can retrieve latest versions of a Component from MSP by action .

  1. View Model
  2. Check New Supplier Model
  3. Fetch New Shared Model
  4. Define Dependence
Question 5 Multiple Choice (Single Answer)

These Objects can be put on Interface of a component

  1. Class and Operation
  2. Class and Query
  3. Class, Operation and Query
  4. Only Operation
Question 6 Multiple Choice (Single Answer)

Fetch New Shared Model action performs fetch on .

  1. All dependent components of this component
  2. All components in workspace
  3. All components on which this component is dependent
  4. Only selective components as per choice
Question 7 True/False

Component implementations are visible to all other components.

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

What is the default value for an INITIALIZE?

  1. All Blank values
  2. Zeroes to INT and spaces to ALPHA
  3. Spaces to INT and Zeroes to ALPHA
  4. Zeroes to INT and BLANK to ALPHA
Question 9 Multiple Choice (Single Answer)

What keyword allows for an override of the default?

  1. INIT
  2. REPLACE
  3. ASSIGN
  4. SET
Question 10 Multiple Choice (Single Answer)

Which of the following statements is true?

  1. CONTINUE statement gives control to the verb following the next period.
  2. NEXT SENTENCE gives control to the verb after the explicit scope terminator.
  3. CONTINUE gives control to the verb after the explicit scope terminator.
  4. None of the above
Question 11 Multiple Choice (Single Answer)

What COBOL construct is the COBOL II EVALUATE meant to replace?

  1. EXAMINE
  2. IF THEN ELSE
  3. EXHIBIT
  4. None of the above
Question 12 True/False

In an EVALUATE statement, the order of the WHEN clause is significant.

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

With respect to CBD, which one of the below statements is correct?

  1. Used to assemble software system from the existing Software components.
  2. Used to develop new component.
  3. Both
  4. None
Question 14 Multiple Choice (Single Answer)

The specifies how interfaces should be defined and the elements that should be Included in an interface definition.

  1. Object Model
  2. Class Model
  3. Component Model
  4. System Model
Question 15 Multiple Choice (Single Answer)

An Operation oper1 modeled in Component A Wants to call an Operation oper2 modeled in Component B, what association needs to be Modeled between two -

  1. oper1->canBeInvokedBy->oper2
  2. oper1-> InterModuleCallFrom->oper2
  3. oper1->owner->oper2
  4. oper1->InterModuleCall->oper2
Question 16 Multiple Choice (Single Answer)

Validate User Model action validates

  1. Construction level defects
  2. Design level defects
  3. Analysis level defects
  4. Testing defects
Question 17 Multiple Choice (Single Answer)

What is Model Shared Pool (MSP)?

  1. Common place on build server to store Q++ code versions
  2. Common place in version control system to store Q++ code versions
  3. Common place in Model to store Component versions
  4. Common place in Model to store Component Interfaces
Question 18 Multiple Choice (Multiple Answers)

What are essentials for component development? Select all that apply.

  1. Independent components specified by their interfaces.
  2. Component standards to facilitate component integration.
  3. Middle ware that provide supports for component interoperability.
  4. A development process that is geared to reuse.
Question 19 Multiple Choice (Single Answer)

Match the below component evaluation phase with the Corresponding system development phase. System Development Component Evaluation 1. Analysis a. Select 2. Design b. Adapt 3. Implementation c. Find

  1. 1- b, 2- c, 3- a
  2. 1- c, 2- a, 3- b
  3. 1- a, 2- c, 3- b
  4. 1- a, 2- b, 3- c
Question 20 Multiple Choice (Single Answer)

Match the following 1. Component Qualification a. Assure that the component integrates easily in the architecture. 2. Component Adaption b. Assembling of qualified, adapted or engineered components. 3. Component Composition c. Checking of whether the selected component can be used effectively

  1. 1- c, 2- a, 3- b
  2. 1- a, 2- b, 3- c
  3. 1- b, 2- c, 3- a
  4. 1- a, 2- c, 3- b