
Python Multi-Threading

Quiz
•
Computers
•
University
•
Hard
Assistant Chennai
Used 9+ times
FREE Resource
Student preview

6 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Select the Correct statement about multi-threading.
It is the ability of a processor to execute multiple threads concurrently
It allows the program to speed up the execution
Threads within the same process can share the memory and resources of the main thread.
Multiple threads work together to achieve a common goal
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A process can be ___________
single threaded
multithreaded
both single threaded and multithreaded
none of the mentioned
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What the two different types of thread?
Kernel thread
Device thread
User thread
Network thread
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What are the two modules in python 3.x used for thread implementation?
_thread
threading
__thread
__Threading
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method returns the count of active threads in the caller's thread control?
threading.activeCount()
threading.currentThread()
threading.enumerate()
All the above
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Select the correct statement to create a new thread in python 3.x using thread module
thread.start_new_thread ( function, args[, kwargs] )
-thread.start_new_thread ( function, args[, kwargs] )
_thread.start_new_thread ( function, args[, kwargs] )
thread.new_thread ( function, args[, kwargs] )
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade