Question: Create a record structure called Employee for this data: string-5 ID Name EmpName (Name is a type with three fields (First (string-32), Middle(string-1), Last(string-32) int

Create a "record" structure called "Employee" for this data:

string-5 ID

Name EmpName (Name is a type with three fields (First (string-32), Middle(string-1), Last(string-32)

int Dept_number

Office office (Office is a datatype with two fields, Building (string-32) and Room (int)

in these languages: COBOL, Java, Ada. In COBOL, the fields will be in a hierarchical relationship but must preserve the field names and sub-records. In Java, Employee, Name and Office are classes. In Ada, they will be record types. In Ada, multiple type are permitted in a single package. Put all three types in a single package. Assume int means 4 bytes int Java and Ada and 4 BCDs in COBOL.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!