Computer Science paper 1 all notes Flashcards
(175 cards)
What is the definition of hardware?
Any physical component that makes up a computer, like the CPU, motherboard, monitor, and printer.
What is the definition of software?
Any program or application that runs on a computer system.
What is the purpose of the CPU?
The ‘brain’ of the computer that takes an input, processes data, and produces an output.
What does the fetch-execute cycle involve?
Fetching, decoding, and executing instructions stored in memory.
What occurs during the fetch phase of the fetch-execute cycle?
Copy memory address from the program counter to the MAR, get the instruction from MAR, and increment the program counter.
What happens during the decode phase of the fetch-execute cycle?
The instruction in the MDR is loaded into the CU, decoded, and prepared for execution.
What is the execution phase in the fetch-execute cycle?
The instruction is performed, which could involve various operations like calculations or data manipulation.
What does Von Neumann architecture describe?
A system where the CPU runs programs stored in memory, consisting of instructions and data.
What is the role of the Control Unit (CU) in the CPU?
Coordinates activities, decodes instructions, controls execution sequence, and manages timing.
What is the function of the Arithmetic Logic Unit (ALU)?
Performs logic and arithmetic calculations.
What is cache memory?
Very small, fast access memory for frequently used instructions and data.
What are registers in the CPU?
Small bits of fast memory dedicated to specific functions within the CPU.
What does the Memory Address Register (MAR) do?
Holds the address of the data to be fetched or stored.
What is the function of the Memory Data Register (MDR)?
Holds the data or instruction that has been fetched from or is to be written to memory.
What does the Program Counter (PC) do?
Holds the memory address of the next instruction and increments as the fetch-decode cycle runs.
What is the purpose of the Accumulator?
Holds the results of calculations performed in the ALU.
What factors affect CPU performance?
Clock speed, cache size, and number of cores.
What is clock speed measured in?
Gigahertz (GHz), which is 1 billion cycles per second.
What is the effect of increasing clock speed on CPU performance?
More tasks can be processed every second, increasing performance.
What is overclocking?
Increasing the clock speed beyond the factory setup, which can potentially damage the CPU.
How does cache size affect CPU performance?
A larger cache speeds up processing and CPU performance.
What are cores in a CPU?
Complete processing units with their own ALU, CU, and registers.
True or False: Doubling the number of cores will always double the speed of the processor.
False.
What are embedded systems?
A CPU or computer with a specific, dedicated function within a larger system.