From the course: Programming Foundations: Inside Computing Hardware
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Parallel processing: Sequential vs. parallel tasks
From the course: Programming Foundations: Inside Computing Hardware
Parallel processing: Sequential vs. parallel tasks
- [Instructor] Let's discuss whether having higher number of cores mean better for parallel processing. In general, for computational tasks when using your computer, they're often classified as either sequential or parallel. This classification refers to whether the tasks can be executed one after the other or at the same time. Parallel tasks are the ones that can be broken down into smaller parts and can be done at the same time. They are independent of each other, meaning the result of one task does not affect the others. An example of a parallel task in computing is rendering different parts using a 3D modeling software because each object can be rendered independently of the others. Sequential tasks are those where the output from one task is the input for the next. They have to be executed in specific order and you cannot start the next task until the previous one is completed. An example is when loading a webpage…