You are tasked with implementing a COBOL program to track employee working hours for a large organization. How would you use arrays or tables to handle this task effectively?

  • Both Array and Table
  • Neither Array nor Table
  • Use a table
  • Use an array
For tracking employee working hours in a large organization, a table in COBOL would be more effective. A table allows for dynamic storage allocation based on the number of employees, facilitating efficient management of variable-sized data sets. Arrays might limit flexibility and could be less practical in handling a dynamic workforce.
Add your answer
Loading...

Leave a comment

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