最新的IBM ILE RPG Programmer - 000-972免費考試真題

Given the following code sample:
DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++++++++
D x s 5i 0 inz(0)
D count s 5i 0 inz(0)
/free
for x = 2 to 3 by 2;
count += x;
endfor;
What are the values of x and count after the loop completes?

正確答案: B
Five existing programs are being converted for ILE. Two are to be bound into a service program and the other three are to be bound into a single program object, which uses the service program. After the appropriate coding changes, which of the following is the correct sequence of commands required to create the program?

正確答案: C
Given the following code segment:
d MyResult s 7 0
/Free
MyResult = 10 ** 2 - 1 * 4 + 5;
What is the value of MyResult after the statement is run?

正確答案: D
Given the following code sample, what value is displayed?
D MyDS DS
D FieldA 5A Inz('XXXXX')
/free
FieldA = 'VWXYZ';
Reset FieldA;
Dsply ('FieldA=' + FieldA);
*INLR = *On;
BegSR *InzSR;
FieldA = 'ABCDE';
EndSR;

正確答案: A
Given the following Data Specifications:
DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords++++++++++++++++++++++
d InvoiceDate s d
d DaysOld s 3 0
Which of the following expressions will calculate the number of days between InvoiceDate and the
current system date?

正確答案: D
Given the following code sample:
DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords++++++++++++++++++++++++++++
+
d StartString s 50a inz('Fred, Barney, Wilma, Betty,') d EndString s like(StartString)
d pos s 3i 0 inz
/free
dou pos >= 3;
pos += 1;
pos = %Scan(',' : StartString : pos);
enddo;
pos += 1;
EndString = %replace(' Dino,' : StartString : pos : 0);
Upon completion, what is the value of EndString?

正確答案: A
Which of the following is a restriction associated with using the OVERLAY keyword on a Data Structure subfield?

正確答案: C

聯系我們

如果您有任何問題,請留下您的電子郵件地址,我們將在12小時內回复電子郵件給您。

我們的工作時間:( GMT 0:00-15:00 )
週一至週六

技術支持: 立即聯繫 

English 日本語 Deutsch 한국어