0% (0 out of 14 correct) |
|
![]() | 1. |
A run-time error is listed by the compiler.
![]() Level: easy |
![]() | 2. |
Logic errors are usually harder to find than syntax errors.
![]() Level: easy |
![]() | 3. |
Even after testing and debugging, a program cannot be guaranteed to be error free.
![]() Level: hard |
![]() | 4. |
Rule violations cause program interrupts.
![]() Level: medium |
![]() | 5. |
Attempting to divide by zero will cause a syntax error.
![]() Level: easy |
![]() | 6. |
Data that is not alphabetic must be numeric.
![]() Level: hard |
![]() | 7. |
A class test will verify that input is the right data type.
![]() Level: medium |
![]() | 8. |
Data that is alphanumeric is also numeric.
![]() Level: hard |
![]() | 9. |
The count field in an INSPECT statement must be set to zero prior to the execution of the statement.
![]() Level: medium |
![]() | 10. |
Test data helps eliminate logic errors.
![]() Level: easy |
![]() | 11. |
The following is an example of a sign test. IF NUM-IN IS POSITIVE ….
![]() Level: easy |
![]() | 12. |
This is a debugging tip: If you use a line counter for pagination, use enough test data to print several pages.
![]() Level: medium |
![]() | 13. | The Law that states that if something can go wrong, it will, is called _____________ YOUR ANSWER: ![]() See page 434 Level: medium |
![]() | 14. | Another term for audit trail is ____________________________________________ YOUR ANSWER: ![]() See page 446 Level: easy |
![]() | 15. | Program errors consist of logic errors and _________________________________ YOUR ANSWER: ![]() See page 432 Level: easy |
![]() | 16. | The following is an example of what type of test? ___________________________ IF AMT IS NUMERIC … YOUR ANSWER: ![]() See page 434 Level: easy |
![]() | 17. | The following is an example of what type of test? IF AMOUNT-IN = SPACES … YOUR ANSWER: ![]() See page 435 Level: medium |
![]() | 18. | What statement can be used to replace all spaces with zeros in a numeric field? ________________________________________________________________________ YOUR ANSWER: ![]() See page 435 Level: medium |
![]() | 19. |
The INITIALIZE statement, when used with a group field, will
________________________________________________________________________ YOUR ANSWER: ![]() See page 453 Level: medium |
![]() | 20. | What value is in COUNT after the following statements are executed? __________ MOVE 0 TO COUNT INSPECT 45367 TALLYING COUNT FOR CHARACTERS AFTER INITIAL 5. YOUR ANSWER: ![]() See page 436 Level: medium |
![]() | 21. | What value is in COUNT after the following statements are executed? __________ MOVE 0 TO COUNT INSPECT 12111131 TALLYING COUNT FOR LEADING 1 AFTER INITIAL 2 YOUR ANSWER: ![]() See page 437 Level: medium |
![]() | 22. | What value is in COUNT after the following statements are executed? __________ MOVE 0 TO COUNT INSPECT 1234543212345 TALLYING COUNT FOR ALL 4 AFTER INITIAL 3 YOUR ANSWER: ![]() See page 437 Level: medium |
![]() | 23. | Using the wrong instruction is an example of what type of error? ________________ YOUR ANSWER: ![]() See page 432 Level: easy |
![]() | 24. |
The following is an example of what type of test? IF HOURS-IN < 10 OR > 50 ...
![]() Level: easy |
![]() | 25. |
Given the following: 03 STATE-CODE-IN PIC 9. 88 NY-NJ-CONN-PA VALUES 1 THRU 4. 88 MA-NH-MASS-RI VALUES 5 THRU 8. Each of the following is a valid format of the EVALUATE verb EXCEPT:
![]() Level: hard |