Programming - Threads
You Are Here :: Home > JAVA > Threads - General Questions
31.
_________________ allow processes (i.e. programs) to run concurrently on the program.
A.
Multi Tasking
B.
Multi Threading
C.
Multi Performance
D.
none
Answer: Option A
Explanation:
Multitasking allow processes (i.e. programs) to run concurrently on the program.
32.
_______________________ is running heavyweight processes by a single OS.
A.
Multi Tasking
B.
Multi Threading
C.
Multi Performance
D.
none
Answer: Option A
Explanation:
Multitasking is running heavyweight processes by a single OS.
33.
_____________________________ is a technique that allows a program or a process to execute many tasks concurrently
A.
Multi Tasking
B.
Multi Threading
C.
Multi Performance
D.
none
Answer: Option B
Explanation:
Multithreading is a technique that allows a program or a process to execute many tasks concurrently
34.
In the _____________________ concept, several multiple lightweight processes are run in a single process/task or program by a single processor.
A.
Multi Tasking
B.
Multi Threading
C.
Multi Performance
D.
none
Answer: Option B
Explanation:
In the multithreading concept, several multiple lightweight processes are run in a single process/task or program by a single processor.
35.
In Java, the _________________ allows an application to have multiple threads of execution running concurrently.
A.
JVM
B.
JIT
C.
API
D.
JEE
Answer: Option A
Explanation:
In Java, the Java Virtual Machine (JVM) allows an application to have multiple threads of execution running concurrently.
36.
Advantages of multithreading over multitasking :
A.
Reduces the computation time.
B.
Improves performance of an application.
C.
Threads share the same address space so it saves the memory.
D.
all the above
Answer: Option D
Explanation:
Advantages of multithreading over multitasking :1)Reduces the computation time.2)Improves performance of an application.3)Threads share the same address space so it saves the memory.
« prev
next »