Single- vs. Multi-Threading

Part One:

To complete this assignment, review the programming scenarios given below, and explain why a multi-threaded or single-threaded solution is more effective for each. Support your statements with evidence from your sources.

  • A printer that is performing the job of printing a set of documents
  • An application that allows the graphical user interface (GUI) to remain responsive while processing a large number of files
  • A Python webserver that listens for requests, reads them, and pushes the data in the database
  • A shell program that closely monitors its own working space, such as open files, environment variables, and current working directory
  • A program that calculates a large number of payments where each calculation is independent of other payment calculations

Part Two:
Use the following guidelines to create three additional programming scenarios similar to the ones given in Part One.

  • Write Scenario One such that the most effective solution is a single-threaded process.
  • Write Scenario Two such that the most effective solution is a multi-threaded process.
  • Write Scenario Three such that the most effective solution is either a single-threaded or multi-threaded process.

Explain why a multi-threaded or single-threaded solution is more effective for each scenario. Support your statements with evidence from your sources.

The Single- vs. Multi-Threading paper

  • Must be two to three double-spaced pages (400 to 750 words) in length (not including title and references pages) and formatted according to APA style as outlined in the .
  • Must include a separate title page with the following:
    • Title of paper
    • Students name
    • Course name and number
    • Instructors name
    • Date submitted
  • Must document all sources in APA style as outlined in the .
  • Must include a separate references page that is formatted according to APA style as outlined in the .

Carefully review the grading rubric below and follow the .

Rubric

CPT304 W2A1 01.26

CPT304 W2A1 01.26

Criteria Ratings Pts

This criterion is linked to a Learning OutcomeExplains Why a Multi-threaded or Single-threaded Solution is Most Effective for Each Scenario

2 ptsDistinguishedComprehensively explains why a multi-threaded or single-threaded solution is most effective for each scenario fully supporting the explanation with applicable information from credible sources.1.76 ptsProficientExplains why a multi-threaded or single-threaded solution is most effective for each scenario mostly supporting the explanation with applicable information from credible sources. The explanation is slightly underdeveloped.

1.54 ptsBasicMinimally explains why a multi-threaded or single-threaded solution is most effective for each scenario somewhat supporting the explanation with applicable information from credible sources. The explanation is underdeveloped.0.96 ptsBelow ExpectationsAttempts to explain why a multi-threaded or single-threaded solution is most effective for each scenario; however, does not support the explanation with applicable information from credible sources, and the explanation is significantly underdeveloped.0 ptsNon-PerformanceThe explanation of why a multi-threaded or single-threaded solution is most effective for each scenario is either nonexistent or lacks the components described in the assignment instructions.

2 pts

This criterion is linked to a Learning OutcomeWrites Scenario 1 such that the Most Effective Solution is a Single-Threaded Process, and Explains Why a Single-threaded Solution is Most Effective for This Scenario

1 ptsDistinguishedWrites a comprehensive Scenario 1 such that the most effective solution is a single-threaded process, and clearly and comprehensively explains why a single-threaded solution is most effective for this scenario, fully supporting the explanation with applicable information from credible sources.0.88 ptsProficientWrites a Scenario 1 such that the most effective solution is a single-threaded process, and clearly explains why a single-threaded solution is most effective for this scenario, supporting the explanation with applicable information from credible sources. Minor details are missing or slightly unclear.

0.76 ptsBasicWrites a limited Scenario 1 such that the most effective solution is a single-threaded process, and minimally explains why a single-threaded solution is most effective for this scenario, somewhat supporting the explanation with applicable information from credible sources. Relevant details are missing and/or unclear.0.64 ptsBelow ExpectationsAttempts to write a Scenario 1 such that the most effective solution is a single-threaded process and explain why a or a single-threaded solution is most effective for this scenario; however, does not support the explanation with applicable information from credible sources, and significant details are missing and unclear.0 ptsNon-PerformanceScenario 1 and the explanation of why a single-threaded solution is most effective for this scenario are either nonexistent or lack the components described in the assignment instructions.

1 pts

This criterion is linked to a Learning OutcomeWrites Scenario 2 such that the Most Effective Solution is a Multi-threaded process, and Explains why a Multi-threaded Solution is Most Effective for This Scenario

1 ptsDistinguishedWrites a comprehensive Scenario 2 such that the most effective solution is a multi-threaded process, and clearly and comprehensively explains why a multi-threaded solution is most effective for this scenario, fully supporting the explanation with applicable information from credible sources.0.88 ptsProficientWrites Scenario 2 such that the most effective solution is a multi-threaded process, and clearly explains why a multi-threaded solution is most effective for this scenario, supporting the explanation with applicable information from credible sources. Minor details are missing or slightly unclear.

