NSCT – Concurrency & Parallelism (Introductory) MCQs

20 min Score: 0 Attempted: 0/20 Subscribe
1. What is concurrency in programming?





2. What is parallelism in programming?





3. Which is the main difference between concurrency and parallelism?





4. What is a thread?





5. What is a process in programming?





6. Which problem occurs when two threads try to access the same resource simultaneously?





7. What is a deadlock?





8. What is a critical section?





9. Which of the following is used to control access to shared resources?





10. What is synchronization in concurrent programming?





11. Which of the following can improve program performance by executing tasks simultaneously?





12. Which is a common method to implement concurrency in programming?





13. What is a thread-safe operation?





14. Which is a common challenge in concurrent programming?





15. Which scheduling technique allows multiple tasks to share CPU time effectively?





16. Which programming model divides a program into independent threads for execution?





17. Which of the following is true about parallelism?





18. Which of the following helps prevent conflicts when multiple threads access shared data?





19. What is context switching?





20. What is the main goal of concurrency and parallelism?





All Copyrights Reserved 2025 Reserved by T4Tutorials