You work as the application developer at Certkiller .com.
You are working on an
application named Certkiller App11. Certkiller App11 must be
configured to execute a
series of mathematical computations simultaneously.
What should you do next to configure Certkiller App11 to
execute a series of
mathematical computations simultaneously?



You work as the application developer at Certkiller .com. You are working on an application named ..

Answer / gaaa

A. Configure the IdealProcessor property of the
ProcessThread object.
B. Configure the ProcessorAffinity property of the
ProcessThread object.
C. Call the QueueUserWorkItem method of the ThreadPool class
for each calculation
which should be performed by Certkiller App11.
D. Configure the Process.GetCurrentProcess().BasePriority
property to be High.

Answer: C

Explanation: The ThreadPool class allows background tasks to
run in parallel hence
calculations can be queued to run as soon as a ThreadPool
Worker thread becomes
available. Because the ThreadPool can manage many worker
threads, calculations
will run in parallel.
ProcessThread.IdealProcessor requests a preferred processor
for the thread to run on, it
will not however spawn a new thread - which is what is
required here to enable
concurrency.
ProcessorAffinity gets or sets the processors that this
thread can be scheduled to run on.
Process.BasePriority gets the base priority of the process.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Microsoft Certifications Interview Questions

friend i have some question plz help me out 1 how hash function works on router 2 what is diffrence between broad cast doman and collison doman 3 what is the difference between L3 Switch and Router, If they Perform the same function why we need both of them?

1 Answers   TCS,


Is there any Microsoft Certification Examination for the software testing?

3 Answers  


How can I override blocking of inheritance?

1 Answers  


What's the difference between a site link's schedule and interval?

2 Answers   CMS,


You work as the application developer at Certkiller .com. The global cache contains an assembly named Certkiller Ass10. You are busy working on an assembly named Certkiller Ass09. Certkiller Ass9 includes a public method. You want the public method to be called from only Certkiller Ass10. Choose the permission class which you should use.

1 Answers  


what is pata channel & sata channel?

2 Answers   Slash Support,


What do you do to install a new Windows 2003 DC in a Windows 2000 AD?

1 Answers  


What is the Difference between Fat32 and NTFS partion?

6 Answers   IBM,


windows file/folder sharing ?

0 Answers   Consultancy,


what is thinclient? why we use? and how to install thinclient? basic requirement?

3 Answers  


How many Serial & Parallel Port in single desktop Pc?

2 Answers  


What is Web Space? Where we use Web Space?

1 Answers   Wipro,


Categories
  • Cisco Certifications Interview Questions Cisco Certifications (2321)
  • Microsoft Certifications Interview Questions Microsoft Certifications (171)
  • Sun Certifications Interview Questions Sun Certifications (45)
  • CISA Certification Interview Questions CISA Certification (744)
  • Oracle Certifications Interview Questions Oracle Certifications (64)
  • ISTQB Certification Interview Questions ISTQB Certification (109)
  • Certifications AllOther Interview Questions Certifications AllOther (295)