Develop a python script to pre-process the file

Assignment Help Software Engineering
Reference no: EM131671056

Assignment

REQUIRED ACTIVITY

You are to develop a Python script to pre-process the file so that:

1. The header names are written as in the table above, and in that order. For example, we must have "Effective Date" instead of "EffectiveDate"; "DOB_Year" instead of "DOB Year"; "Plan_Type" instead of "Plan Type"; or "ProductID" instead of "PID".

2. The area code is exactly 3 digits and the home phone is exactly 7 digits. Analyze these two fields carefully to understand how you can design your script to capture issues such as +1 xxx xxxxxxx, or an area code with 3 digits, but a home phone with 10-digits still.

3. There cannot be a relationship D, S, or C that is Primary. If this occurs, your script must set the dependent as "N" (primary).

4. There cannot be a D, S, or C relationship without an identifying primary, or that is of plan type "Individual". A primary and a dependent are linked by their FamilyID. If this occurs, your script report must include an alert to the user about it.

5. All zip codes must be 5 digits

6. Months of birth must be between 1 and 12; and day of birth must be between 1 and 31 depending on the month of birth. For example, you cannot have a month of birth a 2 (i.e. February) and a day of birth as 30.

7. Year of birth must be 4 digits.

8. SSN must be 9 digits; not other character such as "-" or "."

9. Finally, your script must rearrange the records so that Primaries are processed before the dependents. In other words, primaries must come first.

Attachment:- Lab-Problem.rar

Reference no: EM131671056

Questions Cloud

How you would portray the importance of ethical hacking : Determine whether or not you believe there should be cause for concern when employing an ethical hacker based on the knowledge of hacking techniques.
Attributions and assumptions made in situation : Why were these attributions and assumptions made in each situation? Are they most likely accurate or not?
Discuss the potential justification for a lawsuit : According to the American Medical Association, about 36% of all U.S. physicians under the age of 35 are women.
How many billings are randomly sampled by an auditor : Suppose the probability of a recording error from one billing to the next is constant, and 1,000 billings are randomly sampled by an auditor.
Develop a python script to pre-process the file : You are to develop a Python script to pre-process the file so that: SSN must be 9 digits; not other character such as - or .
Counterparts in china and japan : Discuss the 2 reasons that are thought to account for the achievement gap between U.S.students and their counterparts in China and Japan.
Please describe exactly what constitutes attractiveness : Please describe exactly what constitutes "attractiveness". Does attractiveness differ around the world?
Identify specific sections of the complaint form : Describe the overall process of submitting a health information privacy complaint to the OCR.
Explain the outcome and your degree of success : Explain the outcome and your degree of success in influencing the person - Recall a situation when you influenced another person in a positive way

Reviews

Write a Review

Software Engineering Questions & Answers

  Research report on software design

Write a Research Report on software design and answer diffrent type of questions related to design. Report contain diffrent basic questions related to software design.

  A case study in c to java conversion and extensibility

A Case Study in C to Java Conversion and Extensibility

  Create a structural model

Structural modeling is a different view of the same system that you analyzed from a functional perspective. This model shows how data is organized within the system.

  Write an report on a significant software security

Write an report on a significant software security

  Development of a small software system

Analysis, design and development of a small software system.

  Systems analysis and design requirements

Systems Analysis and Design requirements

  Create a complete limited entry decision table

Create a complete limited entry decision table

  Explain flow boundaries map

Explain flow boundaries map the dfd into a software architecture using transform mapping.

  Frame diagrams

Prepare a frame diagram for the software systems.

  Identified systems and elements of the sap system

Identify computing devices, which could be used to support Your Improved Process

  Design a wireframe prototype

Design a wireframe prototype to meet the needs of the personas and requirements.

  Explain the characteristics of visual studio 2005

Explain the characteristics of Visual Studio 2005.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd