Answer:
1 PROCESSOR :
(1 × 2.56 × 10^9) + (12 × 1.28 × 10^9) + (5 × 2.56 × 10^8) / 2 GHz = 9.6 s
2 PROCESSORS :
(1×2.56×10^9)+(12×1.28×10^9)/0.7×2 + (5 × 2.56 × 10^8) / 2 GHz = 7.04 s
Speed -up is 1.36
4 PROCESSORS :
(1×2.56×10^9)+(12×1.28×10^9)/0.7×4 + (5 × 2.56 × 10^8) / 2 GHz = 3.84 s
Speed -up is 2.5
5 PROCESSORS :
(1×2.56×10^9)+(12×1.28×10^9)/0.7×8 + (5 × 2.56 × 10^8) / 2 GHz = 2.24 s
Speed -up is 4.29
Explanation:
The following formula is used in this answer:
EXECUTION TIME = CLOCK CYCLES / CLOCK RATE
Execution Time is equal to the clock cycle per clock rate
<u>Answer:</u>
<em>void main ( ) </em>
<em> { </em>
<em> int counter; </em>
<em> cout<<""Even numbers between 1 to 20 are:""<<endl ; </em>
<em> //Method 1
</em>
<em> for (counter = 1; counter <= 20; counter++) </em>
<em> { </em>
<em> if ( counter%2 == 0) </em>
<em> {
</em>
<em> cout<<counter<<""\t""<<endl ; </em>
<em> } </em>
<em> } </em>
<em>//Method 2 – simplest one
</em>
<em>for (counter = 2; counter <= 20;) </em>
<em> { </em>
<em> cout<<counter<<""\t""<<endl ; </em>
<em>counter = counter + 2;
</em>
<em> </em>
<em> }
</em>
<em>
</em>
<em> return 0; </em>
<em>}
</em>
<u>Explanation:</u>
In this, Method 1 runs a for loop and check whether each number is divided by 2. If yes, then printed otherwise it is skipped.
In the second method, it runs for loop only for even numbers. <em>This is obtained by incrementing the counter by 2.
</em>
Answer:
A typical digital computer system has four basic functional elements: (1) input-output equipment, (2) main memory, (3) control unit, and (4) arithmetic-logic unit. Any of a number of devices is used to enter data and program instructions into a computer and to gain access to the results of the processing operation.
Explanation:
Given? What’s the question ? Could you elaborate
<span>Global configuration mode can be accessed by entering the enable command.</span><span>
The device prompt for this mode ends with the ">" symbol.</span>