Certbus > IBM > IBM Certified Application Developer > C6030-042 > C6030-042 Online Practice Questions and Answers

C6030-042 Online Practice Questions and Answers

Questions 4

Which of the following is LEAST likely to be performed by an online application?

A. Checkpoint/restart logic

B. Transaction processing

C. End user interaction

D. Sorting

Browse 145 Q&As
Questions 5

Which of the following best describes an atomic transaction?

A. The database modifications must follow an `all or nothing' rule

B. Only valid data will be written to database

C. If one part of the transaction fails, the remainder may still be processed

D. Referential Integrity is maintained in the database

Browse 145 Q&As
Questions 6

What is a program specification document?

A. A description of what the program does and how it can be used

B. A description of how the program does its work

C. The pseudocode of the program

D. The history of changes of the program and how it was used

Browse 145 Q&As
Questions 7

Which of the following steps is NOT required to use the IBM Debug Tool on a PL/I program?

A. Compile with TEST option

B. Write an Language Environment user condition handler

C. Plan points where the program should stop during testing

D. Have the source code available

Browse 145 Q&As
Questions 8

What does it mean that an interface is synchronous?

A. Requesting program must wait for a reply

B. Requesting program always receives immediate response

C. Requests are processed randomly

D. Requests are processed in parallel

Browse 145 Q&As
Questions 9

What does it mean that an interface is asynchronous?

A. Requests are processed in FIFO order.

B. Requests are always processed immediately.

C. Requesting program does not have to wait for a reply.

D. Requests are processed in parallel.

Browse 145 Q&As
Questions 10

A program reads an input file into a structure with 20 fields. Fifteen of these are required as parameters in an external procedure. Which of the following is the most efficient way of passing these parameters?

A. Pass 15 variables in a parameter list.

B. Pass the address of the input structure as one argument.

C. Create a structure, assign the 15 variables to it and pass it as one argument.

D. Create a structure, assign the 15 variables to it and pass the address of it in one argument.

Browse 145 Q&As
Questions 11

Requirement:

All the characters of the CHAR(3) variable X must be tested to be numeric. Which of the following solutions meets the requirement and does not require essential structural modifications when the requirement is changed to the following: The first character of the CHAR(3) variable X must be tested to be uppercase alphabetic, while the two other characters must be tested to be numeric.

A. IFX >= `000' and X <= `999'THEN ... /*NUMERIC*/

B. DCL NUM CHAR(10) VALUE('0l 23456789');IF VERIFY(X,NUM) = 0THEN ... /*NUMERIC*/

C. DCL Y PIC'999';DCL SWITCH BIT(1) INIT('1'B);ON CONVERSION BEGIN;SWITCH =ONSOURCE = `000';END;Y = X;IF SWITCHTHEN ... ; /*NUMERIC*/

D. DCL ALPHA CHAR(26) VALUE('ABCDEFGHIJKLMNOPQRSTUVWXYZ');DCL NUM CHAR(10) VALUE('0123456789');IF TRANSLATE(X,(26)'A'!I(10)'9'ALPHA!!NUM) = `999'THEN ... ; /*NUMERIC*/

Browse 145 Q&As
Questions 12

What is a program internal specification document?

A. A description of how the program can be used

B. A description of how the program does its work

C. The history of changes of the program and how it worked

D. A summary of the program's performance data

Browse 145 Q&As
Questions 13

Which of the following is generally NOT an area of concern when calling a program written in another language from PL/I?

A. Storage management

B. Acceptable calling conventions

C. Data mapping

D. Condition handling

Browse 145 Q&As
Questions 14

Which code should NOT be split out into separate subroutines?

A. Redundant code in a program.

B. Redundant code in a group otprograms.

C. Dead code in a program.

D. Code which must be available on different platforms.

Browse 145 Q&As
Questions 15

Given the following code, what measure will improve stability?

S1: PROC (I) RETURNS(CHAR(10));

DCL I BIN FIXED (15);

DCL T (-1:1) CHAR(10) INIT('NOTFOUND' ,`OK'.'ENDFILE'); RETURN(T(l));

END S1;

A. Check the length of the RETURN value.

B. Check I for valid numeric data.

C. Check, if the value of I is within T's bounds.

D. Check, if the value of I is nositive.

Browse 145 Q&As
Questions 16

Which of the following is the most likely reason to use a debugger in a production environment?

A. Enhance performance

B. Ensure data integrity

C. Investigate error situations

D. Test a program

Browse 145 Q&As
Questions 17

A mainframe project is behind schedule and a project leader has only one copy of a PC-based PL/I compiler available for distribution to team members who are all eager to use it. Optimally, to whom should it be provided first?

A. The person in the critical path

B. The person who does the most PL/I development

C. The person who makes the greatest demand

D. The project leader and her manager

Browse 145 Q&As
Questions 18

It becomes apparent that the deadline to implement and test all the functions required for an application is at risk. Which of the following is the best course of action?

A. Inform management that more people are required.

B. Inform management that some functions will not have been tested when the system isimplemented.

C. Inform management thatthe deadline has to be changed.

D. Inform the team and the sponsor aboutthe problem and discuss possible solutions.

Browse 145 Q&As
Exam Code: C6030-042
Exam Name: Developing with IBM Enterprise PL/I
Last Update: Apr 30, 2024
Questions: 145 Q&As

PDF

$45.99

VCE

$49.99

PDF + VCE

$59.99