In a car I think I am not sure yet
<span>The five steps in the fetch/execute cycle are :
1) Instruction Fetch (IF) - This starts with the moving from the memory to
the control unit which is given by the program counter. T</span><span>he control unit
can then access the data immediately from the memory.</span><span>
2) Instruction Decode (ID) - what task the system has to do, where the
results is to be stored and what operation is to be performed by which
data.
3) Data Fetch (DF) - it gets the value from the memory.
4) Instruction Execute (IE) - The particular instruction is executed.
5) Result Return (RR) - The Result Value is restored in a
particular memory location. T</span><span>he return of new data resulting from
(EX) that is put back into memory.</span>
Hi,
The answer is all of the above. Its best to know your audience as best as you can that way you are able to think about it better.
Hope this helps.
r3t40
Answer: -17
Explanation:
Our random number is 17. Let's go through line by line.
- value is a random number picked which is 17
- valueB = 17 / 2 = 8.5
- If value is greater than 0 AND value has a remainder of 1, we will set the value to value* -1.
- Value is now 17 * -1 = -17
Let's quickly calculate value mod 2. 17 % 2 = is 1. If you're wondering how we did that, the remainder after dividing 8 into 17 twice is 1, because 17 - 16 = 1.
We stop after line 4 because we stop the conditional statement after one condition is filled.