Programming - Threads
You Are Here :: Home > JAVA > Threads - General Questions
1.
A ___________________ is a sequential path of code execution within a program.
A.
Thread
B.
Synchronization
C.
Applets
D.
Assertions
Answer: Option A
Explanation:
A thread is a sequential path of code execution within a program.
2.
A _____________ is an instance of a computer program that is executed sequentially.
A.
Process
B.
Method
C.
Compilation
D.
Assertions
Answer: Option A
Explanation:
A process is an instance of a computer program that is executed sequentially.
3.
A _________________ is a lightweight process which exist within a program and executed to perform a special task.
A.
Thread
B.
Synchronization
C.
Applets
D.
Assertions
Answer: Option A
Explanation:
A thread is a lightweight process which exist within a program and executed to perform a special task.
4.
Several threads of execution may be associated with a single process. Thus a process that has only one thread is referred to as a ______________
A.
Single-Threaded Process
B.
Multi-Threaded Process
C.
both A and B
D.
none
Answer: Option A
Explanation:
Several threads of execution may be associated with a single process. Thus a process that has only one thread is referred to as a single-threaded process
5.
Several threads of execution may be associated with a multiple process. Thus a process that has only one thread is referred to as a ________________
A.
Single-Threaded Process
B.
Multi-Threaded Process
C.
both A and B
D.
none
Answer: Option B
Explanation:
Several threads of execution may be associated with a multiple process. Thus a process that has only one thread is referred to as a multi-threaded process
6.
_____________ concept is very important in Java through which we can increase the speed of any application.
A.
Threading
B.
Synchronization
C.
Applets
D.
Assertions
Answer: Option A
Explanation:
Threading concept is very important in Java through which we can increase the speed of any application.
next »