Question 1
How do you create a new thread in python using the threading module?
Question 2
When a thread is created ,is it started automatically by default?
Question 3
How can you give a name to a thread in python using the threading module?
Question 4
Which of the following methods can be used to check if a thread is currently active and running?
Question 5
Which of the following is the correct way to create a new thread and specify a function to run in that thread?
Question 6
In python's threading module, what is the primary difference between creating a thread by subclassing the thread class and using the target parameter?
Question 7
What is the purpose of the target parameter when creating a thread with the thread class?
Question 8
How can you set a thread to run as a daemon thread in python?
Question 9
What is the purpose of a daemon thread in python?
Question 10
what happens if you try to start a thread that has already been started or has finished its execution?