1.3 - Software Development
1.3 - Software Development
Environment
ICS 3U0
Today’s Agenda
Program Execution
Integrated Development
Environment (IDE)
The Basics
What is an operating system?
An OS is software that manages computer hardware resources
and provides common services for computer programs.
For example: Windows 8, MacOS or UNIX
Control Unit
• Directs the movement of electronic signals between
memory and the ALU.
• Coordinates control signals between CPU and input/output
devices.
• Tells the computer system how to execute a program.
Evolution of Programming Languages
Machine Code
Machine code or machine language is a set of instructions
executed directly by the CPU. Each instruction performs a very
specific task, such as an ALU operation on a unit of data in memory.
Every program directly executed by a CPU is made up of a series of
0’s and 1’s.
Assembly Code
Assembly code is a step up from machine code. Although more
easily understood by humans, it cannot be directly understood by
the CPU. A program called the assembler translates assembly
language programs into binary machine code that can be decoded
by the CPU.
Evolution of Programming Languages …
continued
Source Code
Source code consist of instructions or statements that look similar
to English using common mathematical notation. It is really the
only type of code that is readable by people. It is the code that is
associated with high-level languages such as C++, Java or Python.
The instructions written using high-level languages must be
converted into machine code so that can be understood by the CPU.
Complier/Interpreter
A compiler or interpreter translates source code written using
high-level language (i.e., code that people can actually read) to
machine code (i.e. 1’s and 0’s)
Compiler Vs. Interpreter
When a program is created, it may be run in one of two ways: