Professional Documents
Culture Documents
Lecture 1
Lecture 1
Computer hardware is fool. It only does electrical activities. It only has one quality: to say: what to do next? What to do
next? As a programmer, we have to create a software which tells the hardware to do the specific steps in order to head on
to our goal.
The python code that you have written is present in a file form in the hard disk (secondary memory).
When the processor asks what to do next? The python file is transferred to the ram (primary memory).
The ram is where you as a programmer reside because it is the ram which tells the processor what to do next.
Actually, your tailored algorithms will tell the processor what to do next.
Why ram? Actually ram is way faster than the hard disk that is why.
Why secondary memory: Because the memory in the ram resides not permanently but is deleted. If there were no
hard disks, your python file would have been deleted and your efforts would go in vain.
Now, the Processor cannot understand your python code. It only understands binary language (0101010101) so a
compiler converts the python code into binary language.
Lecture 3: