Question

Q2. Determine if the following problems exhibit task or data parallelism: 1. Web server that listens...

Q2. Determine if the following problems exhibit task or data parallelism: 1. Web server that listens to new connections and serves many connections simultaneously. 2. Search a huge file and count the occurrence of specific word. 3. Change the sharpness of A large image

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Task parallelism means where we can do multiple independent tasks more like separate programs each working on their data on the other hand data parallelism means where we divide data and do the same tasks on different processors.

  1. A web server that listens to new connections and serves many connections simultaneously.

This case it is task parallelism where the processor has to identify every new connection and also serves the current connections, (two different tasks).

  1. Search a huge file and count the occurrence of a specific word.

This case it is task parallelism where the task is to search the file and count the occurrence of a word, (two different tasks).

  1. Change the sharpness of a large image.

This case data parallelism because the same task is divided into several threads and process simultaneously, (only one task, parallel processing).

Add a comment
Know the answer?
Add Answer to:
Q2. Determine if the following problems exhibit task or data parallelism: 1. Web server that listens...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Determine if the following problems exhibit task or data parallelism: •Using a separate thread to generate...

    Determine if the following problems exhibit task or data parallelism: •Using a separate thread to generate a thumbnail for each photo in a collection •Transposing a matrix in parallel •A networked application where one thread reads from the network and another writes to the network •The fork-join array summation application described in Section 4.5.2 •The Grand Central Dispatch system.

  • I can't attach the data due to the file being real large i can email it...

    I can't attach the data due to the file being real large i can email it to you so i can have your help on it # Assignment 1 # R Programming Language # ---- Why do Exploratory Data Analysis (EDA)? ---- # We will be looking at ## identifying outliers ## null values ## generating plots ## examining correlations # -------------------------------------------------------------- # In this video we will cover: ## univariate plots for continuous variables (boxlots, historgrams) ## bivariate plots...

  • Design an original, professional web site following the specifications listed below. This web sit...

    Design an original, professional web site following the specifications listed below. This web site will be for a business you plan to set up for yourself or for someone else. The following is a detailed list of the requirements for your web site. READ them carefully. Instructions - Web Site Requirements for the web site: General: You will thoroughly test all your pages in more than one browser. All links MUST work. All graphics must show on the page. All...

  • i have the case study question with the answers but i need help to re-write the...

    i have the case study question with the answers but i need help to re-write the answers. please see the attached files Case Study Analysis (CSF3003) Assessment Description and Requirements CLO1: Case Study 1 Ahmad lef home to study master and PhD in Australia. He has fees for the first semester only. After he arrived to Sydney and settled down, he start looking for a part-time job to save money for the next term. Ahmad has some experience on making...

  • And there was a buy-sell arrangement which laid out the conditions under which either shareholder could...

    And there was a buy-sell arrangement which laid out the conditions under which either shareholder could buy out the other. Paul knew that this offer would strengthen his financial picture…but did he really want a partner?It was going to be a long night. read the case study above and answer this question what would you do if you were Paul with regards to financing, and why? ntroductloh Paul McTaggart sat at his desk. Behind him, the computer screen flickered with...

  • First, read the article on "The Delphi Method for Graduate Research." ------ Article is posted below...

    First, read the article on "The Delphi Method for Graduate Research." ------ Article is posted below Include each of the following in your answer (if applicable – explain in a paragraph) Research problem: what do you want to solve using Delphi? Sample: who will participate and why? (answer in 5 -10 sentences) Round one questionnaire: include 5 hypothetical questions you would like to ask Discuss: what are possible outcomes of the findings from your study? Hint: this is the conclusion....

  • Please read the article and answer about questions. You and the Law Business and law are...

    Please read the article and answer about questions. You and the Law Business and law are inseparable. For B-Money, the two predictably merged when he was negotiat- ing a deal for his tracks. At other times, the merger is unpredictable, like when your business faces an unexpected auto accident, product recall, or government regulation change. In either type of situation, when business owners know the law, they can better protect themselves and sometimes even avoid the problems completely. This chapter...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT