W3
Teacher
Explore
Browse by field
Artificial Intelligence
Accounting & Finance
Information Technology
Show all fields
Interview Q&A
All Interview Questions
Beginner
Intermediate
Advanced
Practice
MCQs
Quizzes
Mock Interviews
About
Light
Dark
Auto
Sign in
Get Started
Search interview questions
Search
79 questions for “Threading”
Found in 1 field. Select a question to see its full answer.
Matching topics
Python
Concurrency (asyncio/
threading
/multiprocessing)
15
Flutter
Flutter Isolates & Multi
threading
7
.NET MAUI
Concurrency &
Threading
5
.NET MAUI
Concurrency &
Threading
5
Information Technology
79 questions in 9 technologies
#
Question
Technology
Topic
Level
1
What is the fundamental difference between concurrency and parallelism, and how does this map to Python's
threading
versus multiprocessing modules?
Python › Concurrency (asyncio/threading/multiprocessing)
Python
Concurrency (asyncio/
threading
/multiprocessing)
Beginner
2
How do you create and run a basic thread using the
threading
module?
Python › Concurrency (asyncio/threading/multiprocessing)
Python
Concurrency (asyncio/
threading
/multiprocessing)
Beginner
3
How do you protect shared mutable state from race conditions when using multiple threads, using
threading
.Lock?
Python › Concurrency (asyncio/threading/multiprocessing)
Python
Concurrency (asyncio/
threading
/multiprocessing)
Intermediate
4
How do you correctly implement a producer-consumer pattern using System.
Threading
.Channels for asynchronous data pipelines?
C# › Asynchronous Programming
C#
Asynchronous Programming
Advanced
5
How would you implement a context manager for managing a lock (like
threading
.Lock) while ALSO adding a timeout, raising an error if the lock can't be acquired quickly enough?
Python › File I/O & Context Managers
Python
File I/O & Context Managers
Advanced
6
How would you implement a producer-consumer background processing pipeline using System.
Threading
.Channels alongside a BackgroundService?
ASP.NET Core › Background Tasks & Hosted Services
ASP.NET Core
Background Tasks & Hosted Services
Advanced
7
How do the
threading
models of Redis and Memcached differ, and what performance implications does this have?
Redis › Redis vs Memcached
Redis
Redis vs Memcached
Intermediate
8
What are the differences between Redis's
threading
model in older versions versus improvements introduced in more recent versions for handling input and output operations?
Redis › Redis Architecture & Installation
Redis
Redis Architecture & Installation
Advanced
9
What is the UI thread and why must UI updates happen on it?
.NET MAUI › Concurrency & Threading
.NET MAUI
Concurrency &
Threading
Beginner
10
What is the UI thread and why must UI updates happen on it?
.NET MAUI › Concurrency & Threading
.NET MAUI
Concurrency &
Threading
Beginner
Show all 79 questions in Information Technology