Uncategorized

The Single- vs. Multi-Threading paper

Prior to beginning work on this assignment, read the following sections in your textbook: 4.1 to 4.3 and 4.8 in Chapter 4: Threads. In addition, answer the
following Practice Exercises: 4.1, and 4.3. Solutions to the Practice Exercises can be accessed via the textbook website: Chapter 4 (Links to an external site.).
Finally, read the Operating System – Multi-Threading tutorial (Links to an external site.).
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 Writing Center (Links to an external site.).
Must include a separate title page with the following:
Title of paper
Student’s name
Course name and number
Instructor’s name
Date submitted
Must document all sources in APA style as outlined in the Writing Center (Links to an external site.).
Must include a separate references page that is formatted according to APA style as outlined in the Writing Center (Links to an external site.).

Essay Mill

Share
Published by
Essay Mill

Recent Posts

Childbirth

For this short paper activity, you will learn about the three delays model, which explains…

4 weeks ago

Literature

 This is a short essay that compares a common theme or motif in two works…

4 weeks ago

Hospital Adult Medical Surgical Collaboration Area

Topic : Hospital adult medical surgical collaboration area a. Current Menu Analysis (5 points/5%) Analyze…

4 weeks ago

Predictive and Qualitative Analysis Report

As a sales manager, you will use statistical methods to support actionable business decisions for Pastas R Us,…

4 weeks ago

Business Intelligence

Read the business intelligence articles: Getting to Know the World of Business Intelligence Business intelligence…

4 weeks ago

Alcohol Abuse

The behaviors of a population can put it at risk for specific health conditions. Studies…

4 weeks ago