Best post on programming language and its types – 1

Introduction to programming language

There are many different programming languages available today.These languages are playing very important role in application development.
Each and every language has specific set of rules for writing and executing a program.
This set of rules is nothing but syntax given by language.
Also different languages are having different features, application areas,effectiveness and drawbacks.
In comparison to middle level language like C, advanced languages like Java are having very rich feature set and are providing better functionalities functionalities.

Why to study programming languages?

Programming languages are useful to develop applications, games etc.
Learning programming languages can automate many tedious jobs.
Having knowledge of coding can lead clarity of thoughts and improves logic building.
Ideas can be expressed easily and efficiently.
For overall advancement of computing.

What is Python? Why it is preferred over other languages?

Python is high level programming language and it is used for scripting.
Many other features are supported by python like small codes,extensive libraries,advance GUI development, free and open source etc.
This features make it scalable, portable, reliable and highly productivity language.
Python’s simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance.

What is a program?

A program is a sequence of instruction that specifies how to implement the computation logic. Program can written using different languages like C, C++, python, Java, etc.
It may be or may not be hardware and software dependent.
For writing program there are set of rules called as syntax.
For example to display “team itvoyagers” on screen using python program.

>>>print("team itvoyagers")

This statement will prints for display the result on the screen

team itvoyagers

Classification of programming languages

There are many different classifications available based on different parameters.
But basically programming languages are classified as.

Low level

The low level programming language is very close to machine. Computer can understand such languages directly and easily. Script writing requires knowledge of machine code and instructions.
As these languages are very well understood by machine directly the time required for the execution is very less but program development time is more as only technically strong developer who is aware of machine code and instructions can work with low level language.

Machine language

In machine level language program is written using binary using 0s and 1s
Scripting in machine level languages is very difficult.
Finding and solving errors is very difficult in such languages.
There is no distinction between instruction and operands for data.

Symbolic or assembly language

As binary machine-code instructions are difficult to understand directly, assembly-language programs are expressed in a symbolic notation.Mnemonics which are small English like words are used.
This made instruction and operates or data distinct.
Assembler is a utility program used to translate a program to machine code.
Execution becomes slower as assembler is used to convert code to machine language.

Middle level languages

Developing and executing scripts is fast as compared to low level languages.
Example C language.

High level languages

Any high level languages are not directly understood by computer. English like statements are used to write a script.
This script is translated into a form which is understandable by machine i.e byte-code or binary code.
This requires more time for execution.
It is easy to code in high level languages as English like statements are used.
High level languages are machine independent i.e they can be executed on any platform.
Example Java.

For other python basics related posts:

Best post on programming language and its types – 1
Python Programming (Basics) – History & Features
Python Programming (Basics)- Debugging & Types of errors
Python Programming (Basics) – Variables, Values, Types & Keywords.
Best post on built-in functions in python – 1
Python Programming (Basics) – Type Conversion
Python Programming (Basics) – Comments,Indentation,Built-in Number Data types and Expressions
Best post on IDLE & script mode in Python – 1
Python Programming (Basics)- Operators in Python
Best post on Order of Operations – Python
Simple and compound statements of python in easy way
Best post on conditional statements in python – Part 1
Best post on conditional statements in python – Part 2
Best post on looping in python (for loop)-Part 1
Best post on looping in python (while loop)-Part 2
Best post on nested loop in python(looping) -Part 3
Best post on infinite loop in python(looping) -Part 4
Best post on control statements(break,continue,pass)-1
Best post on Function definition & calling in python -1
Easy flow of function execution,parameters,arguments-2
Easy fruitful & void function,return values,stack diagrams-3
Best post on types of function arguments in python- 4
Best post on recursive function, scope of variable-5
Best post on import and from statement in python – 1
Best post on modules and built-in modules math,random & time-2
Best post on user defined modules in python-3
Best post on string datatype in python – 1
Best post immutable string,string operations python-2
Best post on string methods in python – 3
Best post on list datatype in python – 1
Best post on mutable list, list operations python – 2
Best post on List methods in python – 3
Best post on dictionary datatype in python – 1
Best post on dictionary methods and operations-2
Best post on tuple datatype in python – 1
Best post on tuple operations and immutable tuple- 2
Best post on tuple methods and built-in functions-3
17 -Python program to demonstrate Button in tkinter and its event in easy way
New posts coming soon.......

For other advanced python related posts:

File Systems and File Handling in Python
Types of file modes and attributes of file object in Python
How to read,write and append in a file in python?
Remaining file methods in Python
File Positions in Python
Directory in Python and its methods
Iterator and Iterables in Python
Exceptions in Python
Exception Handling in Python (Part I)
Exception Handling in Python (Part II)
Regular Expressions
Metacharacters or Regular Expression Patterns
Functions in 're' module(Part I)- Match vs Search
Functions in 're' module(Part II)-findall(), split(), sub()
Flags for regular expressions(Modifiers)
GUI programming in Python and Python GUI Library
What is Tkinter ?
Layout Manager (Geometry Manager) in Python
Events and Bindings in Python along with Widget configuration and styling
Fonts Names, Font Descriptors, System Fonts, Text formatting, Borders, Relief Styles in Python
Best post:Dimensions, Anchors, Bitmaps & Cursors in Python
Canvas widget of tkinter module – Python
Widgets in tkinter module – Python
Label, Text, Entry & Message Widget in Python
Button, Checkbutton & Radiobutton Widget in Python
Best post on Menu and Menubutton Widget of tkinter
Best post- Listbox and Scrollbar(Slider) Widget-Python
Best post on Frame Widget of tkinter in Python
Best post: message box widget and its methods
Best post- LabelFrame, Toplevel, PanedWindow widgets
Best post on Spinbox and Scale Widget in Python
Best post : Database connectivity in Python (Part 1)
Best post : Database Connectivity in Python (Part 2)
Best post on Create and Insert query : Python + MySQL
Best post on Select Query to Search & Read: Python + MySQL-4
Best post on Update query and Delete query : Python + MySQL-4
New posts coming soon.......

Leave a Comment