IBM C9050-041 Exam Overview:
| Certification Vendor: | IBM |
|---|---|
| Exam Name: | Programming with IBM Enterprise PL/I |
| Exam Number: | 000-041 |
| Real Exam Qty: | 146 multiple-choice questions (approx.) |
| Exam Format: | Multiple Choice Questions |
| Available Languages: | English |
| Related Certifications: | 000-042 Developing with IBM Enterprise PL/I |
| Sample Questions: | IBM C9050-041 Sample Questions |
| Exam Way: | Delivered at Pearson VUE test centers or online (proctored) if available |
| Pre Condition: | No formal prerequisites stated |
IBM C9050-041 Exam Syllabus Topics:
| Section | Objectives |
|---|---|
| Topic 1: Advanced PL/I Topics | - Built-in functions and system constructs - Pointers and storage classes (ALLOCATE, FREE, FETCH) |
| Topic 2: File and I/O Processing | - FILE declaration and READ/WRITE operations - End-of-file and ENDFILE handling |
| Topic 3: PL/I Language Fundamentals | - Basic PL/I syntax and program structure - Data types and declarations (CHAR, BIN FIXED, DEC, FLOAT) |
| Topic 4: Procedures and Subroutines | - Parameter passing mechanisms and ENTRY declarations - Procedure and function declaration and invocation |
| Topic 5: Control Structures and Blocks | - Conditional statements (IF, SELECT) - Loop constructs and control flow |
IBM Programming with IBM Enterprise PL/I Sample Questions:
Question 1
CORRECT TEXT
What is the value of A after executing the following code?
DCL A CHAR(7) INIT ('ABCDEFG'); DCLB CHAR(10) INIT ('0123456789');
SUBSTR(A,4) = SUBSTR(B,5,3);
A. 'ABCD456'
B. 'ABC456 '
C. 'ABC4567'
D. 'ABC4560'
Question 2
CORRECT TEXT
Given the following declaration, the compiler will issue the message "The variable RX is declared without any data attributes." What possible problem is this message reporting?
DCL RX, RY FIXED BIN;
A. That the code is in error because a variable declared without attributes is not allocated storage
B. That the code is in error because only one variable may be declared in any one statement
C. That the code is in error because the FIXED BIN attribute would not apply to both RX and RY
D. That the code is in error because the FIXED BIN precision was not specified
Question 3
CORRECT TEXT
Which of the following pieces of code will result in a compiler error message?
A. IF EOF THEN
DO;
K = 0;
L = 1;
END;
B. ON ENDFILE (SYSIN)
DO;
PUT LIST('End of file reached.');
EOF = '1'B;
END;
C. IF EOF THEN
BEGIN;
K = 0;
L = 1;
END;
D. ON ENDFILE (SYSIN)
BEGIN;
PUT LIST('End of file reached.');
EOF = '15;
END;
Question 4
What will be printed when the following subroutine is called for the third time?
A. THE VALUE OF X IS : 2
B. THE VALUE OF X IS : 3
C. THE VALUE OF X IS : 1
D. PROC;
DCLX PlC '9' INIT(O);
X = X+ 1;
PUT SKIP LIST ('THE VALUE OF X IS :'!!X);
X = X+ 1;
END A;
E. THE VALUE OF X IS : 5
Question 5
CORRECT TEXT
What is the result of executing the following code?
DCLA BIN FIXED(31) INIT(10000);
DCL B BIN FIXED(15) INIT(8000);
B = B/A;
A. The value of B is 1.
B. The value of B is 0.8.
C. The value of B is 0.
D. CONVERSION would be raised.
Solutions:
| Question 1 Answer: B | Question 2 Answer: C | Question 3 Answer: B | Question 4 Answer: C,D | Question 5 Answer: C |

We're so confident of our products that we provide no hassle product exchange.


By Meroy


