Answer:
#include <math.h>
#include <stdio.h>
#include <string.h>
#define BASE 3
#define NRQUESTIONS 15
void toABC(int n, char* buf, int base, int size) {
memset(buf, 'A', size);
buf[size] = 0;
while (n && size) {
buf[--size] = 'A' + (n % base);
n /= base;
}
}
int main()
{
char buf[16];
for (int i = 0; i < pow(BASE, NRQUESTIONS); i++) {
toABC(i, buf, BASE, NRQUESTIONS);
printf("%s\n", buf);
}
}
Explanation:
Assuming 3 is the number of possible answers to choose from for each question.
I tackled this by having an integer counter enumerate all values from 0 to 3^15, and then convert each integer to a base-3 representation, using ABC in stead of 012.
<span>C) Stored work
I hope this helps :)
</span>
The answer is B. A collection of mainstream sources of information.
Answer:
Nothing major will happen
Explanation:
- Cache is used by the CPU. It reduces the time needed to access the data from the main memory.
- Cache memory is faster and smaller, it is located near the processor core and stores copies of data frequently used by the main memory.
- If you do not clear the cache memory it will make everything slower
- However if you do not clear the cache memory it will not have any major effect on your computer
- Cache memory is everywhere from operating systems to phone apps and browsers.
- CPUs depend on the cache to to do all the calculations, CPU require data stored in cache memory to do faster calculations.
- Cache used in browsers speeds up the repeat visit visits to web pages.
- Well developed applications are able to clear cache at any time and still keep functioning until cache is rebuilt, but sometimes the data stored on Browser cache can cause login issues so we should clear the browser cache to prevent it.