25th
Feb
Cobol MCQ

Cobol MCQ

  • Admin
  • 25th Feb, 2021
  • 681 Followers

Cobol MCQ Questions and Answers

1) Where does the FILE-CONTROL paragraph appear?

  • A. Identification Division
  • B. Procedure Division
  • C. Environment Division
  • D. Data Division

2) How records are stored & accessed in sequential file organization?

  • A. Relative address method
  • B. Direct access method
  • C. Sequential access method
  • D. both b and c

3) In a sort file, names used must be in the ........entry:

  • A. MD
  • B. FD
  • C. SD
  • D. None

4) COBOL stands is for.....

  • A. Common Business Object Language
  • B. Common Beneficial Object Language
  • C. Common Business Oriented Language
  • D. Common Beneficial Oriented Language

5) Object Oriented languages:

  • A. Are based on actions happening to objects
  • B. Are natural language techniques
  • C. Are procedural languages
  • D. Are task oriented
Download Free : Cobol MCQ PDF

6) Indicate which of the following is not a Procedure Division verb:

  • A. Delete
  • B. Insert
  • C. Rewrite
  • D. Start

7) If usage is display, data item is stored in ASCII format and each character will take 1 byte. It is default usage. State whether true or false?

  • A. false
  • B. true

8) Which of the following is valid COBOL word?

  • A. Gross
  • B. Over Time
  • C. B12-4
  • D. Gross Salary

9) Comment in COBOL is denoted by....

  • A. /
  • B. ;
  • C. *
  • D. //

10) What does SEARCH ALL do?

  • A. Sequential search
  • B. Linear search
  • C. Binary search
  • D. None

11) Which of the following is not a part of the Identification division?

  • A. Phrases
  • B. Entries
  • C. Paragraphs
  • D. Clauses

12) Pic 9v99 is a _______ position numeric field with an implied or assumed decimal point after the first position.

  • A. one
  • B. two
  • C. three
  • D. four

13) A storage device which is used to store data & information external to the main storage is known as?

  • A. Accumulator
  • B. PROM
  • C. Backing storage
  • D. Buffer

14) Which of the following word cannot be a user-defined COBOL word?

  • A. WS-DISPLAY
  • B. WS-ACCEPT
  • C. ACCEPT
  • D. TUTORIAL

15) When displaying a data-name, it _______ be part of an output record:

  • A. Need not
  • B. Mustn’t
  • C. Can’t say
  • D. Must

16) What is the edited value of the picture clause PIC field 9999+ Numeric value moved to the field -382 and the Edited value is

  • A. 3820
  • B. 0382
  • C. 0003
  • D. 0038

17) What does S denote in a picture clause?

  • A. sign
  • B. symbol
  • C. character
  • D. Alphanumeric sign

18) The.........statement release the resources which are assigned to that file:

  • A. EXIT
  • B. END
  • C. WRITE
  • D. STOP RUN

19) .......verb is used to alter the value of index in COBOL:

  • A. Set
  • B. Alter
  • C. Move
  • D. both A and B

20) How many bytes will a S9(8) COMP field occupy?

  • A. 4 bytes
  • B. 5 bytes
  • C. 6 bytes
  • D. 8 bytes

21) Which of the following is not a part of the program division in COBOL?

  • A. Procedure
  • B. Environment
  • C. Identification
  • D. Compilation

22) D in COBOL stands for....

  • A. Draft
  • B. Debugging lines
  • C. Data
  • D. Debugger

23) What is the length of a variable when usage is COMP-2?

  • A. 2
  • B. 4
  • C. 8
  • D. 16

24) Indicate in which of the following, the REPORT NAME does not appear:

  • A. INITIATE statement
  • B. SELECT clause
  • C. TERMINATE statement
  • D. RD entry

25) COBOL is a language that keeps evolving:

  • A. True
  • B. False

26) The Logical Name of the File will be assigned to:

  • A. Job Name
  • B. Step Name
  • C. Joblib
  • D. DD Name

27) Which of the following storage and retrieval methods would be well suited to your processing requirements if you only need to retrieve records one at a time and there is no fixed pattern to the requests for data and records?

  • A. sequential
  • B. indexed sectors
  • C. indexed direct
  • D. direct

28) In which mode you will open the sequential file to append the data in the end:

  • A. INPUT
  • B. EXTEND
  • C. APPEND
  • D. OUTPUT

29) Can a copy member with nested COPY statements contain the Replacing option?

  • A. Yes
  • B. No

30) How many bytes S9(6) USAGE IS COMP-3 will take?

  • A. 3
  • B. 4
  • C. 5
  • D. 6

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

01st
Dec
Laravel MCQ
01st
Dec
React JS MCQ
01st
Jan
AngularJs MCQ
01st
Jul
Node js MCQ
01st
Jul
Angular 2 MCQ
01st
Jul
JSON MCQ