Skip to content
#1. ____________ is a core concept of software programming that almost all the high level programming languages support.
#2. _________ is the smallest unit of execution with the independent set of instructions.
#3. _______ is a part of the process and operates in the same context sharing program’s runnable resources like memory.
#4. The ability of a process to execute multiple threads parallelly is called ___________
#5. Multithreading allows a program to remain responsive while one thread waits for input and another runs a ______ at the same time.
#6. All the threads of a process have access to its ______ variable.
#7. A thread can also have its own ______ variables.
#8. _______ is required to avoid mutual exclusion while accessing shared resources of the process.
#9. __________ increases the complexity of the program thus also making it difficult to debug.
#10. Synchronization raises the possibility of potential ______
#11. ________ may cause starvation when a thread doesn’t get regular access to shared resources.
#12. The _____ method is the entry point for a thread.
#13. The ________ method starts a thread by calling the run method.
#14. _______ method waits for threads to terminate.
#15. _________ method checks whether a thread is still executing.
#16. The _______ method returns the name of a thread.
#17. The ________ methods sets the name of a thread.
#18. A new lock is created by calling the ______ method.
#19. The _______ method of the new lock object is used to release the lock when it is no longer required.
#20. The ______ removes and returns an item from the queue.
#21. The _____ adds item to a queue.
#22. The ______ returns the number of items that are currently in the queue.
#23. ______ returns true if queue is empty.
#24. The _____ returns true if queue is full.
#25. The _____ module allows you to create a new queue object that can hold a specific number of items.