Академический Документы
Профессиональный Документы
Культура Документы
Introduction to Programming
Topics to be discussed
Programming languages
Program development life cycle
Algorithms and data structures
Flow charts
Web design using Hypertext Mark up language
(HTML)
Practical knowledge of BASIC and HTML programming
languages
OBJECTIVES
Programming
Languages
There are different types of programming languages
that can be used to create programs, but regardless of
what language you use, these instructions are
translated into machine language that can be
understood by computers.
We can therefore define a programming language as a
standardized communication technique for expressing
instructions to a computer.
Categories of
Programming
Languages
High level Programming language is a programming
language that is more user friendly, to some extent
platform independent, and abstract from low level
computer processor operations such as memory
accesses.
A programming statement may be translated into one or
several machine instructions by a compiler. Examples are
Lava, C, C++, Basic, and FORTRAN.
Categories of
Programming
Languages
Low level Assembly Language: Examples of Low
level Programming languages are Machine language
and Assembly language.
Assembly languages are similar to machine languages,
but they are much easier to program in because they
allow a programmer to substitute names for numbers.
Each assembly instruction is translated into one
machine instruction by an assembler program.
Programming
Language
Characteristics
Programming languages have characteristics that describe
how they work and provide information about the types of
computing task for which they are appropriate. For example,
C++ can be described as high level, object oriented,
complied language.
When you need to select a language to use for a program, it
is useful to understand some of the general characteristics of
programming language. Some of the general characteristics
of programming languages include: Procedural, Declarative,
Scripting language, and Low level, High level, Compiled,
Interpreted and Object oriented.
Procedural
^ Power 1
- Negation 2
* Multiply 3
/ Divide 3
+ Addition 4
subtraction 4
Input / Output Statement
Start or end
Input or output
Decision
Calculation
Connector
Flow line
Terminologies Associated
with Programming
High level language: A computer language that allows
a programmer to write instructions using human like
language.
Machine Language / Code: A low level language
written in binary code that the computer can execute
directly. Source Code: Computer instructions written in
a high level language.
Class: In object oriented programming, a group with
specific characteristics, to which an object belongs.
Compiler: Software that translates the program written
in a high level language into low-level language.
Terminologies Associated
with Programming