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
Questions
A is a software unit whose functionality and Dependencies are completely defined by its .
- Object, Class
- Component, Interfaces.
- Component, Class
- Class, Component
In Master Craft, the component name can have at the most characters.
- 8
- 10
- 12
- 14
Which of the following is a disadvantage of CBD?
- Reusable
- Time Effective
- Cost Effective
- Integration
A Component can retrieve latest versions of a Component from MSP by action .
- View Model
- Check New Supplier Model
- Fetch New Shared Model
- Define Dependence
These Objects can be put on Interface of a component
- Class and Operation
- Class and Query
- Class, Operation and Query
- Only Operation
Fetch New Shared Model action performs fetch on .
- All dependent components of this component
- All components in workspace
- All components on which this component is dependent
- Only selective components as per choice
Component implementations are visible to all other components.
- True
- False
What is the default value for an INITIALIZE?
- All Blank values
- Zeroes to INT and spaces to ALPHA
- Spaces to INT and Zeroes to ALPHA
- Zeroes to INT and BLANK to ALPHA
What keyword allows for an override of the default?
- INIT
- REPLACE
- ASSIGN
- SET
Which of the following statements is true?
- CONTINUE statement gives control to the verb following the next period.
- NEXT SENTENCE gives control to the verb after the explicit scope terminator.
- CONTINUE gives control to the verb after the explicit scope terminator.
- None of the above
What COBOL construct is the COBOL II EVALUATE meant to replace?
- EXAMINE
- IF THEN ELSE
- EXHIBIT
- None of the above
In an EVALUATE statement, the order of the WHEN clause is significant.
- True
- False
With respect to CBD, which one of the below statements is correct?
- Used to assemble software system from the existing Software components.
- Used to develop new component.
- Both
- None
The specifies how interfaces should be defined and the elements that should be Included in an interface definition.
- Object Model
- Class Model
- Component Model
- System Model
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 -
- oper1->canBeInvokedBy->oper2
- oper1-> InterModuleCallFrom->oper2
- oper1->owner->oper2
- oper1->InterModuleCall->oper2
Validate User Model action validates
- Construction level defects
- Design level defects
- Analysis level defects
- Testing defects
What is Model Shared Pool (MSP)?
- Common place on build server to store Q++ code versions
- Common place in version control system to store Q++ code versions
- Common place in Model to store Component versions
- Common place in Model to store Component Interfaces
What are essentials for component development? Select all that apply.
- Independent components specified by their interfaces.
- Component standards to facilitate component integration.
- Middle ware that provide supports for component interoperability.
- A development process that is geared to reuse.
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- b, 2- c, 3- a
- 1- c, 2- a, 3- b
- 1- a, 2- c, 3- b
- 1- a, 2- b, 3- c
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- c, 2- a, 3- b
- 1- a, 2- b, 3- c
- 1- b, 2- c, 3- a
- 1- a, 2- c, 3- b