Page 104 - Computer - 3
P. 104
10 Introduction to Coding
Pre-Processing
• Understanding Coding • Importance of Coding
• Why Learn Coding? • Coding Environments
A computer, just like any another machine, receives instructions from us to perform
some task. These instructions need to be given in a manner and form which the
computer can understand, carry out, and produce the desired result. These
instructions are given to the computer in a form called a Program or Code. The
process of writing these instructions is called Programming or Coding.
UNDERSTANDING CODING
When we want to do some work, there are certain steps involved to complete that
work. For example, if we want to make a cake, we follow the steps given below:
1. Collect all the ingredients needed • Get ingredients for cake.
to make the cake. 1.
2. Prepare the batter for the cake. 2. • Mix the ingredients together.
3. Pour the batter in a mould and 3. • Bake the cake.
bake it in an oven. • Decorate the cake.
4.
4. After the cake is baked, decorate it.
Did you notice that the above steps are to be performed in the same sequence every
time we need to make a cake?
Similarly, to make the computer do some work, such as perform some calculations
or print a document on the printer, we need to give instructions to do this in a
sequential order. Thus, coding is important to provide instructions to a machine in a
logical way to make it perform the required work perfectly.
102