Programming Basics
Programming Basics
Fundamental
s
V.VIDYASHANKAR
2 N D JULY 2025
Programming – The What
The act of writing instructions that make a computer do something useful
Good programs are written to be executed efficiently by computer’s but also be read
and understood by humans
The best programs are delightful in ways similar to the best architecture, elegant in
both form and function
Programming – The How
Just as humans communicate with each other using natural language, humans
interact with computers using languages
Ideas are first expressed in pseudo code and then converted into actual programs
using programming languages ( Python, JavaScript, C++, Java etc )
Computers only understand binary ( the language of 0’s and 1’s ) so the code one
writes is translated ( or compiled / interpreted ) into machine language
Once translated, computers follow the instructions exactly as given, step by step
The computer, then, produces, the desired results like displaying a message,
calculating something or changing something in a webpage
Programming – The Why
It teaches logical thinking and problem solving
One can build mobile apps, make computer games, websites or even control robots
Human Thought Process – If the first number is greater than the second number,
then the maximum is the first number. Otherwise, the maximum is the second
number.
Human Thought Process – Get the sum of the given set of numbers and divide it by
the size of the set.
Characteristics
Simplicity
Unambiguous
Readability
Precision
Portability
Efficiency
Modularity
Error Handling