2. Programming concepts
What is a computer program??
Program structure.
Variables declaration.
Comparision Operators.
Flow control.
Iterative statements (loops).
Functions.
Eventdriven or non Eventdriven.
Generic or specialpurpose.
3. What is computer program?
Computer program is collections of instructions
that tell a computer how to interact with the user
interact with the computer hardware and
process data.
4. Program structure
Statements to establish the start of the program .
Variable declaration.
Program statements.
5. Variables
Variables are places for holding data in
memory.
Types of variables:
Integer.
Real(float).
Characters.
Strings.
7. Control flow
If (condition).
(statements).
Else.
(statements).
8. Iterative statements
Used to repeate a section of code for certain
amount of times.
9. Functions
simply contain a series of computational steps
to be carried out. Any given procedure might be
called at any point during a program's
execution, including by other procedures or
itself.
10. Eventdriven and non event
driven
What is the difference??
Examples of events:
Program load.
mouse click.
Key press.
Program end.
11. Generic or special purpose??
Generic or general purpose programming
language.
Special purpose:
SQL.
Markup languages (HTML,XML).
12. Useful sites
Programming concepts:
➢ http://cisnet.baruch.cuny.edu/holowczak/classes/
programming/
Language categories:
➢ http://en.citizendium.org/wiki/Programming_langu
age
Programming language comparison:
➢ http://en.wikipedia.org/wiki/Comparison_of_progr
amming_languages