Week1-Introduction To Programming Concepts
Week1-Introduction To Programming Concepts
Lesson Objectives
A collection of computer programs, libraries, and related data are referred to as software.
Computer programs may be categorized along functional lines, such as application
software and system software.
These are sequence of stages followed during program development. They include the
following steps;
The description of a programming language is usually split into the two components of
syntax (form) and semantics (meaning). Some languages are defined by a specification
document (for example, the C programming language is specified by an ISO Standard)
while other languages (such as Perl) have a dominant implementation that is treated as a
reference.
Computer Programmer is a person who creates computer software. The term computer
programmer can refer to a specialist in one area of computers, or to a generalist who writes
code for many kinds of software. A programmer's most oft-used computer language (e.g.,
Assembly, COBOL, C, C++, C#, Java, Lisp, Python) may be prefixed to the term
programmer.
Computer Software: is a collection of data or computer instructions that tell the computer
how to work. This is in contrast to physical hardware, from which the system is built and
actually performs the work.
Every computer requires appropriate instruction set (programs) to perform the required
task. The quality of the processing depends upon the given instructions. If the instructions
are improper or incorrect, then it is obvious that the result will be superfluous.
Therefore, proper and correct instructions should be provided to the computer so that it
can provide the desired output. Hence, a program should be developed in such a way that
it ensures proper functionality of the computer. In addition, a program should be written
in such a manner that it is easier to understand the underlying logic.
Readability: The program should be written in such a way that it makes other
programmers or users to follow the logic of the program without much effort. If
a program is written structurally, it helps the programmers to understand their
own program in a better way. Even if some computational efficiency needs to be
sacrificed for better readability, it is advisable to use a more user-friendly
approach, unless the processing of an application is of utmost importance.
Structural: To develop a program, the task must be broken down into a number
of subtasks. These subtasks are developed independently, and each subtask is able
to perform the assigned job without the help of any other subtask. If a program is
developed structurally, it becomes more readable, and the testing and
documentation process also gets easier.
Generality: Apart from flexibility, the program should also be general. Generality
means that if a program is developed for a particular task, then it should also be
used for all similar tasks of the same domain. For example, if a program is
developed for a particular organization, then it should suit all the other similar
organizations.
SUMMARY
Concepts such as programs, programming language, library, high level and low
level were discussed. Further, a good program must observe all the qualities of a
good program.
Revision Questions