Log In
0% completed
All Lessons
Free Lessons
The Basics
Introduction
Program vs Process vs Thread
Concurrency vs Parallelism
Cooperative Multitasking vs Preemptive Multitasking
Synchronous vs Asynchronous
I/O Bound vs CPU Bound
Throughput vs Latency
Critical Sections & Race Conditions
Deadlocks, Liveness & Reentrant Locks
Mutex vs Semaphore
Mutex vs Monitor
Hoare vs Mesa Monitors
Semaphore vs Monitor
Amdahl's Law
Moore’s Law
API Overview
Creating Threads
... continued
Sleeping and Terminating Threads
Exception Handling in Threads
Thread Variables
Mutex
...continued
Condition Variables
... continued
... continued
Monitor
... continued
Global Interpreter Lock
Quiz 1
Quiz 2
Quiz 3
Quiz 4
Brief Intro to Asynchronous Programming
Introduction
... continued
Fiber
... continued
... continued
Interview Practice Problems
Implementing Semaphore
Blocking Queue | Bounded Buffer | Consumer Producer
... continued
... continued
Rate Limiting Using Token Bucket Filter
Thread Safe Deferred Callback
ReadWrite Lock
Unisex Bathroom Problem
Implementing a Barrier
Uber Ride Problem
Dining Philosophers
Barber Shop
Asynchronous to Synchronous Problem
Multithreaded Merge Sort
Thread-safe Singleton
Bonus Questions
Ordered Printing
Printing Number Series (Zero, Even, Odd)
Printing FooBar n Times
Build a Molecule
Fizz Buzz Problem
Epilogue
Acknowledgements
Home
/
...
/
Quiz 4
Quiz 4
Questions relating to the Threading API covered in this chapter.
Access this course and
1400+
top-rated courses and projects.
Unlock Full Access
Preview Free Lessons
→
Preview Free Lessons