The answer is -621 (that’s what my calculator said).... btw why didn’t you just use a calculator for this...?
Answer is CPU cache
Explanation: A CPU cache is a special high-speed memory which is smaller and faster, and which helps to store copies of data from main memory location which are often used. It is actually located quite close to the processing core, and is used by the CPU of a computer to save time and energy in accessing data from the main memory.
The way it works is if the processor is either trying to read from or write to a particular location in the main memory, it checks to see if the data from the location is already in a cache, if it is, then it alternatively read from or write to the cache; which faster, instead of the main memory.
Please let me know if this helps.
Answer:
Replace the comment with:
maxSum =FindMax(numA,numB)+FindMax(numY,numZ);
Explanation:
Required
The statement to add up the two maximum from the functions
To do this, we have to call FindMax for both arguments i.e.
FindMax(numA,numB) and FindMax(numY,numZ) respectively
Next, use the + sign to add up the returned value.
So, the complete statement is:
maxSum =FindMax(numA,numB)+FindMax(numY,numZ);
<em>See attachment for complete program</em>
Answer:
1 will be stored in result
Explanation:
Given
The lines of code
Required
Determine the value stored in result
The value stored in result is determine by the condition (x<3 && y ==6)
In the first line, the value of x is 2 and the value of y is 6
So: x<3 is true because x = 2 and 2 is less than 3
y == 6 is also true because y = 6 and 6 is equal to 6
So, the condition (x<3 && y ==6) is true and true will be saved in variable result
Because result is a Boolean variable which can only take true or false value
1 represents true
0 represents false
<em>So, 1 will be stored in result</em>