0.76 ptsBasicWrites a limited Scenario 2 such that the most effective solution is a multi-threaded process, and minimally explains why a multi-threaded solution is most effective for this scenario, somewhat supporting the explanation with applicable information from credible sources. Relevant details are missing and/or unclear.0.64 ptsBelow ExpectationsAttempts to write a Scenario 2 such that the most effective solution is a multi-threaded process and explain why a multi-threaded solution is most effective for this scenario; however, does not support the explanation with applicable information from credible sources, and significant details are missing and unclear.0 ptsNon-PerformanceScenario 2 and the explanation of why a multi-threaded solution is most effective for this scenario are either nonexistent or lack the components described in the assignment instructions.

1 pts

This criterion is linked to a Learning OutcomeWrites Scenario 3 such that the Most Effective Solution is Either a Single-threaded or Multi-threaded proces, and Explains Why a Multi-threaded or Single-threaded Solution is Most Effective for This Scenario

1 ptsDistinguishedWrites a comprehensive Scenario 3 such that the most effective solution is either a single-threaded or multi-threaded process, and clearly and comprehensively explains why a multi-threaded or single-threaded solution is most effective for this scenario, fully supporting the explanation with applicable information from credible sources.0.88 ptsProficientWrites a Scenario 3 such that the most effective solution is either a single-threaded or multi-threaded process, and clearly explains why a multi-threaded or a single-threaded solution is most effective for this scenario, supporting the explanation with applicable information from credible sources. Minor details are missing or slightly unclear.

0.76 ptsBasicWrites a limited Scenario 3 such that the most effective solution is either a single-threaded or multi-threaded process, and minimally explains why a multi-threaded or a single-threaded solution is most effective for this scenario, somewhat supporting the explanation with applicable information from credible sources. Relevant details are missing and/or unclear.0.64 ptsBelow ExpectationsAttempts to write a Scenario 3 such that the most effective solution is either a single-threaded or multi-threaded process and explain why a multi-threaded or a single-threaded solution is most effective for this scenario; however, does not support the explanation with applicable information from credible sources, and significant details are missing and unclear.0 ptsNon-PerformanceScenario 3 and the explanation of why a multi-threaded or a single-threaded solution is most effective for this scenario are either nonexistent or lack the components described in the assignment instructions.

1 pts

This criterion is linked to a Learning OutcomeWritten Communication: Control of Syntax and Mechanics

0.34 ptsDistinguishedDisplays meticulous comprehension and organization of syntax and mechanics, such as spelling and grammar. Written work contains no errors and is very easy to understand.0.3 ptsProficientDisplays comprehension and organization of syntax and mechanics, such as spelling and grammar. Written work contains only a few minor errors and is mostly easy to understand.

0.26 ptsBasicDisplays basic comprehension of syntax and mechanics, such as spelling and grammar. Written work contains a few errors which may slightly distract the reader.0.22 ptsBelow ExpectationsFails to display basic comprehension of syntax or mechanics, such as spelling and grammar. Written work contains major errors which distract the reader.0 ptsNon-PerformanceThe assignment is either nonexistent or lacks the components described in the instructions.

0.34 pts

This criterion is linked to a Learning OutcomeWritten Communication: APA Formatting

0.33 ptsDistinguishedAccurately uses APA formatting consistently throughout the paper, title page, and reference page.0.29 ptsProficientExhibits APA formatting throughout the paper. However, layout contains a few minor errors.

0.25 ptsBasicExhibits limited knowledge of APA formatting throughout the paper. However, layout does not meet all APA requirements.0.21 ptsBelow ExpectationsFails to exhibit basic knowledge of APA formatting. There are frequent errors, making the layout difficult to distinguish as APA.0 ptsNon-PerformanceThe assignment is either nonexistent or lacks the components described in the instructions.

0.33 pts

This criterion is linked to a Learning OutcomeWritten Communication: Page Requirement

0.33 ptsDistinguishedThe length of the paper is equivalent to the required number of correctly formatted pages.0.29 ptsProficientThe length of the paper is nearly equivalent to the required number of correctly formatted pages.

0.25 ptsBasicThe length of the paper is equivalent to at least three quarters of the required number of correctly formatted pages.0.21 ptsBelow ExpectationsThe length of the paper is equivalent to at least one half of the required number of correctly formatted pages.0 ptsNon-PerformanceThe assignment is either nonexistent or lacks the components described in the instructions.

0.33 pts

WRITE MY PAPER

Comments

Leave a Reply