Languages of Computer
Languages of Computer
Assembly language is the most basic programming language available for any processor. With
assembly language, a programmer works only with operations that are implemented directly on the
physical CPU.
Assembly languages generally lack high-level conveniences such as variables and functions, and
they arenot portable between various families of processors. It has the same structures and set of
commands as machine language, but it allows a programmer to use names instead of numbers. This
language is still useful for programmers when speed is necessary or when they need to carry out an
operation that is not possible in high-level languages.
(2)
Java
Java has a concise, cohesive set of features that makes it easy to learn and use.
Most of the concepts are drew from C++ thus making Java learning simpler.
Secure :
Portable :
Java programs can execute in any environment for which there is a Java runtime system.(JVM)
Java programs can be transferred over world wide web (e.g applets)
Object-oriented :
Robust :
Multithreaded :
Architecture-neutral :
Interpreted :
High performance :
Distributed :
Dynamic :
Java programs carry with them substantial amounts of run-time type information
that is used to verify and resolve accesses to objects at run time.
(3)
C Language
Database systems
Graphics packages
Word processors
Spreadsheets
Operating system development
Compilers and Assemblers
Network drivers
Interpreters
Reliability
Portability
Flexibility
Interactivity
Modularity
(4) Python
Python is a fairly old language created by Guido Van Rossum. The design began in the
late 1980s and was first released in February 1991.
Python is a computer programming language that lets you work more quickly than other
programming languages. Experienced programmers in any other language can pick up
Python very quickly, and beginners find the clean syntax and indentation structure easy
to learn.
Features of Python Programming
1. A simple language which is easier to learn
Python has a very simple and elegant syntax. It's much easier to read and
write Python programs compared to other languages like: C++, Java, C#.
Python makes programming fun and allows you to focus on the solution rather
than syntax.
If you are a newbie, it's a great choice to start your journey with Python.
2. Free and open-source
You can freely use and distribute Python, even for commercial use. Not only
can you use and distribute softwares written in it, you can even make changes
to the Python's source code.
Python has a large community constantly improving it in each iteration.
3. Portability
You can move Python programs from one platform to another, and run it
without any changes.
It runs seamlessly on almost all platforms including Windows, Mac OS X and
Linux.
4. Extensible and Embeddable
Suppose an application requires high performance. You can easily combine
pieces of C/C++ or other languages with Python code.
This will give your application high performance as well as scripting
capabilities which other languages may not provide out of the box.
5. A high-level, interpreted language
Unlike C/C++, you don't have to worry about daunting tasks like memory
management, garbage collection and so on.
Likewise, when you run Python code, it automatically converts your code to
the language your computer understands. You don't need to worry about any
lower-level operations.
Applications of Python
Web Applications
You can create scalable Web Apps using frameworks and CMS (Content Management
System) that are built on Python. Some of the popular platforms for creating Web Apps
are: Django, Flask, Pyramid, Plone, Django CMS.
Sites like Mozilla, Reddit, Instagram and PBS are written in Python.
Scientific and Numeric Computing
There are numerous libraries available in Python for scientific and numeric computing.
There are libraries like: SciPy and NumPy that are used in general purpose computing.
And, there are specific libraries like: EarthPy for earth science, AstroPy for Astronomy
and so on.
Also, the language is heavily used in machine learning, data mining and deep learning.
Creating software Prototypes
Python is slow compared to compiled languages like C++ and Java. It might not a good
choice if resources are limited and efficiency is a must.
However, Python is a great language for creating prototypes. For example: You can use
Pygame (library for creating games) to create your game's prototype first. If you like the
prototype, you can use language like C++ to create the actual game.
Good Language to Teach Programming