Menu

[Solved]8 2 Final Project Script Four Submission Pattern Search Replace Script Part Four Pattern S Q37231897

8-2 Final Project Script Four Submission: Pattern Search andReplace Script Part Four: Pattern Search Script Prompt Your taskfor this project is to create a simple pattern search script. Thisscript emphasizes the importance of regular expressions and theirutility for searching, replacing, and managing large volumes oftextual data. You will working on this project in the Project Four:Pattern Search and Replace Script Draft module in Codio. Followingthe directions in that module, you will also be able to determinethe exact placement of the comments you will need to make in thecode. Follow the directions in the module in Codio to walk throughthe activity. Your script should do the following three things: 1.Define a regular expression pattern to search for non-alphanumericvalues in a provided paragraph and output the number of matches tothe console. 3 2. Define a regular expression pattern to search fora two-word sequence separated by dashes and colons and output thenumber of matches to the console. 3. Define a regular expressionpattern to replace the dashes and colons identified in the previoussearch. Specifically, your script should address the followingcritical elements: I. In Your Script (Annotated Text File) Refer tothe directions in the module in Codio for how to export out andcomment your completed script. A. Identify an example of the use ofa search using literal characters in the script using comments inyour code. B. Identify an example of the use of a search forsequences and ranges in the script using comments in your code. C.Identify an example of a use of search for special characters andwildcards in the script using comments in your code. II. ApplyingYour Experience Making mistakes when you learn to write code iscommon. It is part of learning. What is important is developing theskill of learning how to understand your errors and then fix them(debugging). For this part of your final project, you will respondto the following: a) Reflecting on your experience with thisactivity, explain the importance of knowing how and when to use asearch using literal characters, for sequences and ranges, and forspecial characters and wildcards. Support your response withexamples from the activity of the types of errors and your methodfor fixing them. Final Project Rubric Guidelines for Submission:Your submission should include all annotated text files of code forthe script, as well a Microsoft Word document that includes thereflection part of your assignment in which you explained theproblem-solving approaches you employed (critical element II).Critical Elements Exemplary (100%) Proficient (85%) NeedsImprovement (55%) Not Evident (0%) Value Literal CharactersIdentifies an example of the use of a search using literalcharacters in the script using comments in your code (100%)Identifies an example of the use of a search using literalcharacters in the script using comments in your code, but exampleis inappropriate or inaccurate, or comments lack key details (55%)Does not identify an example of the use of a search using literalcharacters in the script using comments in your code (0%) 24 4Sequences and Ranges Identifies an example of the use of a searchusing sequences and ranges in the script using comments in yourcode (100%) Identifies an example of the use of a search usingsequences and ranges in the script using comments in your code, butexample is inappropriate or inaccurate, or comments lack keydetails (55%) Does not identify an example of the use of a searchusing sequences and ranges in the script using comments in yourcode (0%) 24 Special Characters and Wildcards Identifies an exampleof the use of a search using special characters and wildcards inthe script using comments in your code (100%) Identifies an exampleof the use of a search using special characters and wildcards inthe script using comments in your code, but example isinappropriate or inaccurate, or comments lack key details (55%)Does not identify an example of the use of a search using specialcharacters and wildcards in the script using comments in your code(0%) 24 Applying Your Experience Explains how using regularexpressions are useful for finding data and necessary toflexibility, and is supported with examples from the activity aboutthe types of errors and your method for fixing them (100%) Explainshow using regular expressions are useful for finding data andnecessary to flexibility and is supported with examples from theactivity about the types of errors and your method for fixing them,but explanation is illogical, lacks key details, or is not specificto doing searches (55%) Does not explain how using regularexpressions are useful for finding data and necessary toflexibility (0%) 24 Articulation of Response Submission is free oferrors related use of citations, grammar, spelling, syntax, andorganization and is presented in a professional and easy-to- readformat (100%) Submission has no major errors related to use ofcitations, grammar, spelling, syntax, or organization (85%)Submission has major errors related to use of citations, grammar,spelling, syntax, or organization that negatively impactreadability and articulation of main ideas (55%) Submission hascritical errors related to use of citations, grammar, spelling,syntax, or organization that prevent understanding of ideas (0%) 4Total 100%

Expert Answer


Answer to 8-2 Final Project Script Four Submission: Pattern Search and Replace Script Part Four: Pattern Search Script Prompt Your… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *