Become a GOLD Member and access 40+ Technology Courses...
Live Help (Start Chat)
Interview Questions and Answer
Options:
a. Threads are similar to processes, but differ in the way that they share resources.
b. Threads consumes less processor time.
c. Threads are different from processes.
d. Thread execution is scheduled more frequently.
Reveal Answer
Options:
a. ThreadPriority.AboveNormal.
b. ThreadPriority.High.
c. ThreadPriority.Normal.
d. ThreadPriority.Highest.
Reveal Answer
Options:
a. Preemptive
b. Non-Premptive
c. Preemptive and Non-Premptive
d. None
Reveal Answer
Options:
a. System.Threads
b. System.Threading
c. System.Threading.Thread
d. Threading.Threads
Reveal Answer
Options:
a. A Custom object
b. Object of type System.Threading.Thread
c. Can't say
d. Depends on the context
Reveal Answer
Options:
a. Main thread
b. Process
c. Application
d. Non-background thread
Reveal Answer
Options:
a. t.Join()
b. Join(3000)
c. t.IsAlive
d. t.Abort
Reveal Answer
Options:
a. improves
b. degrades
c. depends on the context
d. can't say
Reveal Answer
Options:
a. None
b. Semaphore
c. Mutex and semaphore
d. Mutex
Reveal Answer
Options:
a. Mutex
b. Semaphore
c. Mutex and semaphore
d. None
Reveal Answer
Options:
a. To perform background tasks
b. Handle simultaneous streams of input
c. Maximum usage of multiprocessor environment
d. All the above
Reveal Answer
Options:
a. It is a collection of threads to perform several tasks.
b. used For testing threads connection .
c. It is a collection of thread connection string
d. It is the array of Thread objects created by user.
Reveal Answer
Options:
a. It is a base class for synchronization of objects
b. It encapsulates the objects for shared objects
c. It suspends current running thread.
d. It stops current thread.
Reveal Answer
Options:
a. Monitor
b. Wait Handles
c. Using ThreadState
d. All the above
Reveal Answer
Options:
a. Both are same
b. Thread is a path of execution and process is a collection of threads
c. Process is a path of execution and thread is a collection of threads
d. Process is a part of thread.
Reveal Answer
Options:
a. It keeps the application alive
b. Closes the application as soon as this is closed
c. It is a thread that sleeps for every 1000milliseconds
d. None of the above
Reveal Answer
Options:
a. It keeps the application alive
b. Does not keep the application alive and terminate when all foreground threads are closed
c. It is a thread that sleeps for every 1000milliseconds
d. None of the above
Reveal Answer
Options:
a. It is running multiple programs at the same time.
b. Performing intense calculations
c. Running programs on different computers
Reveal Answer
Options:
a. Threadname.Priority(ThreadPriority.Highest)
b. Threadname.Priority = ThreadPriority.Highest
c. Threadname.PriorityState = ThreadPriority.Highest
d. Threadname.PriorityState(ThreadPriority.Highest)
Reveal Answer
Options:
a. Using System.Threading.Timeout.Infinite and use Thread.Start
b. Using System.Threading.Timeout.Infinite and use Thread.Interrupt
c. Using System.Threading.Sleep(MaxTime) and use Thread.Start
d. Using System.Threading.Sleep(MaxTime) and use Thread.Interrupt
Reveal Answer
Options:
a. Used to run two threads simultaneously
b. To stop an earlier thread
c. This is used to make sure an earlier task on a different thread has completed the execution.
d. None of the above
Reveal Answer
Options:
a. It helps in faster execution
b. Allows multiple entry points for all threads
c. Used to ensure a block of code to run uninterrupted.
d. None of the above
Reveal Answer
Options:
a. Output Window
b. Debug thread window
c. Immediate window
Reveal Answer
Bestdotnet google plus