What is a COBOL constant?
- A reserved word in COBOL
- A subroutine in COBOL
- A value that remains unchanged during the execution of the program
- A variable with a changing value
In COBOL, a constant is a value that remains unchanged during the execution of the program. It is typically used for storing fixed values like literals or predefined constants, providing a way to assign fixed data to variables.
Loading...
Related Quiz
- Your COBOL program handles financial data, and you need to convert numeric amounts to their equivalent string representations. Which COBOL intrinsic function is suitable for this task?
- Which COBOL intrinsic function is commonly used to manipulate date and time values?
- When formatting dates for user display, the _____ format ensures readability across different locales.
- What does the CLOSE verb in COBOL primarily do for an open file?
- The USAGE IS _____ clause is used to specify the format of data storage for numeric data types in COBOL.