How is a group data item different from an elementary data item in COBOL?

  • A group data item is a collection of elementary data items, while an elementary data item represents a single value
  • A group data item is a single value, while an elementary data item is a collection of values
  • A group data item is used for alphanumeric data, while an elementary data item is for numeric data
  • A group data item is used for calculations, while an elementary data item is for display purposes
In COBOL, a group data item is a collection of elementary data items grouped together, providing a structured way to organize related data. An elementary data item, on the other hand, represents a single value or field in the data structure.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *