- What does the stored program concept mean?
- The stored program concept says that instructions and data are stored in the same memory space, which is main memory. Examiners reported that few candidates understood that instructions and data are indistinguishable in that space. Writing only that a program is saved in memory earns no credit for this idea.
- What does the Program Counter do?
- The Program Counter (PC) stores the address of the next instruction to be fetched. It does not count the number of instructions, which is a popular incorrect description. The MAR is different: it stores the address of the location being read from or written to.
- Does the control bus carry data or instructions?
- No. The control bus carries control signals, such as interrupt, timing, read and write signals. Answers saying the control bus carries the data or the instruction are incorrect. The data bus carries data and the address bus carries addresses.
- Why does adding more cores not make a computer run proportionally faster?
- Cores must communicate with one another, which adds overheads. Software may not be designed for multiple cores, so one of the cores is left idle. Memory access speed may also not match the speed of the cores, causing delay. More cores means more instructions can be carried out simultaneously.
- How is each step of the Fetch-Execute cycle written in register transfer notation?
- Each step is written as a transfer: MAR ← [PC], then PC ← [PC] + 1, then MDR ← [[MAR]], then CIR ← [MDR]. A single square bracket means the contents of a register, and double brackets mean the contents of the address held in the register.
- What happens when an interrupt occurs during the Fetch-Execute cycle?
- The interrupt is detected at the start or end of an F-E cycle and its priority is checked. If it is higher than the current process, the registers are stored on the stack and the Interrupt Service Routine (ISR) is called. When the ISR finishes, the registers are restored from the stack and the process continues.