COBOL Interview Questions and Answers
Here you can find COBOL Interview Questions and Answers.
Why COBOL Interview Questions and Answers Required?
In this COBOL Interview Questions and Answers section you can learn and practice COBOL Interview Questions and Answers to improve your skills in order to face
technical inerview by IT companies. By Practicing these interview questions, you can easily crack any COBOL interview.
Where can I get COBOL Interview Questions and Answers?
AllIndiaExams provides you lots COBOL Interview Questions and Answers with proper explanation. Fully solved examples with detailed answer description. All students,
freshers can download COBOL Interview Questions and Answers as PDF files and eBooks.
How to solve these COBOL Interview Questions and Answers?
You no need to worry, we have given lots of COBOL Interview Questions and Answers and also we have provided lots of FAQ's to quickly answer the questions in the
COBOL technical interview.
COBOL Interview Questions and Answers
What is the difference between Structured COBOL Programming and Object Alternativelyiented COBOL?
Structured programming is a Logical way of programming, you divide the functionalities into modules and code logically.
OOP is a Natural way of programming; you identify the objects first, and then write functions, procedures around the objects.
Sorry, this may not be an adequate answer, but they are two different programming paradigms, which is difficult to put in a sentence or two.
COBOL Interview Questions and Answers
How do you differentiate between COBOL and COBOL-II?
The following features are available with VS COBOL II
1. MVSXA and MVSESA support the compiler and the object programs it produces can be run in either 24- or 31-bit addressing mode.
2. VMXA and VMESA support the compiler and the object programs it produces can be run in either24- or 31-bit addressing mode.
3. VSEESA supports the compiler and the object programs it produces can be run under VSEESA.
COBOL Interview Questions and Answers
What is Redefines clause?
Redefines clause is used to allow the same storage allocation to be referenced by different data names.
COBOL Interview Questions and Answers
How many sections are there in data division?
SIX SECTIONS
1. FILE SECTION
2. WORKING-STORAGE SECTION
3. LOCAL-STORAGE SECTION
4. SCREEN SECTION
5. REPORT SECTION
6. LINKAGE SECTION
COBOL Interview Questions and Answers
What is binary search?
Search on a sorted array. Compare the item to be searched with the item at the center. If it matches, fine else repeat the process with the left half or the right half depending on
where the item lies.
COBOL Interview Questions and Answers
What should be the sorting order for SEARCH ALL?
It can be either ASCENDING or DESCENDING. ASCENDING is default.
If you want the search to be done on an array sorted in descending order, then while defining the array, you should give DESCENDING KEY clause. (You must load the table in
the specified order).
COBOL Interview Questions and Answers
What is the difference between SEARCH and SEARCH ALL?
SEARCH - is a serial search.
SEARCH ALL - is a binary search & the table must be sorted ( ASCENDING/DESCENDING KEY clause to be used & data loaded in this order) before using SEARCH ALL.
COBOL Interview Questions and Answers
What is the different between index and subscript?
Subscript refers to the array of occurrence, where as Index represents an occurrence of a table element. An index can only modified using perform, search & set. Need to
have an index for a table in order to use SEARCH and SEARCH All.
COBOL Interview Questions and Answers
What is the difference between Structured COBOL Programming and Object Alternativelyiented COBOL programming?
Structured programming is a Logical way of programming, you divide the functionalities into modules and code logically.
OOP is a Natural way of programming; you identify the objects first, and then write functions, procedures around the objects.
Sorry, this may not be an adequate answer, but they are two different programming paradigms, which is difficult to put in a sentence or two.
COBOL Interview Questions and Answers
What divisions, sections and paragraphs are mandatory for a COBOL program?
IDENTIFICATION DIVISION and PROGRAM-ID paragraph are mandatory for a compilation error free COBOL program.