Welcome to TestSimulate

Pass Your Next Certification Exam Fast!

Everything you need to prepare, learn & pass your certification exam easily.

365 days free updates. First attempt guaranteed success.

IBM Developing with IBM Enterprise PL/I (C9050-042) Free Practice Test

Question 1
What characterizes the hierarchical data model with respect to data access?

Correct Answer: C
Question 2
What is the output of the following program?
DCL A AREA(8000);
DCL 1 STR1 BASED(P),
2 STR1_LGTH BIN FIXED(31),
2 STR_CHAR CHAR(ALLOC_LGTH REFER(STR1_LGTH));
DCL ALLOC_LGTH BINFIXED(31);
DCL I FIXED BIN(31);
DCL P PTR;
ALLOC_LGTH = 100;
DO I = 1 TO 10;
ALLOC STR1 IN(A);
END;
PUT SKIP LIST(CSTG(A));

Correct Answer: C
Question 3
Given the following declarations, which code is likely to perform best and correctly initialize structure 3?
DCL 1 S UNALIGNED, 2 A CHAR(3), 2 B BIN FIXED(31), 2 C DEC FIXED(5); DCL 1 T UNALIGNED
LIKE S; T = ";

Correct Answer: B
Question 4
A lead developer reviewing code from one of the programmers found the following code. What should the
programmer be told about BY NAME assignments?
DCLl STR1, 3FB15 FIXED BIN (15), 3 CH10 CHAR (10), 3 NAME CHAR (25). 3 ADDR CHAR (30), 3
FB31 FIXED BIN(31);
DCL 1 STR2, 3 FB31 FIXED BIN (31), 3 FB31B FIXED BIN (31), 3 NAME CHAR (20), 3 ADDR CHAR
(30), 3 CH20 CHAR (20);
STR2 = STR1, BY NAME;

Correct Answer: D
Question 5
What are the requirements on data to apply parallelization in a program?

Correct Answer: A
Question 6
Which of the following is the most appropriate way of avoiding a recursive deadlock?

Correct Answer: D
Question 7
Which software quality describes the ability of software to cooperate with other applications?

Correct Answer: A
Question 8
Given the following (incomplete) code, how is Q to be declared in order to allocate X in A?
DCL A AREA;
DCL Q ...
DCL X FIXED BIN (31) BASED (Q);
ALLOCATE X;

Correct Answer: B
Question 9
Which of the following will definitely NOT cause an unresolved external entry?

Correct Answer: C
Question 10
If the PROC name is less than 8 characters, what ENTRY point should be specified for a PL/I routine
which will be FETCHed?

Correct Answer: B