Q.5 Systematic and structured recording of purchased equipment is one important aspect of managing an electronic engineering (EE) laboratory. As a graduate engineer, you are requested to develop a program for the EE laboratory management system to record all purchased electronic components and equipment. The program should equip with the following features: (i) A selection menu: Electronic component information data entry: the electronic component name, the supplier name, total unit, and price per unit in Malaysia Ringgit (RM). Display all recorded data with detailed information. List out the electronic component based on entered supplier name. (ii) The selection is repeated until the user requests to exit the system. (iii) Use struct to group the main information as stated in (i). Figure Q.5 shows the sample user screen of the program. Based on the given requirements, answer the following questions: a) Sketch a flowchart solution according to the given specifications. b) Solve the problem by developing a C program of main() based on the flowchart derived in question Q5(a). ++++++WELCOME TO ELECTRONIC LABORATORY+++ 1. Add component informations 2. Display component informations 3. List the component by supplier 4. Exit Choose one of the above options: 1 Enter component name: Resistor Enter supplier name: GoldenTM Enter total unit : 50 Enter price per unit (RM): 12.5 ++++++WELCOME TO ELECTRONIC LABORATORY++ 1. Add component informations 2. Display component informations 3. List the component by supplier 4. Exit Choose one of the above options: 3 Enter supplier name: GoldenTM Component Resistor Total 50 Price (AM) 12.50 +++WELCOME TO ELECTRONIC LABORATORY++ 1. Add component informations 2. Display component informations 3. List the component by supplier 4. Exit Choose one of the above options: 2 you have entered the following information Component Resistor Supplier GoldenTM Total 50 Price (RH) 12.50 ++++++WELCOME TO ELECTRONIC LABORATORY+++*** 1. Add component informations 2. Display component informations 3. List the component by supplier 4. Exit Choose one of the above options: 4 Process returned (0x0) Press any key to continue. execution time: 230.826
Q.5 Systematic and structured recording of purchased equipment is one important aspect of managing an electronic engineering (EE) laboratory. As a graduate engineer, you are requested to develop a program for the EE laboratory management system to record all purchased electronic components and equipment. The program should equip with the following features: (i) A selection menu: Electronic component information data entry: the electronic component name, the supplier name, total unit, and price per unit in Malaysia Ringgit (RM). Display all recorded data with detailed information. List out the electronic component based on entered supplier name. (ii) The selection is repeated until the user requests to exit the system. (iii) Use struct to group the main information as stated in (i). Figure Q.5 shows the sample user screen of the program. Based on the given requirements, answer the following questions: a) Sketch a flowchart solution according to the given specifications. b) Solve the problem by developing a C program of main() based on the flowchart derived in question Q5(a). ++++++WELCOME TO ELECTRONIC LABORATORY+++ 1. Add component informations 2. Display component informations 3. List the component by supplier 4. Exit Choose one of the above options: 1 Enter component name: Resistor Enter supplier name: GoldenTM Enter total unit : 50 Enter price per unit (RM): 12.5 ++++++WELCOME TO ELECTRONIC LABORATORY++ 1. Add component informations 2. Display component informations 3. List the component by supplier 4. Exit Choose one of the above options: 3 Enter supplier name: GoldenTM Component Resistor Total 50 Price (AM) 12.50 +++WELCOME TO ELECTRONIC LABORATORY++ 1. Add component informations 2. Display component informations 3. List the component by supplier 4. Exit Choose one of the above options: 2 you have entered the following information Component Resistor Supplier GoldenTM Total 50 Price (RH) 12.50 ++++++WELCOME TO ELECTRONIC LABORATORY+++*** 1. Add component informations 2. Display component informations 3. List the component by supplier 4. Exit Choose one of the above options: 4 Process returned (0x0) Press any key to continue. execution time: 230.826
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
100%
![Q.5 Systematic and structured recording of purchased equipment is one important aspect of managing
an electronic engineering (EE) laboratory. As a graduate engineer, you are requested to develop
a program for the EE laboratory management system to record all purchased electronic
components and equipment. The program should equip with the following features:
(i) A selection menu:
Electronic component information data entry: the electronic component name, the
supplier name, total unit, and price per unit in Malaysia Ringgit (RM).
Display all recorded data with detailed information.
List out the electronic component based on entered supplier name.
(ii) The selection is repeated until the user requests to exit the system.
(iii) Use struct to group the main information as stated in (i).
Figure Q.5 shows the sample user screen of the program. Based on the given requirements, answer
the following questions:
a) Sketch a flowchart solution according to the given specifications.
b) Solve the problem by developing a C program of main() based on the flowchart derived in
question Q5(a).
++++++WELCOME TO ELECTRONIC LABORATORY+++
1. Add component informations
2. Display component informations
3. List the component by supplier
4. Exit
Choose one of the above options: 1
Enter component name: Resistor
Enter supplier name: GoldenTM
Enter total unit : 50
Enter price per unit (RM): 12.5
++++++WELCOME TO ELECTRONIC LABORATORY++
1. Add component informations
2. Display component informations
3. List the component by supplier
4. Exit
Choose one of the above options: 3
Enter supplier name: GoldenTM
Component
Resistor
Total
50
Price (AM)
12.50
+++WELCOME TO ELECTRONIC LABORATORY++
1. Add component informations
2. Display component informations
3. List the component by supplier
4. Exit
Choose one of the above options: 2
you have entered the following information
Component
Resistor
Supplier
GoldenTM
Total
50
Price (RH)
12.50
++++++WELCOME TO ELECTRONIC LABORATORY+++***
1. Add component informations
2. Display component informations
3. List the component by supplier
4. Exit
Choose one of the above options: 4
Process returned (0x0)
Press any key to continue.
execution time: 230.826](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F2c1d8adf-5b02-4c85-96d6-dc8d33317672%2Ffc1f9193-f508-483e-8fcf-46032b0a38af%2Fcxtfbw8_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Q.5 Systematic and structured recording of purchased equipment is one important aspect of managing
an electronic engineering (EE) laboratory. As a graduate engineer, you are requested to develop
a program for the EE laboratory management system to record all purchased electronic
components and equipment. The program should equip with the following features:
(i) A selection menu:
Electronic component information data entry: the electronic component name, the
supplier name, total unit, and price per unit in Malaysia Ringgit (RM).
Display all recorded data with detailed information.
List out the electronic component based on entered supplier name.
(ii) The selection is repeated until the user requests to exit the system.
(iii) Use struct to group the main information as stated in (i).
Figure Q.5 shows the sample user screen of the program. Based on the given requirements, answer
the following questions:
a) Sketch a flowchart solution according to the given specifications.
b) Solve the problem by developing a C program of main() based on the flowchart derived in
question Q5(a).
++++++WELCOME TO ELECTRONIC LABORATORY+++
1. Add component informations
2. Display component informations
3. List the component by supplier
4. Exit
Choose one of the above options: 1
Enter component name: Resistor
Enter supplier name: GoldenTM
Enter total unit : 50
Enter price per unit (RM): 12.5
++++++WELCOME TO ELECTRONIC LABORATORY++
1. Add component informations
2. Display component informations
3. List the component by supplier
4. Exit
Choose one of the above options: 3
Enter supplier name: GoldenTM
Component
Resistor
Total
50
Price (AM)
12.50
+++WELCOME TO ELECTRONIC LABORATORY++
1. Add component informations
2. Display component informations
3. List the component by supplier
4. Exit
Choose one of the above options: 2
you have entered the following information
Component
Resistor
Supplier
GoldenTM
Total
50
Price (RH)
12.50
++++++WELCOME TO ELECTRONIC LABORATORY+++***
1. Add component informations
2. Display component informations
3. List the component by supplier
4. Exit
Choose one of the above options: 4
Process returned (0x0)
Press any key to continue.
execution time: 230.826
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
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)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
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)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education