MCQOPTIONS
Saved Bookmarks
This section includes 4 Mcqs, each offering curated multiple-choice questions to sharpen your C# Questions & Answers Multithreaded Programming 1 knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which of these methods of Thread class is used to Suspend a thread for a period of time? |
| A. | sleep() |
| B. | terminate() |
| C. | suspend() |
| D. | stop() |
| Answer» B. terminate() | |
| 2. |
Choose the namespace which supports multithreading programming? |
| A. | System.net |
| B. | System.Linq |
| C. | System.Threading |
| D. | All of the mentioned |
| Answer» D. All of the mentioned | |
| 3. |
Choose the statements which indicate the differences between the thread based multitasking and process based multitasking. |
| A. | Process-based multitasking handles the concurrent execution of programs |
| B. | Process-based multitasking handles the concurrent execution of pieces of the same program |
| C. | Thread-based multitasking handles the concurrent execution of programs |
| D. | Thread-based multitasking deals with the concurrent execution of pieces of the same program |
| Answer» B. Process-based multitasking handles the concurrent execution of pieces of the same program | |
| 4. |
Choose the correct statement about process-based multitasking. |
| A. | A feature that allows our computer to run two or more programs concurrently |
| B. | A program that acts as a small unit of code that can be dispatched by the scheduler |
| C. | Only A program that acts as a small unit of code that can be dispatched by the scheduler |
| D. | Both A feature that allows our computer to run two or more programs concurrently & A program that acts as a small unit of code that can be dispatched by the scheduler |
| Answer» E. | |