Reminder Items Flashcards
Program
A list of Instructions for a computer to execute
Data
Everything that is not an instr
What does it mean to run the program?
executing program code instruction after instruction)
Computer component that executes program?
CPU
Running Program is stored here, what else is stored there?
RAM stores currently running programs and data of a program
RAM
Random access means- it takes roughly the same amount of time to access a piece of data, no matter where this piece of data is stored physically on the memory device.
Volatile - once power supply is off all the data in RAM memory is erased.
Slow compared to the CPU.
Memory Stall
an undesirable scenario when CPU pauses and waits for the necessary data to be delivered from RAM memory.
Long-Term Storage?
Hard Disk- non volatile
Executable File
An executable file is a file that contains machine code or bytecode that can be directly executed by the computer’s CPU or an interpreter without needing further compilation.
How speed of CPU, RAM and hard disk compare to each other?
CPU, RAM Hard Disk fastest to slowest
Cache Memory
special device between CPU and RAM, at acts as a buffer for a slower, larger memory. Between the CPU and RAM
- Speeds up interactions between CPU and RAM.
ROM memory
READ-Only memory
a type of non-volatile memory that stores permanent data and instructions for a computer to start up and run.
Machine Cycle
sequence of steps that the CPU takes to execute one single instruction.
3 Steps Of Machine Cycle
Fetch command: retrieving next instruction from RAM memory and stores it in the program counter
Decoding: CPU decodes the instruction to determine what operation needs to be performed
Execution: CPU executes the instruction
What Frequency measures? What is the measurement unit of frequency?
(Hz = times/second)
Measures CPU frequency or clock rate. How many cycles per second