Computer Programming 1 Course Description
Computer Programming 1 Course Description
Course Description
Note: You need to complete this module before you can perform the next
module.
Computer programming is the act of writing computer programs, which Now, try to map the situation with a computer program. The above
are a sequence of instructions written using a Computer Programming Language sequence of instructions is actually a Human Program written in English
to perform a specified task by the computer. Language, which instructs on how to reach KFC from a given starting point. This
same sequence could have been given in Spanish, Hindi, Arabic, or any other
Computer Programming is fun and easy to learn provided you adopt a human language, provided the person seeking direction knows any of these
proper approach. This course attempts to cover the basics of computer languages.
programming using a simple and practical approach for the benefit of novice
learners. Now, let's go back and try to understand a computer program, which is a
sequence of instructions written in a Computer Language to perform a specified
Computer Program task by the computer. Following is a simple program written in C programming
Language:
A computer program is a sequence of instructions written using a
Computer Programming Language to perform a specified task by the computer. printf(“Hello, World!”);
The two important terms that we have used in the above definition are: The above computer program instructs the computer to print "Hello,
World!" on the computer screen.
Sequence of instructions
Computer Programming Language A computer program is also called a computer software, which can range
from two lines to millions of lines of instructions.
To understand these terms, consider a situation when someone asks you Computer program instructions are also called program source code
about how to go to a nearby KFC. What exactly do you do to tell him the way to and computer programming is also called program coding.
go to KFC? A computer without a computer program is just a dump box; it is
programs that make computers active.
You will use Human Language to tell the way to go to KFC, something as
follows: As we have developed so many languages to communicate among
ourselves, computer scientists have developed several computer-programming
First go straight, after half kilometer, take left from languages to provide instructions to the computer (i.e., to write computer
the red light and then drive around one kilometer and you programs).
will find KFC at the right.
Computer Programming
Here, you have used English Language to give several steps to be taken
to reach KFC. If they are followed in the following sequence, then you will reach If you understood what a computer program is, then we will say: the act
KFC. of writing computer programs is called computer programming.
Computer Programmer We assume you are well aware of English Language, which is a well-
known Human Interface Language. English has a predefined grammar, which
Someone who can write computer programs or in other words, someone needs to be followed to write English statements in a correct way. Likewise, most
who can do computer programming is called a Computer Programmer. of the Human Interface Languages (Hindi, English, Spanish, French, etc.) are made
of several elements like verbs, nouns, adjectives, adverbs, propositions, and
Based on computer programming language expertise, we can name a conjunctions, etc.
computer programmer as follows:
Similar to Human Interface Languages, Computer Programming
C Programmer Languages are also made of several elements. We will take you through the basics
C++ Programmer of those elements and make you comfortable to use them in various programming
Java Programmer languages. These basic elements include:
Python Programmer
PHP Programmer Programming Environment
Perl Programmer Basic Syntax
Ruby Programmer Data Types
Lesson 3: Environment
Similarly, you will need the following setup to start with programming
using any programming language.
The conversion from text program to binary file is done by another There are other programming languages such as Python, PHP, and Perl,
software called Compiler and this process of conversion from text formatted which do not need any compilation into binary format, rather an interpreter can
program to binary format file is called program compilation. Finally, you can be used to read such programs line by line and execute them directly without any
execute binary file to perform the programmed task. further conversion.
We are not going into the details of a compiler and the different phases
of compilation.
So, if you are going to write your programs in PHP, Python, Perl, Ruby,
etc., then you will need to install their interpreters before you start programming.
Online Compilation
If you are not able to set up any editor, compiler, or interpreter on your
machine, there are facilities to compile and run almost all the programs online
with an ease of a single click.