Friday, 27 March 2020

Chapter 1: Computer Programming

What do you understand by the term 'Programming'?


I've been teaching part-time or full-time since 2002. I've come across numerous students who doesn't even know what is the purpose of programming.

Well when the question is asked, many students would answer "Programming is something which is written in Computers to see the output. For eg. addition of two numbers, etc.".

Programming means the process of writing/executing definite set of instructions which results into desired or expected output from the user.

Let's quickly move on to Computer Programming.


Computer Programming:


Computer programming means to write set of instructions in a logical sequential way to perform any task which results into the expected output.

Any computer program has mainly 3 types of instructions:

  1. Input
  2. Processing
  3. Output

From the above figure, its very obvious that the sequence of instructions is fixed. This implies that without any input, nothing can be processed and you can't expect an output from the task.

There are different programming languages like C, C++, Java, Python, etc. Many would wonder why I've not included HTML into this list. The reason is straight forward. Because, HTML is NOT a Programming language. Well some seasoned programmers consider HTML as programming language, others don't.

Quote the Answer:
Any instruction that tells the computer to do something is a Programming language.

Versus:
No, HTML is not a programming language. The "M" stands for "Markup". A programming language allows you to describe some instructions of process for performing a task, whereas HTML is a way of adding context and structure to text.


Top Programming Languages (2020):

1.   
PYTHON

Python is fast, easy-to-use, and easy-to-deploy programming language that is being widely used to develop scalable web applications. YouTube, Instagram, Pinterest, SurveyMonkey are all built-in Python. 
2.   
JAVA

Java is widely used for building enterprise-scale web applications. Java is known to be extremely stable. Java is also widely used in Android App Development.
3.   
C/C++

Almost all low-level systems such as operating systems, file systems, etc are written in C/C++. If you wish to be a system-level programmer, C/C++ is the language you should learn. C++ also provides something called STL - Standard Template Library.
4.   
JAVASCRIPT

JavaScript is the “frontend” programming language. JavaScript is widely used to design interactive frontend applications. For instance, when you click on a button which opens up a popup, the logic is implemented via JavaScript.
5.   
GO (GOLANG)

Go, also known as Golang, is a programming language built by Google. Go provides excellent support for multithreading and so, it is being used by a lot of companies that rely heavily on distributed systems. Go is widely used in startups in Silicon Valley. However, it is yet to be adopted by Indian companies/startups.
6.   
R

R programming language is one of the most commonly used programming languages for Data Analysis and Machine Learning. R provides an excellent framework and built-in libraries to develop powerful Machine Learning algorithms. R is also used for general statistical computing as well as graphics.
7.   
SWIFT

Swift is the programming language that is used to develop iOS applications. iOS-based devices are becoming increasingly popular.
8.   
PHP

PHP is among the most popular backend programming language. Though PHP is facing tough competition from Python and JavaScript, the market still needs a large number of PHP developers.
9.   
C#

C# is a general-purpose programming language developed by Microsoft. C# is widely used for backend programming, building games (using Unity), building Window mobile phone apps and lots of other use cases.
10.   
MATLAB

MATLAB is a statistical analysis tool that is used in various industries for Data Analysis. MATLAB is used widely in the Computer Vision and Image processing industry as well.


Next Post: Bits & Bytes

Quote:
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." - Martin Fowler


No comments:

Post a Comment