02: Introduction to Programming
Introduction to Programming
This set of tutorials provide you with a basic, brief and comprehensive overview of fundamentals of programming. If you are quite new to programming then these tutorials will be very helpful to get started. You will learn some basic terminology and theoretical concepts of programming. You will be able to understand different programming technologies after completing these tutorials.
- Here are some basic jargon and terminologies used in computer programming.
- Algorithm: A conceptual solution of a problem.
- Pseudocode: An algorithm is written in simple, natural language just for understanding.
- Flow Chart: A graphical representation of an algorithm.
- Code: A program is written in formal programming language by using a code editor.
- Programming: Writing, building, creating, developing software.
- Programming Language: A set of grammatical rules to build a program.
- Program/Software/Application: This is a set of instructions to solve a mathematical problem. This will be written in some formal computer programming language by using some code editor.
- Some examples of mathematical problems are following
- Calculating speed of car by distance covered and time consumed.
- Finding the required run rate, to chase the target in cricket.
- Finding the appropriate angle of the tank barrel to hit the target accurately.
- Calculating the fuel required for a rocket to reach the moon.
- Computing total bill of item purchased from shop. You may also require a discount, taxes and sales person commission in this transaction.
- Finding total number of tiles required for a kitchen floor.
- Normally, a software is a collection of multiple solutions rather than a single problem solution. For example, a banking system includes debit, credit, interest calculation, tax, service charges and many other mathematical procedures.
- Some popular programs now a days are
- TicTok
- YouTube
- PUBG
- MS Word
- Netflix
- Google Chrome
- Gmail
- We can distribute software into different categories such as social media apps, games, office applications, management system etc.
- This segregation is for us, not for the computer. Computers behave similarly to all kinds of software.
- We are also required to write software.
- The following tools are required to write software.
- Programming Language
- Editor: Software that helps us write code.
- Compiler: Software that translates high language code into machine level code.
- Execution Environment Tools: This is optional and may not be required with all types of applications but sometimes it is necessary to run our program for example; we have to use a web browser (chrome or edge or anyone else) to open a website.
- 8th grade mathematics knowledge is enough to start learning programming
- For advanced-level programming you may be required more knowledge and information about computer systems.
- Computer programming is more about “Problem Solving” rather than about writing programs.
- There are basic types of programming languages
- Algorithmic programming languages are used to create software. C/C++, C#, Java, Python are examples of algorithmic programming languages.
- Non algorithmic programming languages are required to manage or represent data. HTML, CSS, JSON, YAML are the common examples of non-algorithmic programming languages.
- We will learn an Algorithmic programming language in this course.








