Insight Into Program Execution
Insight Into Program Execution
Source code:-
refers to the original code written in a
programming language by a
programmer.
1
Machine Code:-
refers to the code converted into
computer-understandable form that a
computer can understand and can
directly execute.
3
* Analysis [Front end phase]
*Synthesis [Back end phase]
3. Assembly
4. Linking
5. Leader
The Interpretation process
unlike a compiler, an Interpreter
doesn't translate the complete code in
one go and hand over a full executable
file to execute. instead, an inerpreter
translates a single line/section of code
at a time, makes its executable version
and runs it immediately.
Role of an operating system in running
a program
an executable program runs on the
4
computer with the help of operating
system. the operating system has a
major role to play in the execution of
the program in executable form.
a running program or the executing
entity is called a process.
CPU also has some registers(also called
memory register sometimes) that
temporarily hold data for CPU.
OS as a resource manager
1. Process Management
2. ProcessScheduling by OS
3. Memory Management
4. I/O Management
Introduction to parallel computing:-
5
Parallel Computing:
parallel computing refers to the
simultaneous to solve a computational
problem.
Cloud computing:
cloud computing refers to storing and
accessing data and programs over the
Internet instead of your computer's
hard drive. the cloud is just a
metaphor for the internet. to store
and access program over a cloud, you
need access to a cloud.
there broadly two types of clouds one
can access:
(i) public cloud
(ii) private cloud