A) Executor.
B) Executors.
C) ExecutorService.
D) Thread.
Correct Answer
verified
Multiple Choice
A) Thread.
B) Runner.
C) Runnable.
D) None of the above.
Correct Answer
verified
Multiple Choice
A) A producer can never produce faster than the consumer is consuming.
B) A consumer can never consume faster than the producer is producing.
C) A producer can produce more items than a consumer consumes.
D) A consumer can consume more items than a producer produces.
Correct Answer
verified
Multiple Choice
A) put and take.
B) add and remove.
C) push and pop.
D) place and get.
Correct Answer
verified
Multiple Choice
A) consumer,producer.
B) producer,consumer.
C) outputter,inputter.
D) None of the above.
Correct Answer
verified
Multiple Choice
A) notifyThread,notifyAllThreads.
B) wakeUpThread,wakeUpAllThreads.
C) notify,notifyAll.
D) None of the above.
Correct Answer
verified
Multiple Choice
A) MutEx.
B) Condition.
C) Lock.
D) Signal.
Correct Answer
verified
Multiple Choice
A) waitForOtherThreads.
B) stop.
C) waitForCondition.
D) wait.
Correct Answer
verified
Multiple Choice
A) monitor lock,intrinsic lock.
B) built-in lock,free lock.
C) mutual exlcusion lock,synchronization lock.
D) None of the above.
Correct Answer
verified
Multiple Choice
A) signalEach.
B) signalAll.
C) signal.
D) signalMethods.
Correct Answer
verified
Multiple Choice
A) at least one thread carries out its operations on an object at a time.
B) two threads carry out their operations on an object in parallel.
C) only one thread carries out its operations on an object at a time.
D) None of the above.
Correct Answer
verified
Multiple Choice
A) runnable.
B) waiting.
C) terminated.
D) new.
Correct Answer
verified
Multiple Choice
A) Quantum.
B) Processor burst.
C) Time allocation.
D) Scheduling interval.
Correct Answer
verified
Multiple Choice
A) The consumer must run first.
B) The producer must run first.
C) The producer must run first or the consumer will have to wait.
D) The consumer must run first or the producer will have to wait.
Correct Answer
verified
Multiple Choice
A) waitForTermination.
B) wait.
C) awaitTermination.
D) None of the above.
Correct Answer
verified
Multiple Choice
A) synchronized.
B) shared.
C) thread.
D) writeable.
Correct Answer
verified
Multiple Choice
A) get.
B) call.
C) run.
D) execute.
Correct Answer
verified
Multiple Choice
A) It is a subinterface of Executor.
B) It is an object that can be run in a separate thread.
C) It declares method shutdown.
D) It manages a group of threads.
Correct Answer
verified
Multiple Choice
A) starting
B) main
C) local
D) None of the above.
Correct Answer
verified
Multiple Choice
A) lock.
B) signal.
C) sleep.
D) await.
Correct Answer
verified
Showing 1 - 20 of 25
Related Exams