0

mainframe Online Quiz - 27

Description: mainframe Online Quiz - 27
Number of Questions: 20
Created by:
Tags: mainframe
Attempted 0/20 Correct 0 Score 0

Which SQL statement is used to extract data from a database?

  1. OPEN

  2. GET

  3. INTO

  4. SELECT


Correct Option: D

After some initialization, a long running business process needs further input from the client. The process should only wait for a certain period of time. If that time has passed without further user input, default processing should start. Which BPEL construct can most effectively handle this situation?

  1. Receive choice with a timeout element

  2. Receive activity with a parallel wait activity

  3. Receive choice with a subsequent wait activity

  4. Receive activity with expiration properties defined


Correct Option: A

An integration developer is currently prototyping a composite application and is not sure what type of export that will eventually be used on the model assembly. The developer wants to deploy the application for unit testing. If the module is deployed with no binding defined for the export, what will occur?

  1. An SCA binding will be assumed.

  2. A Web Service binding will be assumed.

  3. A Stand-alone Reference will be generated.

  4. The developer will not be able to access the module.


Correct Option: A

A business rule applies a graduated discount rate based on an input customer's total purchases over the past year. How should the business rule be implemented?

  1. As a rule set

  2. As a rule group

  3. As a decision table

  4. As a business rule bean


Correct Option: A

Why would an integration developer select the "Requires Own" option on a BPEL activity?

  1. To force a retry of the current activity in case of an error

  2. To force a retry of the previous activities in case of an error

  3. To prevent a retry of the current activity in case of an error

  4. To prevent a retry of the previous activities in case of an error


Correct Option: D

Why would an integration developer use Java snippets in a business process?

  1. A developer would use Java snippets for general tasks. A Java snippet's implementation is fixed and

  2. A developer would use Java snippets to create a snippet that captures a specific behavior. A Java

  3. A developer would use Java snippets to call an arbitrary Java method directly. A Java snippet can also

  4. A developer would use Java snippets to link and unlink tasks within a business process diagram. A Java


Correct Option: C

A developer needs to interact with third-party messaging middleware. Which binding should be used?

  1. JMS

  2. MQ JMS

  3. Generic JMS

  4. .Web service - SOAP over JMS


Correct Option: C

wo SCA modules are deployed together in the same cluster. The first SCA module provides an SCA export used by the second SCA module to call the first. Later, the SCA modules are separated and deployed in different clusters in the same cell. Which action should be taken for the second SCA module to continue to call the first SCA module?

  1. No action needs to be taken.

  2. Change the SCA binding in the second SCA module.

  3. Add a Stand-alone Reference to the first SCA module.

  4. Add a Web Service export binding to the first SCA module.


Correct Option: A

A car insurance company considers both the number of traffic ciations and the number of accident rate quote. How should the business rule be implemented?

  1. A rule set

  2. As a rule group

  3. As a decision table

  4. As a business rule bean


Correct Option: C

An interface map is being used to map two operations with incompatible input and output types. Which type of parameter transformation should be used?

  1. Move

  2. Assign

  3. Submap

  4. Extract


Correct Option: D

An integration developer uses the default process template view in the business process choreography, the default view of process instances started by the current user, why is the process instance missing?

  1. The porcess is short running

  2. The process is a state machine

  3. The corresponding process template is stopped

  4. None


Correct Option: D

What does AA stand for?

  1. Application Architecture

  2. Application Access

  3. Application Action

  4. Application Answer


Correct Option: A

How many comparisons can a single COBOL if statement make? (A single comparison would be is MYVALUE > 7, for example)

  1. 1

  2. 2

  3. There is no limit

  4. COBOL if statements are not used to compare variable values


Correct Option: A

Which of the following errors are possible within a COBOL if statement?

  1. Infinite loop

  2. Logical Error

  3. Runtime Error

  4. All of the above

  5. None of the above


Correct Option: D

The COBOL perform loop is the equivalent of which of the following structures found in other languages, such as Java or C++

  1. For loop

  2. Do-While loop

  3. Method

  4. None of the Above


Correct Option: B

If someone wanted a COBOL perform "loop" to execute once before the condition is checked, which of the following would they do?

  1. Use a standard perform statement

  2. Use an in line perform

  3. Skillful use of the COBOL reserved word "AFTER"

  4. This is not possible in COBOL


Correct Option: C

AI Explanation

To answer this question, you need to understand how the COBOL perform statement works.

Option A) Use a standard perform statement - This option is incorrect. The standard perform statement in COBOL executes the loop after checking the condition. It does not allow for the loop to execute once before the condition is checked.

Option B) Use an in-line perform - This option is incorrect. An in-line perform statement in COBOL is used to execute a section of code repeatedly until a condition is met. It does not provide the functionality to execute the loop once before the condition is checked.

Option C) Skillful use of the COBOL reserved word "AFTER" - This option is correct. By using the "AFTER" keyword in the perform statement, you can ensure that the loop executes once before the condition is checked. The code inside the perform loop will be executed once, and then the condition will be checked to determine whether the loop should continue or not.

Option D) This is not possible in COBOL - This option is incorrect. It is possible to achieve the desired behavior by using the "AFTER" keyword in the perform statement.

Therefore, the correct answer is option C. This option is correct because it allows the loop to execute once before the condition is checked.

A = 0, B = 9….. Perform until a > b Add 2 to a End-perform How many additions are performed?

  1. 3

  2. 4

  3. 5

  4. 6


Correct Option: C

If an IF statement is true, what’s the first thing it does?

  1. Exits the statement

  2. Executes the function

  3. Exits the Program

  4. Executes the If statement again


Correct Option: B

Not negative means…

  1. Equal to 0

  2. Greater than or equal to 1

  3. Less than or equal to 0

  4. Greater than or equal to 0


Correct Option: D

Which is the correct ASCII collating sequence?

  1. spaces, special characters, 0-9, A-Z, a-z

  2. spaces, a-z, A-Z, 0-9, special characters

  3. a-z, A-Z, 0-9, spaces, special characters

  4. 0-9, special characters, spaces, a-z, A-Z


Correct Option: A
- Hide questions