Write a computer program using in C++, where can input the data below manually or reading from a text file. Employee Employee A Employee B Employee C Employee D Employee E Employee F Employee G Employee H Employee I Employee J Employee K Employee L Employee M Employee N Employee O Employee P Employee Q Employee R Employee S Employee T Employee U Salary 87000 73600 65000 76000 56200 56900 92000 88000 92300 93560 86541 65320 76022 58000 57000 78360 59630 69000 87200 76000 63000 (a) Consider an organization employees' income ranges between $50000 to $96000. If this range is normalized to [0, 1], using Min_Max normalization, what would the normalized salaries of employees C, K, and Q respectively? (b) When using z-score normalization, what would be the normalized salaries of employees D, G, and Q, respectively?

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
**Title: Data Normalization in C++**

**Introduction:**
This educational module demonstrates how to create a C++ program that allows users to manually input employee salary data or read it from a text file. The program also illustrates how to normalize this data using different techniques.

**Employee Salary Data Table:**

| Employee  | Salary |
|-----------|--------|
| Employee A | 87000  |
| Employee B | 73600  |
| Employee C | 65000  |
| Employee D | 76000  |
| Employee E | 56200  |
| Employee F | 56900  |
| Employee G | 92000  |
| Employee H | 88000  |
| Employee I | 92300  |
| Employee J | 93560  |
| Employee K | 86541  |
| Employee L | 65320  |
| Employee M | 76022  |
| Employee N | 58000  |
| Employee O | 57000  |
| Employee P | 78360  |
| Employee Q | 59630  |
| Employee R | 69000  |
| Employee S | 87200  |
| Employee T | 76000  |
| Employee U | 63000  |

**Normalization Tasks:**

(a) *Min-Max Normalization:*
- The organization’s income range is between $50,000 to $96,000.
- To normalize to the range \([0, 1]\), calculate the normalized values for employees C, K, and Q using Min-Max normalization.

(b) *Z-Score Normalization:*
- Compute the z-score normalized salaries for employees D, G, and Q using their z-scores.

**Detailed Explanation:**

- **Min-Max Normalization Formula:**
  \[
  \text{Normalized Value} = \frac{(\text{Current Value} - \text{Min})}{(\text{Max} - \text{Min})}
  \]

- **Z-Score Normalization Formula:**
  \[
  \text{Z-Score} = \frac{(\text{Current Value} - \text{Mean})}{\text{Standard Deviation}}
  \]

**Conclusion:**
The exercise allows students to learn how to handle and normalize datasets programmatically, providing a foundation for more advanced data processing and analysis tasks.
Transcribed Image Text:**Title: Data Normalization in C++** **Introduction:** This educational module demonstrates how to create a C++ program that allows users to manually input employee salary data or read it from a text file. The program also illustrates how to normalize this data using different techniques. **Employee Salary Data Table:** | Employee | Salary | |-----------|--------| | Employee A | 87000 | | Employee B | 73600 | | Employee C | 65000 | | Employee D | 76000 | | Employee E | 56200 | | Employee F | 56900 | | Employee G | 92000 | | Employee H | 88000 | | Employee I | 92300 | | Employee J | 93560 | | Employee K | 86541 | | Employee L | 65320 | | Employee M | 76022 | | Employee N | 58000 | | Employee O | 57000 | | Employee P | 78360 | | Employee Q | 59630 | | Employee R | 69000 | | Employee S | 87200 | | Employee T | 76000 | | Employee U | 63000 | **Normalization Tasks:** (a) *Min-Max Normalization:* - The organization’s income range is between $50,000 to $96,000. - To normalize to the range \([0, 1]\), calculate the normalized values for employees C, K, and Q using Min-Max normalization. (b) *Z-Score Normalization:* - Compute the z-score normalized salaries for employees D, G, and Q using their z-scores. **Detailed Explanation:** - **Min-Max Normalization Formula:** \[ \text{Normalized Value} = \frac{(\text{Current Value} - \text{Min})}{(\text{Max} - \text{Min})} \] - **Z-Score Normalization Formula:** \[ \text{Z-Score} = \frac{(\text{Current Value} - \text{Mean})}{\text{Standard Deviation}} \] **Conclusion:** The exercise allows students to learn how to handle and normalize datasets programmatically, providing a foundation for more advanced data processing and analysis tasks.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
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