subject

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.

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:30, shubbs1038a
Your boss wants you to configure his laptop so that he can access the company network when he is on the road. you suggest a vpn connection to him. he is very concerned about security and asks you how secure vpn is. what do you tell him?
Answers: 1
image
Computers and Technology, 22.06.2019 19:00, trintrin227
In he example code, what does the title attribute create? a tool tip an element a source a markup
Answers: 1
image
Computers and Technology, 23.06.2019 06:00, sebcbal
When is a chart legend used a. all the time b. whenever you are comparing data that is the same c. whenever you are comparing multiple sets of data d. only for hand-drawn charts
Answers: 2
image
Computers and Technology, 24.06.2019 02:00, akatherine1738
What is a loop? a. a collection of function definitions at the top of a program b. a line of code that defines a variable and assigns it a value c. a program that opens the turtle graphics window d. a block of code that repeats a specific number of times
Answers: 1
You know the right answer?
Create a "record" structure called "Employee" for this data: string-5 ID
Name EmpName (Name i...

Questions in other subjects:

Konu
Mathematics, 30.10.2020 17:00