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

  Designing a database

Assume if your organization was going to design a database and the developers told you they were going to use a flat file database instead of a relational or object oriented one, what would you say to them?

  Draw each pattern and describe it in detail

Architecture: For the Ticket Kiosk System choose two different architectural styles from the set shown in class and do the following: Draw each pattern and describe it in detail

  Create high-level use cases for the customer requirements

Create high-level use cases for the customer requirements described in the W2 Course Project Instructions." Create a use case diagram for one of the high-level use cases using Microsoft Visio.

  Briefly discuss the erp system or erp software application

Briefly discuss the ERP system or the ERP software application and include how this resource can help an organization manage important aspects of its business

  What would you consider some of the key considerations

Explain your choices. Is the organization you work for (or one that you are familiar with) meeting these key considerations?

  Software construction and modeling

Analyze each reason listed above as a reason for a diversity of approaches to software construction and modeling, and give your opinion on whether or not each reason is valid.

  Write a sorting program that reads in a series of integers

Write a sorting program that reads in a series of integers which may be duplicated, and outputs the input integers in ascending order but without duplication.

  Developing a software system

Describe a development scenario where an Agile method would not be an appropriate method to use for developing a software system. Cite an example that addresses a specific programming language such as Java, C++, or others.

  Explain understanding plan-do-check-act process flow

The project where risk and quality processes make obsolete portions of project plan, how is plan maintained (updates, corrections)? What is context for understanding plan-do-check-act process flow?

  Draw an appropriate er diagram

Draw an appropriate ER diagram - Use the symbols as prescribed in your course-textbook to draw the ER diagram (ERD) for the above case study.

  Create a use case diagram that shows how students register

Pleasant Creek Community College Registration System Situation: Pleasant Creek Community College has a typical school registration process. Create a use case diagram that shows how students register

  Paper for the software development community

Blending market research and user research activities interactions - What is the purpose of the article - What arguments are made to support the authors

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