1.
MOVE instructions are found in the DATA DIVISION.
A.
True
B.
False
2.
The receiving field of a MOVE instruction must not be a literal.
A.
True
B.
False
3.
ZEROS may be moved to numeric fields.
A.
True
B.
False
4.
Moving a numeric field to a group field is a numeric MOVE.
A.
True
B.
False
5.
It is illegal to MOVE an alphabetic field to a numeric field.
A.
True
B.
False
6.
Moving a numeric field to an alphanumeric field is considered a numeric MOVE.
A.
True
B.
False
7.
The PIC 99.99 can be used for an input field.
A.
True
B.
False
8.
Overprinting may be achieved using: WRITE OVER rec-name.
A.
True
B.
False
9.
A field with PIC 999.99 takes 6 print positions.
A.
True
B.
False
10.
The symbol used for check protection is “/”.
A.
True
B.
False
11.
In order for a field to store a negative value, the field must have what symbol in its PIC clause? ______________________________________________________________
Answer:
12.
With PIC 99CR, when will CR will be printed? ______________________________
Answer:
13.
One report-item may have a maximum of how many floating strings? ____________
Answer:
14.
MOVE 246 TO FIELD-B, where FIELD-B has PIC 9(2), results in what value in
FIELD-B? ______________________________________________________________
Answer:
15.
MOVE 2468 TO FIELD-B, where FIELD-B has PIC 9(5), results in what value in FIELD-B? ______________________________________________________________
Answer:
16.
MOVE 246.135 TO FIELD-C, where FIELD-C has PIC 9(2)V9(4), results in what value in FIELD-C?________________________________________________________
Answer:
17.
MOVE 'WXY' TO FIELD-D, where FIELD-D has PIC X(2), results in what value in FIELD-D? ____________________________________________________________
Answer:
18.
MOVE 'XYZ' TO FIELD-D, where FIELD-D has PIC X(4), results in what value in FIELD-D?_______________________________________________________________
Answer:
19.
What is a report-item? __________________________________________________
Answer:
20.
If FIELD-A has PIC 99V99, to print the decimal point, move FIELD-A to an edited field with PIC
____________________________________________________________
Answer:
21.
If FIELD-A has PIC 9(5)V9(2) with contents 00056
^
12 and is moved to
FIELD-A-OUT with PIC $**,**9.99, what are the edited results?
________________________________________________________________________
Answer:
22.
If a value -046 is moved to a field with PIC +ZZ9, what will be printed?
_______________________________________________________________________
Answer:
23.
To print the value –24 which of the following PIC clauses can NOT be used?
A.
+Z9
B.
Z9DB
C.
-Z9
D.
-99
E.
+99
24.
If a sending field has PIC 9(5)V99 with value 00246
^
34, to print this as bbb$246.34,
the report-item must have which of the following PIC clauses?
A.
$ZZ,ZZ9.99
B.
$$$$$9.99
C.
ZZZZ$Z9.99
D.
$$$,$$9.99
E.
$$,$$9.99
25.
Which of the following is NOT a character that can be used in a PIC clause for a report-item?
A.
Z
B.
/
C.
.
D.
#
E.
+
This is the end of the test. When you have completed all the questions and reviewed your answers, press the button below to grade the test.