Skip to content

USC-EE-250L-Spring-2023/lab-10-grace_caraline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab 10

Fork this repo and clone it to your machine to get started!

Team Members

  • Grace True
  • Caraline Baker

Lab Question Answers

Question 1: Under what circumstances do you think it will be worthwhile to offload one or both of the processing tasks to your PC? And conversely, under what circumstances will it not be worthwhile?

  • If the PC has significantly better hardware + processing times, it is worthwhile to offload processes to the pc because the processing time will be faster, however, if the hardware + processing times of a PC is only slightly better, then it is likely not worthwhile to offload the task(s) because the time for transfering the data will be significant compared to the time potentially 'saved'

Question 2: Why do we need to join the thread here?

Question 3: Are the processing functions executing in parallel or just concurrently? What is the difference? See this article: https://oxylabs.io/blog/concurrency-vs-parallelism ChatGPT is also good at explaining the difference between parallel and concurrent execution! Make sure to cite any sources you use to answer this question.

Question 4: What is the best offloading mode? Why do you think that is?

Question 5: What is the worst offloading mode? Why do you think that is?

Question 6: The processing functions in the example aren't very likely to be used in a real-world application. What kind of processing functions would be more likely to be used in a real-world application? When would you want to offload these functions to a server?

About

lab-10-grace_caraline created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages