ITE 1122 - Overview of Programming Concepts
ITE 1122 - Overview of Programming Concepts
Concepts
Agenda
Introduction to Computer Program
Introduction to Computer Programming
Uses of Computer Programs
Algorithm
Computer Programming - Basics
Computer Programming - Environment
Introduction to Computer Program
A computer program is a sequence of instructions written using a Computer
Programming Language to perform a specified task by the computer
The two important terms that we have used in the above definition are
Sequence of instructions
Computer Programming Language
Computer program instructions are also called program source code and computer
programming is also called program coding.
Someone who can write computer programs or in other words, someone who can do
computer programming is called a Computer Programmer
Algorithm
An algorithm is a step-by-step procedure to resolve any problem.
A computer programmer lists down all the steps required to resolve a problem before
writing the actual code.
simple example of an algorithm to find out the largest number from a given list of numbers
Get a list of numbers L1, L2, L3....LN
Assume L1 is the largest, Largest = L1
Take next number Li from the list and do the following
If Largest is less than Li
Largest = Li
If Li is last number from the list then
Print value stored in Largest and come out
Else repeat same process starting from step 3
Computer Programming - Basics
Human Interface Languages (Hindi, English, Spanish, French, etc.) are made of several elements
like verbs, nouns, adjectives, adverbs, propositions, and conjunctions, etc.
Similar to Human Interface Languages, Computer Programming Languages are also made of
several elements.
Follow the instructions to download Java and run the .exe to install Java on your machine.
Notepad − On Windows machine, you can use any simple text editor like Notepad ,TextPad.
Netbeans − A Java IDE that is open-source and free which can be downloaded from
https://www.netbeans.org/index.html.
Eclipse − A Java IDE developed by the eclipse open-source community and can be downloaded
from https://www.eclipse.org/