1. Select the type of multitasking methods exists really:
a) process based
b) thread based
c) only a
d) Both a & b
2. Choose the correct statement about process-based multitasking:
a) feature that allows our computer to run two or more programs concurrently
b) program acts as a small unit of code that can be dispatched by the scheduler
c) Only b
d) Both a & b
3. Choose the statements which differs the thread based multitasking and process based multitasking from each other:
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
e) both a and d
4. What is the advantage of the multithreading programs?
a) Enables to utilize the idle and executing time present in most programs
b) Enables to utilize the idle time presnt in most programs
c) Both a & b
d) Only b
5. Select the two type of threads mentioned in the concept of multithreading:
a) foreground
b) background
c) only a
d) Both a & b
6. Number of threads exists there for each of the processes that occures in the program:
a) atmost 1
b) atleast 1
c) only 1
d) Both a & c
7. Choose the namespace which supports the multithreading programming:
a) System.net
b) System.Linq
c) System.Threading
d) All of the mentioned
8. What does the given code snippet specifies?
a) Defines a thread
b) Deceleration of thread constructor
c) Only a
d) Only a & b
9. Which of these class is used to make a thread?
a) String
b) System
c) Thread
d) Runnable
10. On call of which type of method the new created thread will not start executing?
a) Begin()
b) Start()
c) New()
d) All of the mentioned
11. Which of these method of Thread class is used to Suspend a thread for a period of time?
a) sleep()
b) terminate()
c) suspend()
d) stop()
a) process based
b) thread based
c) only a
d) Both a & b
2. Choose the correct statement about process-based multitasking:
a) feature that allows our computer to run two or more programs concurrently
b) program acts as a small unit of code that can be dispatched by the scheduler
c) Only b
d) Both a & b
3. Choose the statements which differs the thread based multitasking and process based multitasking from each other:
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
e) both a and d
4. What is the advantage of the multithreading programs?
a) Enables to utilize the idle and executing time present in most programs
b) Enables to utilize the idle time presnt in most programs
c) Both a & b
d) Only b
5. Select the two type of threads mentioned in the concept of multithreading:
a) foreground
b) background
c) only a
d) Both a & b
6. Number of threads exists there for each of the processes that occures in the program:
a) atmost 1
b) atleast 1
c) only 1
d) Both a & c
7. Choose the namespace which supports the multithreading programming:
a) System.net
b) System.Linq
c) System.Threading
d) All of the mentioned
8. What does the given code snippet specifies?
public Thread(ThreadStart start)
b) Deceleration of thread constructor
c) Only a
d) Only a & b
9. Which of these class is used to make a thread?
a) String
b) System
c) Thread
d) Runnable
10. On call of which type of method the new created thread will not start executing?
a) Begin()
b) Start()
c) New()
d) All of the mentioned
11. Which of these method of Thread class is used to Suspend a thread for a period of time?
a) sleep()
b) terminate()
c) suspend()
d) stop()