Basic Programming Concepts
Basic Programming Concepts
High-Level Languages
High-level program languages more resemble English
language than low-level languages.
Examples are BASIC, COBOL, FORTRAN, PASCAL , etc.
Interpreter- it translates a program from high-level language
into machine code line by line during program is running.
Compiler- Translates the entire program into machine code
before running the program.
Object-Oriented/Event-Driven
Programming Languages
Visual Basic 2010 is an object-oriented programming
language.
It is more suitable for developing complex software.
The Program Development Process
PLANNING
CODING
TESTING AND DEBUGGING
DOCUMENTATION
MAINTENANCE
PLANNING
Identify the problem or the requirements.
Decide on the goals of a program.
Will the program produce reports?
Will the program calculate values.
CODING
You can use the program development tool such as Visual
Basic to write the program.
You will spend most of your programming time qworking on
the source code.
Testing and Debugging
Errors called bugs.
Test the program thoroughly and fix the errors.
Fixing errors called debugging.
Documentation
When the program is finished and tested, documentation is
included for distribution.
It includes necessary information about the profile,
requirements of the program, operating system needed to
run the program.
It also contains technical information.
Maintenance
Maintenance or updating the program. This is the point
where the programmer is tasked to keep the program
running smoothly and updated.