Multiple Choice
Suppose thread one is downloading a 800KB file while another thread is processing the same file on a multi-CPU machine. Suppose further that one time slice allows the first thread to download about 10KB and that the second thread can process 10KB of the file in one time slice. What is the minimum number of CPUs that will allow the job to be completed in roughly half the time of a single-CPU machine?
A) 1
B) 2
C) 3
D) 4
Correct Answer:

Verified
Correct Answer:
Verified
Q12: Class MyClass has a single ReentrantLock object,
Q35: a(n. _ object is used to control
Q41: What happens if we try to start
Q49: Class MyClass has two ReentrantLock objects, myLock1
Q73: Consider an old fashioned telephone booth that
Q74: Assume two threads share a BankAccount object
Q75: Suppose thread one is downloading a 800KB
Q79: Suppose run1 and run2 are objects of
Q80: Suppose thread one is downloading a 800KB
Q81: Examine the SharedData class shown below. Suppose