Answer:
See Explanation
Explanation:
Your program is correct and doesn't need an attachment.
However, there's a mismatch in placement of curly braces in your program
{
}
I've made corrections to that and I've added the corrected program as an attachment.
Aside that, there's no other thing to be corrected in your program.
Use another compiler to compile your program is you are not getting the required output.
Ada lovelace was the first computer programmer ever
Answer:
There are 2 correct answers,
- It is easily read by most software and hardware because it requires little processing.
- It can be used by programmers for source code files.
Explanation:
The maximum throughput is equal to the maximum number of data items processed per second cumulatively by all 4 processors.
Now, for a processor, the maximum data items processed per second
= (Number of instructions per second) / (Number of instructions per data item)
Thus, maximum data items processed per second for
processor 1 :
= (1,000,000) / (50)
= 20,000
processor 2 :
= (1,000,000) / (60)
= 16,666,67
processor 3 :
= (1,000,000) / (40)
= 25,000
processor 1 :
= (1,000,000) / (30)
= 33,333.33
Thus, cumulative throughput
= 20,000 + 16,666.67 + 25,000 + 33,333.33
= 95,000 data items per second