Question 3 (25 marks). There exists an engineering firm that is producing different products using automated systems. You have been asked to write programs to help automate some activities in the firm. You are part of a team in the software engineering processes. The firm deals with processing of support beams of aircrafts. The dimensions of the beam vary per aircraft type. Using the situation below, solve the problem for your teammates. Table 1: Beam information Name Product category Year City of origin Country Batch number Height Length with Density Table 2: types of aircrafts A E F Table 3: Lenght of beams taken A В D E 1 4.05 8 9 6.01 6.08 5.4 4,44 8.1 9 6.10 6.10 5.6 4.51 7.9 9.02 6.10 6.20 5.7 4 4.35 8 9.01 6.08 6.07 5.6 5 4.32 8 9.07 6.18 6.18 5.9 a. Write a structure for Table 1. 5 marks. b. Write a class for Table 1. 5 marks. c. Using multidimensional arrays, write the arrays in C++ language for Table 3. 5 marks. d. Before the int main() function, declare 5 objects for the class for Table 1. 5 marks. e. Using two for loops and two dimensional arrays, write a program to calculate the average lenoth for each tyne of beam 5 marks

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Please solve completely Question 3 b to question 3e
Question 3 (25 marks).
There exists an engineering firm that is producing different products using automated
systems. You have been asked to write programs to help automate some activities in the
firm. You are part of a team in the software engineering processes. The firm deals with
processing of support beams of aircrafts. The dimensions of the beam vary per aircraft type.
Using the situation below, solve the problem for your teammates.
Table 1: Beam information
Name
Product category
Year
City of origin
Country
Batch number
Height
Length
with
Density
Table 2: types of aircrafts
A
B
D
E
F
Table 3: Lenght of beams taken
A
В
D
E
F
1
4.05
8
6.01
6.08
5.4
2
4.44
8.1
6.10
6.10
5.6
3
4.51
7.9
9.02
6.10
6.20
5.7
4
4.35
8
9.01
6.08
6.07
5.6
4.32
8
9.07
6.18
6.18
5.9
a. Write a structure for Table 1. 5 marks.
b. Write a class for Table 1. 5 marks.
c. Using multidimensional arrays, write the arrays in C++ language for Table 3. 5
marks.
d. Before the int main() function, declare 5 objects for the class for Table 1. 5 marks.
e. Using two for loops and two dimensional arrays, write a program to calculate the
average length for each type of beam. 5 marks.
Transcribed Image Text:Question 3 (25 marks). There exists an engineering firm that is producing different products using automated systems. You have been asked to write programs to help automate some activities in the firm. You are part of a team in the software engineering processes. The firm deals with processing of support beams of aircrafts. The dimensions of the beam vary per aircraft type. Using the situation below, solve the problem for your teammates. Table 1: Beam information Name Product category Year City of origin Country Batch number Height Length with Density Table 2: types of aircrafts A B D E F Table 3: Lenght of beams taken A В D E F 1 4.05 8 6.01 6.08 5.4 2 4.44 8.1 6.10 6.10 5.6 3 4.51 7.9 9.02 6.10 6.20 5.7 4 4.35 8 9.01 6.08 6.07 5.6 4.32 8 9.07 6.18 6.18 5.9 a. Write a structure for Table 1. 5 marks. b. Write a class for Table 1. 5 marks. c. Using multidimensional arrays, write the arrays in C++ language for Table 3. 5 marks. d. Before the int main() function, declare 5 objects for the class for Table 1. 5 marks. e. Using two for loops and two dimensional arrays, write a program to calculate the average length for each type of beam. 5 marks.
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY