
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question
Please solve completely question 3b to question 3e in c++ programming language

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

arrow_forward
Step 1
The answer is given below:-
Step by stepSolved in 3 steps with 3 images

Knowledge Booster
Similar questions
- What are functions in C programming, what are they used for, their advantages, and disadvantages if any?arrow_forwardDescribe the fundamental components that make up a C++ programme.arrow_forwardWhen we are talking about c++ and our code, what does abstraction mean? Please explain in detail thanksarrow_forward
- Employee Paycheck in C++ Programming:arrow_forwardRecall the topic USING ARRAYS and answer the questions below 1. What is the purpose of the ‘new’ operator in C#?arrow_forwardWhat would you expect to be the level of use of pointers in C#? How often will they be used when it is not absolutely necessary?arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education