COBOL/Computer Science Sample Test,Sample questions

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

1.RD entry

2. INITIATE statement

3. SELECT clause

4.TERMINATE statement


Question:
 To develop commercial applications that require precise and efficient manipulation of data, we use

1.Fortran

2.COBOL

3.Pascal

4.Ada


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

1.Must

2. Mustn't

3.Need not

4.Can't say


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

1.Mustn't

2.Mustn't

3.Need not

4.Can't say


Question:
About the MERGE verb, which one of the following is true.

1.Can merge a maximum of three files

2.Does not require that the input file to be merged be sorted on the merge keys

3.Requires that all files mentioned in the statement must have records of same size

4.Does not require that the position of the merge keys with in the records descriptions of each of the files must be same


Question:
Accept MY-TIME from TIME?

1.Time stamp

2.Only Time

3.Only Date

4.None


Question:
Can u call COBOL I pgm from COBOL-II?

1.Not possible

2.Possible in Non cics

3.Not possible in CICS

4.None


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

1.8 bytes

2.4 bytes

3.2 bytes

4.5 bytes


Question:
In the IDE, which of following is used to design the layout of an application?

1.Form Designer window

2.Project Explorer window

3.Context Menu

4.Form Layout window


Question:
In which section do sort description is given?

1.Working-Storage

2.File Section

3.Linkage Section

4.Control Section


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

1.Rewrite

2.Insert

3.Delete

4.Start


Question:
Rewrite verb is used to update the records. A file should be opened in I-O mode for rewrite operations. It can be used even if a read operation is not successful. Is this statement true or false?

1.True

2.False

3.All the above

4.None


Question:
S9(7) COMP-3 field occupy _________ bytes.

1.4

2.6

3.8

4.1


Question:
Select variable which is accessible only to the batch program.

1.Local

2.Global

3.External

4.Internal


Question:
Speed of dot matrix printer is measured in?

1.DPM

2.CPS

3.DPS

4.PPM


Question:
The Logical Name of the File will be assigned to

1.DD Name

2.Step Name

3.Job Name

4.Joblib


Question:
What is the mode in which you will OPEN a file for writing?

1.Output

2.Input

3.Extend

4.Both A & C


Question:
Which division is used to specify the computer used by the program

1. Identification Division

2.Environment Division

3.Data Division

4.Procedure Division


Question:
Which of the following is valid COBOL word?

1.B12-4

2.Gross

3.Over Time

4.Gross Salary


Question:
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?

1.indexed sectors

2.sequential

3.direct

4.indexed direct


Question:
___________ verb is used to alter the value of index in COBOL

1. Alter

2.Move

3.Set

4.Both (b) and (c)


More MCQS

  1. Cobol MCQ Questions
  2. Cobol MCQ Questions
  3. Computer Science & Engineering COBOL MCQ Quiz
  4. Cobol Multiple Choice Questions
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!