parts of computer, theory Flashcards
(11 cards)
whats a CPU
brain of computer,
processes instructions, performs calculations and control other components.
whats a RAM (RANDOM acess memory)
temporary memory to store data/programs that are CURRENTLY in use. fast but volatile (data dissapears when computer is off)
what is secondary storage
PERMANENT storage for data, slower than ran but non volatile (data DOESNT dissapear)
input device?
used to send data into computer. LIKE a keyboard
REPONSIBLE FOR COLLECTING AND TRANSMITTING DATA TO COMPUTER
output device
reveive data from from computor to usable form like SPEAKERS MONITOR…
Program
sequence pf instructions that specify how to perfrom a computation
software
normally stored in secondary memory (permanent) and loaded into main memory as needed.
whats a low level language
close to machine code like binary.
8 bites in 1 byte
whats a high level programming language
easy for us to read like python
whats a key diff between parameter and argument in a pything function
a parameter is a variable in the function definition, while an argument is the actual value passed to the function when it is called.
def greet(name): # ‘name’ is the parameter
print(“Hello, “ + name)
greet(“Claudia”) # “Claudia” is the argument
whats the diff between print and return
print displays output to hte screen
return returns a value