
Python Threads
Authored by Mohamed Ibrahim
Computers, Professional Development, Instructional Technology
University
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Python library runs a function as thread?
None
_threading
threading
thread
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does run() method is invoked?
By Thread.run()
By Thread.start()
By Thread.create()
None
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to terminate a blocking thread?
thread.stop() & thread.wait()
thread.stop()
thread.terminate()
None
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to identify a thread?
getThread()
None
getName()
get_ident()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the libraries in Python that support threads?
_threading
th
None
thread
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does global value mutation used for thread-safety?
via GIL (Global Interpreter Lock)
via Locking
via Mutex
None
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the method to retrieve the list of all active threads?
getList()
getThreads()
enumerate()
threads()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
12 questions
Python Quiz 1.4
Quiz
•
University
18 questions
Agenda and Minutes - Intra Office Communication
Quiz
•
8th Grade - University
20 questions
Python Recap
Quiz
•
7th Grade - University
20 questions
Marketing Managemetn Minigame 2
Quiz
•
University
20 questions
LAHTM Tourism and Hospitality as a Trade
Quiz
•
University
11 questions
Persuasive Message
Quiz
•
University
20 questions
STM 2013 : FORMATIF T3-FORM & REPORT
Quiz
•
University
15 questions
PEC 101 Educ. Technology
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade