Lesson 18 Flashcards

1
Q

The central processing unit

A

CPU is the brain of the computer and is a collection of electronic circuits that execute the instructions in the software being run.

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

Instructions are limited to:

A

Store in memory
Load from memory
Basic math
Bit shifting
Bitwise logical operations

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

Interpreters

A

When you run a Python program it is first converted into bytecode and stored in a .pyc file
Bytecode is like assembly code each operation is a single CPI instruction, not human readable.
Executed on a virtual machine
Some errors are discovered during byte code conversion but others are only found after running

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

Compilers

A

When you run a compiled language it is converted into machine code for the computer hardware to run
Linking: identifying other machine language libraries that will be used during execution
Loading: storing executable files in program memory

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