Chapter 1 - Introduction To Programming Concepts-1
Chapter 1 - Introduction To Programming Concepts-1
Chapter 1 - Introduction To Programming Concepts-1
2) Computer Programming
Computer programming is the act of writing computer programs, which are a sequence of
instructions written using a Computer Programming Language to perform a specified task by the
computer.
Programming involves the following activities; writing a program, compiling the program, running
the program, debugging the programs. The whole process is repeated until the program is finished.
3) Computer
A computer is an electronic device capable of executing instructions, developed based on
algorithms stored in its memory, to process data fed to it and produce the required results faster
than human beings.
It is an electronic device which processes given data to derive the required and useful
information. During the processing the computer has to perform various functions like,
Accepting Instructions & data from the user, performing various arithmetic and Logical
operations as per Instructions given and presenting the Information or Output to the user.
4) Computer Programmer
Someone who can write computer programs or in other words, someone who can do computer
programming
Programmers translate the solutions or tasks into a language the computer can understand.
5) Programing Language
A programming language is a formal constructed language designed to communicate
instructions to a machine, particularly a computer.
A computer programming language is a language used to write computer programs, which
involves a computer performing some kind of computation
It is an electronic device which processes given data to derive the required and useful information.
During the processing the computer has to perform various functions like, Accepting Instructions &
data from the user, performing various arithmetic and Logical operations as per Instructions given and
presenting the Information or Output to the user.
It can perform both simple and complex tasks with very high speed and accuracy. However, a computer
cannot perform any task—simple or complex, of its own. Computers need to be instructed about “how” the
task is to be performed. The set of instructions that instruct the computer about the way the task is to be
performed is called a program. A program is required for processing all kind of tasks—simple tasks like
addition of two numbers, and complex tasks like gaming etc.
Disadvantages
1) Unemployment
2) Computer Crime
3) Data Security
4) Violation of Privacy
5) Waste of Time and Energy
6) Health Risks
7) Impact on Environment
Processor
Secondary/Backing
Storage
There are a number of concepts of relevance to problem solving using computers. Two particular concepts
includes
1) Computability: A problem is said to be co+
2) mputable if it can in principle be performed by a machine. Some mathematical functions are not
computable.
3) Complexity: The complexity of a problem is measured in terms of resources required, time and
storage
As stated earlier, a program is needed to instruct the computer about the way a task is to be performed. The
instructions in a program have three essential parts:
1) Instructions to accept the input data that needs to be processed,
2) Instructions that will act upon the input data and process it, and
3) Instructions to provide the output to user
The instructions in a program are defined in a specific sequence. Writing a computer program is not a
straightforward task. A person who writes the program (computer programmer) has to follow the Program
Development Life Cycle.