Hello <span>Pouerietzach
Question: </span><span>Which of the following are recommended techniques for protecting computer files and data? Check all of the boxes that apply.
</span><span>
Answer: A, B, D, E, G
Hope That Helps
-Chris</span>
Answer:
a) 10.53
b) 9.53
Explanation:
a) Average Turnaround Time: ( (8-0)+(12-0.4)+(13-1.0) ) / 3 = 10.53
b) Average Turnaround Time: ( (8-0)+(13-0.4)+(9-1.0) ) / 3 = 9.53
Answer:
#include <stdlib.h>
#include <time.h>
#include<iostream.h>
int main(void) {
int seedVal = 0;
seedVal = 4;
srand(seedVal);
/* Solution*/
cout<<rand() % 149 + 100<<endl;
cout<<rand() % 149 + 100<<endl;
return 0;
}
Explanation:
We start with the required include statements to enable use of srand, rand and time functions. I have also added iostream library to use "cout" function.
After that, the seed is initialized using srand(). And then the two rand functions are called with ranges including and between 100 and 149, and printed out.