Introduction To Computer and Programming
Introduction To Computer and Programming
1.1Why Program?
Hardware
Software
system + CPU) that they are based on. For example, a program that is designed for
the Windows operating system will only work for that specific operating system.
Compatibility of software will vary as the design of the software and the operating
system differ. Software that is designed for Windows XP may experience a
compatibility issue when running under Windows 2000 or NT.
Programming languages
A computer program written in the imperative programming style
Computer programs can be categorized by the programming
language paradigm used to produce them. Two of the main paradigms
are imperative and declarative.
Imperative languages
Imperative programming languages specify a sequential algorithm using
declarations, expressions, and statements:[16]
Mary Ann V. Domincel ICT-12 4-5:30PM WTH
Of these, only the third step is usually called "programming", but as you'll see
later, it's probably the least important stage of the process.
While this may sound like a great deal of effort to go to build a simple program,
don't worry, as after a while it will become second nature, and for small programs,
most of the stages can be done in your head.