parts of computer, theory Flashcards

(11 cards)

1
Q

whats a CPU

A

brain of computer,

processes instructions, performs calculations and control other components.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

whats a RAM (RANDOM acess memory)

A

temporary memory to store data/programs that are CURRENTLY in use. fast but volatile (data dissapears when computer is off)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is secondary storage

A

PERMANENT storage for data, slower than ran but non volatile (data DOESNT dissapear)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

input device?

A

used to send data into computer. LIKE a keyboard

REPONSIBLE FOR COLLECTING AND TRANSMITTING DATA TO COMPUTER

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

output device

A

reveive data from from computor to usable form like SPEAKERS MONITOR…

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Program

A

sequence pf instructions that specify how to perfrom a computation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

software

A

normally stored in secondary memory (permanent) and loaded into main memory as needed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

whats a low level language

A

close to machine code like binary.
8 bites in 1 byte

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

whats a high level programming language

A

easy for us to read like python

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

whats a key diff between parameter and argument in a pything function

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

whats the diff between print and return

A

print displays output to hte screen
return returns a value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly