How Computers Actually Work Flashcards

(24 cards)

1
Q

At the most basic level, what does a computer do?

A

Takes input → processes it → produces output.

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

What does “input” mean?

A

Information given to the computer (typing, clicking, camera, mic, sensors).

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

What does “processing” mean?

A

The computer working on or calculating the input.

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

What does “output” mean?

A

The results the computer gives back (sounds, visuals, data, actions).

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

What is binary?

A

A number system computers use that only has 2 digits: 0 and 1.

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

Why do computers use 0s and 1s?

A

Because hardware works with electrical signals that can be ON (1) or OFF (0).

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

What is a bit?

A

A single 0 or 1, the smallest unit of data.

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

What is a byte?

A

8 bits grouped together.

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

About how many bytes are in one kilobyte (KB)?

A

1,000 bytes (technically 1,024 in computing).

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

About how many bytes are in one megabyte (MB)?

A

1,000,000 bytes

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

About how many bytes are in one gigabyte (GB)?

A

1,000,000,000 bytes.

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

How are text and images stored on a computer if everything is 0s and 1s?

A

They are encoded into binary using standardized formats.

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

What is the “code” a CPU actually understands?

A

Machine code (binary instructions).

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

Can humans realistically write machine code directly?

A

Technically yes, but it’s extremely difficult and inefficient.

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

What are high-level programming languages?

A

Languages designed to be readable by humans (Python, Java, etc).

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

Does a computer understand high-level languages directly?

A

No, they must be translated into machine code.

17
Q

What translates code before running the entire program at once?

18
Q

What translates and runs code line by line?

A

An interpreter.

19
Q

Is Python compiled or interpreted?

A

Interpreted (technically a mix under the hood, but functions like an interpreted language).

20
Q

Give an example of a compiled language.

A

C, C++, Rust.

21
Q

What’s an advantage of compiled languages?

A

Usually faster performance.

22
Q

What’s an advantage of interpreted languages?

A

Easier to test and debug, beginner-friendly.

23
Q

What does abstraction mean in computing?

A

Hiding complex details so humans can work at a simpler level.

24
Q

High-level languages are an example of what concept?