Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Only a(n) ____________ can follow the word GIVING in an ADD GIVING statement. ed

ID: 3560828 • Letter: O

Question

  Only a(n) ____________ can follow the word GIVING in an ADD GIVING statement.

edit pattern

      The ON SIZE ERROR option can be used to detect overflow in ____________ of a receiving field.

   When a period cannot be used to terminate an ADD statement, ____________ can be used.

  When using a SUBTRACT FROM GIVING statement, a(n) ____________ cannot follow the word GIVING.

  An extract report lists ____________.

The selection process for a record selection report compares the actual contents of a record to ____________.

a.    b.      c.       

The SORT statement is used in the ____________ to place records in a sort work file.

The figurative constant ____________ normally is moved to the appropriate key field when end of file is reached.

A sequential file stored on a(n) ____________ can be updated in place.

  To update a sequential file in place, the file must be opened using ____________ mode.

    The ____________ is a very popular form of logic used to update a sequential file when three different types of transactions are present.

An object may be thought of as a program in which the ______________ and the instructions that manipulate it are coupled permanently.

  Defining a(n) ______________ of an object is called instantiation.

Object Oriented programming is a programming style that encourages ______________ and restricted data access.

     A(n) ____________ may be used to remove an existing master record from a file.

Question 1.1. An object can be thought of as a program in which the data and _____that manipulate the data permanently are tied together. (Points : 2)        objects
       picture clauses
       instructions
       programmers Question 2.2. An instance of an object is (Points : 2)        a block of COBOL code
       one occurrence of the object
       very small
       a large number of input records Question 3.3. The statements that manipulate data within an object form a(an)_________ (Points : 2)        object
       method
       instance
       class Question 4.4. Polymorphism means (Points : 2)        many forms
       inheritance
       driver
       many birds Question 5.5. An object reference provides a(an)______for an object and is used to gain access to the object (Points : 2)        entry
       target
       instance
       handle Question 6.6. An object contains data and the instructions that manipulate the data (Points : 2)        True
       False Question 7.7. A method is a set of instructions that manipulate the data within an object (Points : 2)        True
       False Question 8.8. The process of defining a class that contains all the properties of another class is called polymorphism (Points : 2)        True
       False Question 9.9. An instance of an object is a group of five or more identical objects. (Points : 2)        True
       False Question 10.10. A clas defines a template for all like objects. (Points : 2)        True
       False Question 11.11.

  Only a(n) ____________ can follow the word GIVING in an ADD GIVING statement.

(Points : 2)       

edit pattern


        numeric literal
        field name
        figurative constant Question 12.12.

      The ON SIZE ERROR option can be used to detect overflow in ____________ of a receiving field.

(Points : 2)        rightmost digit positions
          leftmost digit positions
       the first decimal position
       the sign area Question 13.13.

   When a period cannot be used to terminate an ADD statement, ____________ can be used.

(Points : 2)        a semicolon
       NEXT SENTENCE
       END-ADD
       END-COMPUTE Question 14.14.

  When using a SUBTRACT FROM GIVING statement, a(n) ____________ cannot follow the word GIVING.

(Points : 2)        literal
       field name
        numeric edit pattern field
        integer field Question 15.15.

  An extract report lists ____________.

(Points : 2)        records that satisfy selection criteria
       summary information only
       every record read and processed
        only records that are sorted Question 16.16.

The selection process for a record selection report compares the actual contents of a record to ____________.

a.    b.      c.       

(Points : 2)         the next sequentially available record
       the figurative constant SPACES
       the figurative constant HIGH-VALUES
       selection criteria Question 17.17.

The SORT statement is used in the ____________ to place records in a sort work file.

(Points : 2)        IDENTIFICATION DIVISION
         ENVIRONMENT DIVISION
         DATA DIVISION
       PROCEDURE DIVISION Question 18.18.

The figurative constant ____________ normally is moved to the appropriate key field when end of file is reached.

(Points : 2)        SPACES
        ZEROS
       LOW-VALUES
       HIGH-VALUES Question 19.19.

A sequential file stored on a(n) ____________ can be updated in place.

(Points : 2)        direct access storage device
        paper tape
       punch card file
         line printer Question 20.20.

  To update a sequential file in place, the file must be opened using ____________ mode.

(Points : 2)         OUTPUT
        I-O
        EXTEND
        INPUT Question 21.21.

    The ____________ is a very popular form of logic used to update a sequential file when three different types of transactions are present.

(Points : 2)         match and delete rule
        balance line algorithm
         bilateral update algorithm
         simplex sequential file rule Question 22.22.

An object may be thought of as a program in which the ______________ and the instructions that manipulate it are coupled permanently.

(Points : 2)         data
       files
       paragraphs
        sections Question 23.23.

  Defining a(n) ______________ of an object is called instantiation.

(Points : 2)         object
        link
          instance
       prototype Question 24.24.

Object Oriented programming is a programming style that encourages ______________ and restricted data access.

(Points : 2)        over simplification
        combination
       modularization
        inefficiency Question 25.25.

     A(n) ____________ may be used to remove an existing master record from a file.

(Points : 2)         add transaction
         change transaction
       delete transaction
         unmatched master

Explanation / Answer

1.) instructions

2.) one occurrence of the object

3.) method

4.) many forms

5.) handle

6.) True

7.) True

8.) false ; inheritance

9.) false ; only one identical object

10.) True

11.) numeric literal

12.) rightmost digit positions

13.) a semicolon

14.) integer field

15.) summary information only

16.) the next sequentially available record

17.) PROCEDURE DIVISION

18.) ZEROS

19.) direct access storage device

20.) I-O

21.) bilateral update algorithm

22.) data

23.) instance

24.) modularization

25.) delete transaction