Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

Which module should be used for CPU-bound parallelism in Python?

  1. A threading
  2. B multiprocessing
  3. C asyncio
  4. D queue
Answer

multiprocessing

multiprocessing runs separate interpreters each with their own GIL. The cost is that data must be pickled between processes.

All Python MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as