What does COBOL stand for?
Common Business Oriented Language
COBOL is primarily designed for business applications.
COBOL is mainly used for what type of applications?
Business applications like payroll and inventory
COBOL is not typically used for gaming or scientific computing.
Which of the following best describes COBOL’s nature?
English-like and business-oriented
This makes COBOL more accessible for business users.
Who developed COBOL in 1959?
CODASYL Committee
The development was a collaborative effort to create a standard programming language for business.
The 1985 version of COBOL known for efficiency and standardization is called:
COBOL-85
This version introduced many enhancements over previous iterations.
What does ‘Machine Independent’ mean in COBOL?
COBOL can run on various computer systems
This feature allows for greater flexibility in deployment.
COBOL is said to be ‘English-like.’ What does that mean?
Uses natural language words
This characteristic aids in readability and understanding of the code.
COBOL is known for handling:
Voluminous data
It is particularly effective for processing large amounts of business data.
What is the correct order of COBOL’s four divisions?
Identification, Environment, Data, Procedure
This order is essential for the structure of a COBOL program.
The division that contains the program’s name and author is:
Identification Division
This division is crucial for documentation and identification of the program.
Which division defines the system setup and I/O devices?
Environment Division
This division specifies the environment in which the program operates.
In COBOL, the main logic or steps of a program are found in:
Procedure Division
This division contains the executable code of the program.
What column range holds the COBOL source code?
8–72
This range is where the actual code is written in the source file.
What does column 7 in the COBOL coding form represent?
Indicator area
This area is used for special indicators such as comments.
Which symbol in column 7 marks a line as a comment?
This symbol indicates that the line is not executable code.
What columns define ‘Area A’?
8–11
Area A is used for level numbers and other important indicators.
Which area (column range) is for FD entries and level 01 records?
Area A (8–11)
This area is specifically designated for defining records.
Area B (Columns 12–72) usually holds:
Source statements and clauses
This area is where the main coding occurs.
The COBOL character set includes:
Letters A–Z and digits 0–9
This character set is essential for writing COBOL programs.
Which arithmetic operator is used for multiplication in COBOL?
This operator is standard for multiplication in many programming languages.
What symbol ends COBOL statements?
Period (.)
This punctuation is crucial for indicating the end of a statement.
Which is a valid relational operator in COBOL?
NOT =
This operator is used for comparisons in COBOL.
Logical operators include:
These operators are fundamental for control flow in programming.
Which punctuation marks are used for strings?
Single or double quotation marks
These marks are necessary for defining string literals.