COBOL Questions - A few easy questions

I am taking a cobol class, and one of the questions for our weekly discussion confused me.

1. Indicate the type of table that would be best suited for the following and specify you reasons:

a. A table used with a binary search
b. A table used with a serial search
c. A tabled used as a direct-referenced table

Then lastly, I was wondering about when a 5 level OCCURING clause might be used. I thought maybe when lookups were done on a file consisting of

Rows
Columns
Pages
Chapters
Books.

Would that work?

Any help would be greatly appreciated. This is an online class so asking the teacher is next to impossible. She checks her message about once per week. Please tell me there is a COBOL guru here haha.

Comments

  • OMG they're still teaching COBOL!!! I really can't help you, I haven't written COBOL since 1980s.
  • Unfortunately yes...and I hate it. I know .net - so going backwards to COBOL is crazy
Sign In or Register to comment.