COBOL Programming Skills Test Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Stephanie Young
S
Stephanie Young
Community Contributor
Quizzes Created: 85 | Total Attempts: 69,803
| Attempts: 525
SettingsSettings
Please wait...
  • 1/10 Questions

    Which of the following is the hierarchy of the COBOL four divisions?

    • Data Division, Environment Division, Procedure Division and Identification Division
    • Identification Division, Environment Division, Data Division and Procedure Division
    • Data Division, Identification Division, Procedure Division and Environment Division
    • Environment Division, Identification Division, Data Division and Procedure Division
Please wait...
About This Quiz

It is a fact that most of the financial and business applications used by companies were developed by COBOL. If you have COBOL programming skills, then this quiz is for you to ascertain your knowledge.

COBOL Programming Skills Test Quiz - Quiz

Quiz Preview

  • 2. 

    The COBOL verb that is used to initialize a group item or an elementary item is 

    • Display Verb

    • Accept Verb

    • Initialize Verb

    • Move Verb

    Correct Answer
    A. Initialize Verb
    Explanation
    The correct answer is Initialize Verb. The Initialize Verb in COBOL is used to initialize a group item or an elementary item to its initial value. It sets the value of the item to spaces or zeros, depending on its data type. This verb is commonly used at the beginning of a program or before using a variable to ensure that it starts with a known value.

    Rate this question:

  • 3. 

    Which COBOL verb is used to copy data from source data to destination data?

    • Initialize Verb

    • Move Verb

    • Display Verb

    • Accept Verb

    Correct Answer
    A. Move Verb
    Explanation
    The Move verb in COBOL is used to copy data from a source data item to a destination data item. This verb allows for the transfer of values between different data items, such as moving a value from one variable to another. It is commonly used to initialize variables, pass data between different parts of a program, or perform calculations. The Move verb is essential in manipulating and transferring data within COBOL programs.

    Rate this question:

  • 4. 

    The following are the loop statements used in COBOL except 

    • For Loop

    • Perform Thru

    • Perform Until

    • Perform Times

    Correct Answer
    A. For Loop
    Explanation
    The correct answer is "For Loop" because it is not a loop statement used in COBOL. COBOL uses loop statements such as Perform Thru, Perform Until, and Perform Times to execute a series of statements repeatedly. However, the For Loop is a loop statement commonly used in other programming languages like C, Java, and Python, but not in COBOL.

    Rate this question:

  • 5. 

    The COBOL four division that contains program information is the

    • Data Division

    • Identification Division

    • Procedure Division

    • Environment Division

    Correct Answer
    A. Identification Division
    Explanation
    The Identification Division in COBOL contains program information such as the program name, author, and date of creation. It is used to provide documentation and identification details about the program. This division is essential for maintaining and understanding the program code.

    Rate this question:

  • 6. 

    Which of the following syntaxes uses a numeric data item?  

    • $il

    • $i

    • #i

    • $#i

    Correct Answer
    A. #i
    Explanation
    The syntax "#i" uses a numeric data item. The "#" symbol is commonly used to represent numeric values in programming languages. Therefore, "#i" indicates that the variable "i" is a numeric data item.

    Rate this question:

  • 7. 

    Which of the following syntaxes uses an alphanumeric data-item

    • $i

    • $il

    • #i

    • #il

    Correct Answer
    A. $i
    Explanation
    The correct answer is $i. In programming, an alphanumeric data-item is one that can consist of both letters and numbers. In this case, the syntax $i represents a data-item that can contain alphanumeric characters.

    Rate this question:

  • 8. 

    The following are types of conditions used in COBOL except 

    • IF Condition Statement

    • Class Condition

    • Sign Condition

    • Val Condition

    Correct Answer
    A. Val Condition
    Explanation
    The given answer is "Val Condition". This means that Val Condition is not a type of condition used in COBOL. COBOL uses IF Condition Statement, Class Condition, and Sign Condition as types of conditions.

    Rate this question:

  • 9. 

    The following are advantages of COBOL except 

    • User Defined Functions

    • Object Orientation

    • Multiple Currency Symbols

    • User Undefined Data Types

    Correct Answer
    A. User Undefined Data Types
    Explanation
    COBOL, a programming language commonly used in business applications, offers several advantages. User Defined Functions allow developers to create custom functions to suit their specific needs. Object Orientation enables the use of object-oriented programming principles, making code more modular and reusable. Multiple Currency Symbols allow for easy handling of different currency symbols and formats. However, COBOL does not have User Undefined Data Types, meaning that all data types must be defined by the programmer.

    Rate this question:

  • 10. 

    The following are the data description entries used in COBOL except 

    • Renames Clause

    • Usage Clause

    • Storage Clause

    • Redefines Clause

    Correct Answer
    A. Renames Clause
    Explanation
    The Renames Clause is not a data description entry used in COBOL. The other options - Usage Clause, Storage Clause, and Redefines Clause - are all valid entries used to describe data in COBOL. The Renames Clause is used to associate two or more data items with the same storage area, allowing them to be referenced interchangeably. However, it is not considered a data description entry in COBOL.

    Rate this question:

Quiz Review Timeline (Updated): Mar 10, 2023 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 10, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Feb 24, 2018
    Quiz Created by
    Stephanie Young
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.