Answer:
Option (c) is the correct answer of this question.
Explanation:
RAM (Random Access Memory) It is a type of computer memory which can also be retrieved and adjusted in either sequence, usually still had to preserve operating memory and bytecode.
It is a type storage device, and maintains the data used when the device is operating.RAM makes file access more frequently compared with certain digital storage types.
<u>For Example</u>:- PCs, tablets, smartphones ,printers etc.
Other options are not related to the given scenario.
Answer:
A Program was written to carry out some set activities. below is the code program in C++ in the explanation section
Explanation:
Solution
CODE
#include <iostream>
using namespace std;
int main() {
string name; // variables
int number;
cin >> name >> number; // taking user input
while(number != 0)
{
// printing output
cout << "Eating " << number << " " << name << " a day keeps the doctor away." << endl;
// taking user input again
cin >> name >> number;
}
}
Note: Kindly find an attached copy of the compiled program output to this question.
Answer:
I'd go with the 2nd one
If it heats up more & more, then it's lifespan will be shortened more & more. The more it heats up, the less durability it has.
Answer:
See explaination for the program code
Explanation:
code:
public static int[] countLastDigits(int[] list) {
int[] count = new int[10];
for (int i = 0; i < list.length; i++) {
int digit = list[i] % 10;
count[digit]++;
}
return count;
}
Answer:
CPU need 50% much faster
disk need 100% much faster
Explanation:
given data
workload spend time CPU = 60%
workload spend time I/O = 40%
achieve overall system speedup = 25%
to find out
How much faster does CPU need and How much faster does the disk need
solution
we apply here Amdahl’s law for the overall speed of a computer that is express as
S =
.............................1
here f is fraction of work i.e 0.6 and S is overall speed i.e 100% + 25% = 125 % and k is speed up of component
so put all value in equation 1 we get
S =
1.25 =
solve we get
k = 1.5
so we can say CPU need 50% much faster
and
when f = 0.4 and S = 125 %
put the value in equation 1
S =
1.25 =
solve we get
k = 2
so here disk need 100% much faster