Chapter 14: Multithreaded Programming

 

Results

Previous
Next

#1. ____________ is a core concept of software programming that almost all the high level programming languages support.

Previous
Next

#2. _________ is the smallest unit of execution with the independent set of instructions.

Previous
Next

#3. _______ is a part of the process and operates in the same context sharing program’s runnable resources like memory.

Previous
Next

#4. The ability of a process to execute multiple threads parallelly is called ___________

Previous
Next

#5. Multithreading allows a program to remain responsive while one thread waits for input and another runs a ______ at the same time.

Previous
Next

#6. All the threads of a process have access to its ______ variable.

Previous
Next

#7. A thread can also have its own ______ variables.

Previous
Next

#8. _______ is required to avoid mutual exclusion while accessing shared resources of the process.

Previous
Next

#9. __________ increases the complexity of the program thus also making it difficult to debug.

Previous
Next

#10. Synchronization raises the possibility of potential ______

Previous
Next

#11. ________ may cause starvation when a thread doesn’t get regular access to shared resources.

Previous
Next

#12. The _____ method is the entry point for a thread.

Previous
Next

#13. The ________ method starts a thread by calling the run method.

Previous
Next

#14. _______ method waits for threads to terminate.

Previous
Next

#15. _________ method checks whether a thread is still executing.

Previous
Next

#16. The _______ method returns the name of a thread.

Previous
Next

#17. The ________ methods sets the name of a thread.

Previous
Next

#18. A new lock is created by calling the ______ method.

Previous
Next

#19. The _______ method of the new lock object is used to release the lock when it is no longer required.

Previous
Next

#20. The ______ removes and returns an item from the queue.

Previous
Next

#21. The _____ adds item to a queue.

Previous
Next

#22. The ______ returns the number of items that are currently in the queue.

Previous
Next

#23. ______ returns true if queue is empty.

Previous
Next

#24. The _____ returns true if queue is full.

Previous
Next

#25. The _____ module allows you to create a new queue object that can hold a specific number of items.

Previous
Finish