Second Mock Test Cbe11mf004

20 Questions | Total Attempts: 55

SettingsSettingsSettings
Second Mock Test Cbe11mf004 - Quiz

Questions and Answers
  • 1. 
    PERFORM with _____ phrase executes the number of times specified by the value in identifier or Integer
    • A. 

      UNTIL

    • B. 

      THRU

    • C. 

      TIMES

    • D. 

      None

  • 2. 
    FILE STATUS should be defined in the data division as a two character ________ field.
    • A. 

      Numeric

    • B. 

      Alphanumeric

    • C. 

      Alphabetic

    • D. 

      None

  • 3. 
    For _________ clause it is also possible to start the Transfer of Characters from Some OtherLocation
    • A. 

      WITH POINTER

    • B. 

      PICTURE

    • C. 

      For both the above Clauses

    • D. 

      Neither IWTH POINTER nor PICTURE

  • 4. 
    The processing of a file should begin with the execution of  an OPEN statement
    • A. 

      True

    • B. 

      False

  • 5. 
    Indexes can be manipulated by the _____________
    • A. 

      SET

    • B. 

      SEARCH

    • C. 

      PERFORM

    • D. 

      All of the above

  • 6. 
    PERFORM P2 VARYING i FROM 1 BY 1 UNTIL i <10 will Execute P2
    • A. 

      9 TIMES

    • B. 

      10 TIMES

    • C. 

      11 TIMES

    • D. 

      1 TIME

    • E. 

      0 TIMES

  • 7. 
    The __________ phrase sets the limits of the string.
    • A. 

      TRUNCATE

    • B. 

      DELIMITED BY

    • C. 

      DELIMITS

    • D. 

      TRUNCATED BY

  • 8. 
    The  ORGANIZATION  IS INDEXED clause indicates the file is an indexed file
    • A. 

      True

    • B. 

      False

  • 9. 
    INITIALIZE Verb Serves as a Convenient Alternative to the Use of MOVE in PROCEDURE DIVISION
    • A. 

      True

    • B. 

      False

  • 10. 
    The ______ verb is used to set, increase or decreases the value of the indexes
    • A. 

      SET

    • B. 

      SEARCH

    • C. 

      PERFORM

    • D. 

      INCR

  • 11. 
    The  WRITE statement cannot be used for files opened in the I-O mode
    • A. 

      True

    • B. 

      False

  • 12. 
    Called Program can Call Other Programs, But Must Not Call the Calling Program
    • A. 

      True

    • B. 

      False

  • 13. 
    The ________ verb indicates a no operation, and when executed, no action takes place.
    • A. 

      STOP RUN

    • B. 

      EXIT

    • C. 

      END

    • D. 

      NONE

  • 14. 
    It is Possible to Access Data in Tables in a Direct Manner Using _______.
    • A. 

      Index

    • B. 

      Subscript

    • C. 

      Both

    • D. 

      None

  • 15. 
    By using ________ option with PERFORM we can execute a series of procedures which are in a  sequence
    • A. 

      THRU

    • B. 

      UNTIL

    • C. 

      THROUGH

    • D. 

      Both a and b

    • E. 

      Both a and c

    • F. 

      None of the above

  • 16. 
    ................represents the displacement value of the entry from beginning of table
    • A. 

      Superscript

    • B. 

      Subscript

    • C. 

      Index

    • D. 

      All the above

    • E. 

      None of the above

  • 17. 
    _______is Used to Transform And Move Data from One Index Item to another or from subscript to another or from Subscript to corresponding Item.
    • A. 

      Move

    • B. 

      Set

    • C. 

      Assign

    • D. 

      All the above

    • E. 

      None of the above

  • 18. 
    Using ________ Option With INITIALIZE Verb We can Set Alphanumeric Fields Other Than Spaces, Numeric Fields Other Than Zeroes.
    • A. 

      UPDATING

    • B. 

      CHANGING

    • C. 

      REPLACING

    • D. 

      None of the above

  • 19. 
    If  at END of file occurs what is the FILE STATUS______________
    • A. 

      00

    • B. 

      10

    • C. 

      -10

    • D. 

      100

  • 20. 
    The simple SORT verb requires the naming of three files  ____________, _____________, and   ___________
    • A. 

      Input file,output file, sort file

    • B. 

      Input file,output file and the work file

    • C. 

      Input file,output file and the intermediate file

    • D. 

      Input file, work file, search file

Related Topics
Back to Top Back to top