A computer can process 100 records of data in 200 milliseconds. If a millisecond is 1/1000 of a second, how many seconds does it take to process a file of 1000 records?
Solution 2 (using unit analysis)
Use unit conversion technique presented later in this chapter.
• One millisecond is 1/1000 second gives two reciprocal conversion factors: 1 / 1000 (seconds / millisecond) 1000 (milliseconds / second)
• 100 records processed in 200 milliseconds gives two reciprocal factors: 100 / 200 (records / millisecond) 200 / 100 (milliseconds / record)
• 1000 records in the file gives two reciprocal factors: 1000 (records / file) 1/1000 (file / record)
• Now, select the appropriate factors to find number of seconds to process the file:
x (seconds / file) = 1 / 1000 (seconds / milliseeertd)
* 200 / 100 (frtilliseeerids / reeefd)
* 1000 (records / file)
x (seconds / file) = (1 / -IOW) * (200 / * -1-000 (seconds / file)
= 2 (seconds / file)
Thus, it takes 2 seconds to process the file.
You might also like to view...
Describe how a computer uses its ARP table and the ARP protocol when preparing to transmit a packet to the local network.
What will be an ideal response?
Answer the following statements true (T) or false (F)
1. You can only use array indexed variables as arguments to methods. 2. A method can not change the values stored in the indexed variables of an array argument. 3. A collection class is a class whose objects store a collection of values. 4. You may cycle through elements of a collection object using a for loop. 5. In a vararg specification the ellipsis is not part of the Java syntax.
What events can occur during BootMgr's role in startup? (Choose all that apply.)
A. POST is performed B. MBR program searches for partition table C. the settings in the BCD are read D. Dual-boot menu is displayed
A server repeatedly crashes with a BSOD when running an application that uses a high amount of system resources. Which of the following hardware components MOST likely needs to be checked by a technician?
A. Memory B. Hard drive C. RAID controller D. CPU