Multiple Choice
Suppose thread one is downloading a 800KB file while another thread is processing the same file on a single 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. How many total time slices will it take to process half the file?
A) thirty
B) forty
C) eighty
D) hundred
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
Q70: If you do not use the Runnable
Q71: Which are ways that a thread can
Q73: Consider an old fashioned telephone booth that
Q74: Assume two threads share a BankAccount object
Q78: Suppose thread one is downloading a 800KB
Q79: Suppose run1 and run2 are objects of
Q80: Suppose thread one is downloading a 800KB