Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

COBOL Interview Questions
Questions Answers Views Company eMail

COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error

TCS,

1 5231

OCCURS clause is used in the DATA DIVISION on data names at (a) 01 level (b) 77 level (c) 88 level (d) any level from 02 to 49

TCS,

13 15213

Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X wil be

TCS,

7 11778

Consider the following COBOL entries 05 X PIC 99 VALUE 10. ADD 40 X TO X. COMPUTE X = 3 * X - 40. The result in X is

TCS,

12 14188

given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.

TCS,

2 6942

The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AND NOT (d) OR NOT AND

Huawei, IBM, TCS,

10 28801

The order of precedence of arithmetic operators in an expression can be overridden with the use of (a) [] (b) () (c) {} (d) Any of the above

TCS,

3 8073

Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER

4 6823

Which of the following files can be OPENed in all the 4 modes? The four modes are INPUT, I-O, OUTPUT and EXTEND. (a) INDEXED (b) RELATIVE (c) SEQUENTIAL (d) All of the above

TCS,

7 11264

Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear before the value if the value is -ve and a plus(+) is to appear before the value if the value is +ve? (a) + (b) - (c) + OR (d) It is not possible

TCS,

7 7288

i Want All cobol ERROR codes?

HCL, IBM,

4 13996

I want ALL jcl ERROR cods

1 9357

I want ALL ERROR codes in VSAM

American Express, TCS,

3 32270

i WANT ALL ERROR codes IN CICS and DB2

2 6215

i want all ERRORS codes in COBOL ,JCL,VSAM ,DB2,CICS

Infosys,

4 11862


Post New COBOL Questions

Un-Answered Questions { COBOL }

Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

553


What is comp-1 and comp-2?

549


How do you reference the fixed block file formats from cobol programs

506


What is the difference between structured cobol programming and object alternativelyiented cobol?

575


What the difference is between continue and next sentence?

483






Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1520


how do you reference the ksds vsam file formats from cobol programs

488


Which is not true about evaluate statement

927


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

478


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

509


Write a cobol program making use of the redefine clause.

507


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1671


What is difference between static and dynamic call in cobol?

545


What is amode(24)?

511


What is link edit in cobol?

500