Documente Academic
Documente Profesional
Documente Cultură
Bloom E
No levels Question A B C D Ans
.
REMEMB Thread is a Heavy weight Light weight Medium None B
1 ERING process process weight
process
REMEMB Thread Runnable() Running() Waiting() Stop() D
ERING termination
2
can be done
by
REMEMB If the Start Runnable Running Waiting C
ERING processor is
3 available then
thread enters
into
REMEMB If the thread Start Runnable Running Waiting B
ERING is ready for
4 execution
then it enters
into
REMEMB Sleep() seconds milliseconds microseconds nanoseconds B
5 ERING method takes
time in
REMEMB What state New Runnable Running Waiting A
ERING does Thread
enter in when
6 it has been
created and
started?
REMEMB Which of run() Alive() isAlive() join() C
ERING these method
is used to
7 find out that a
thread is still
running or
not?
REMEMB Which of sleep() stop() isAlive() join() D
ERING these method
8 waits for the
thread to
terminate?
REMEMB Which of Thread execution of Same All D
ERING these is valid behaviour is Threads threading
about threads unpredictable depends on program may
in java Thread produce
scheduler different
9
output in
subsequent
executions
even on same
platform
10 REMEMB Which of set() make() setPriority() makePriority() C
ERING these method
is used to
explicitly set
the priority of
a thread?
REMEMB Which of stop() stopThread() runThread() run()
ERING these method
is used to
11 D
implement
Runnable
interface?
REMEMB Which of Runnable Set Connections MapConnectio
ERING these ns
interface is
12 A
implemented
by Thread
class?
REMEMB Which of get() Priority() ThreadPriorit getPriority() D
ERING these method y()
of Thread
class is used
13 to find out
the priority
given to a
thread?