Programming languages

Programming languages

A programming language is used to write computer programs such as

  • Applications
  • Utilities
  • Servers
  • Systems Programs

Each and every operation in your computer performs has instructions that someone had to write in a programming language. These had to be created, compiled and tested- a long and complex task.

Since the 1950s, computer scientists have devised thousands of programming languages. Many are obscure, perhaps created for a Ph.D. thesis and never heard of since. Others became popular for a while then faded due to lack of support or because they were limited to a particular computer system. Some are variants of existing languages, adding new features like parallelism- the ability to run many parts of a program on different computers in parallel.

These languages include Machine, Assembler, C or C++. Machine Language refers to the “ones and zeroes” that digital processors use as instructions A computer motherboard with the CPU, RAM and ROM), the instructions to boot the computer are limited to a small amount of memory in the boot ROM chip and so are usually written in assembler. Operating systems like Linux or Windows are written in C and C++.

A program is written as a series of human understandable computer instructions that can be read by a compiler and linker, and translated into machine code so that a computer can understand and run it.

Then see the real meaning of programming languages: A vocabulary and set of grammatical rules for instructing a computer to perform specific tasks.

The term programming language usually refers to high-level languages, such as BASIC, C, C++, COBOL, , Java and Pascal. Each language has a unique set of keywords (words that it understands) and a special syntax for organizing program instructions.

High-level programming languages, while simple compared to human languages, are more complex than the languages the computer actually understands, called machine languages. Each different type of CPU has its own unique machine language.

Lying between machine languages and high-level languages are languages called assembly languages. Assembly languages are similar to machine languages, but they are much easier to program in because they allow a programmer to substitute names for numbers. Machine languages consist of numbers only.

Lying above high-level languages are languages called fourth-generation languages (usually abbreviated 4GL). 4GLs are far removed from machine languages and represent the class of computer languages closest to human languages.

Regardless of what language you use, you eventually need to convert your program into machine language so that the computer can understand it.

There are two ways to do this:

  • compile the program
  • interpret the program

See difference between about these two methods compile and interpreter.

An Interpreted language is processed at runtime. Every line is read, analyzed, and executed. Having to reprocess a line every time in a loop is what makes interpreted languages so slow. This overhead means that interpreted code runs between 5 – 10 times slower than compiled code. The interpreted languages like Basic or JavaScript are the slowest. Their advantage does not need to be recompiled after changes and that is handy when you’re learning to program.

Because compiled programs almost always run faster than interpreted, languages such as C and C++ tend to be the most popular for writing games. Java and C# both compile to an interpreted language which is very efficient. Because the Virtual Machine that interprets Java and the .NET framework that runs C# are heavily optimized, it’s claimed that applications in those languages are as fast if not faster as compiled C++.

Then see the best language to program a best program.

The question of which language is best is one that consumes a lot of time and energy among computer professionals. Every language has its strengths and weaknesses. For example, FORTRAN is a particularly good language for processing numerical data, but it does not lend itself very well to organizing large programs. Pascal is very good for writing well-structured and readable programs, but it is not as flexible as the C programming language. C++ embodies powerful object-oriented features, but it is complex and difficult to learn.

The choice of which language to use depends on the type of computer the program is to run on, what sort of program it is, and the expertise of the programmer.

Visit the below sites and get more knowledge in programming languages

Advertisements

Lock a folder using Notebad

Now a days in the internet many soft wares are available to lock a folder.But it is a easy way to lock a folder.This is working windows XP only.

Example  do you have folder name baran , you follow bellow steps:

Lock a folder use notepad

  • Open a Notepad and type following words.
  • ren baran baran.{21EC2020-3AEA-1069-A2DD-08002B30309D}

Lock a folder use notepad

  • Next save that Notepad named as lock.bat.

Lock a folder use notepad

  • Then open another notepad and type following words.
  • ren baran.{21EC2020-3AEA-1069-A2DD-08002B30309D} baran
  •  After that again save the Notepad named as key.bat

If you want to lock your folder you should double click the lock.bat file. After if you want unlock your folder you should double click key.bat file.

Here important think is when you  lock a file that time your folder & lock.bat files must be in a same place.In the same way to unlock a folder that time also your folder & key.bat files must be in a same place.

You lock a folder using lock.bat file & Store the key.bat file in another location.Others cannot open your folder without that key.bat file.

Yours

writerbaran

Create Google logo in your name

Create Google logo in your name

How your name is come on the Google website. If the facility provides us with a website.
Go to that site Enter your Name there.

The various characters in the window below. We can select the design of button at the bottom of the alphabet by clicking on the button.

Google’s Web site with our name appears in a few seconds to open. Bring your name in Google logo style.

You can type your friend name,select the design of the button & send its link to your friend email. When your friend click the link your friend can get his/her name as Google web site name.

It is possible to change that page to your home page.

You want this Google features please click below link.

http://www.goglogo.info/

Yours

writerbaran

Create One-Click Restart icon on your desktop

Today tip will help you to enjoy the quicker restart of your computer with a single click on desktop Restart icon. You can set the time when your computer will start the restart process. A single click on Restart icon will close the all running applications and start the restart properly after predefined time. This tip is very useful to save power and time as well. After the execution of this command, a small window will appear to start count time of system restart.Follow the given steps to create the shutdown icon:

  • To create a new shortcut, right click on any empty area of you desktop and go to New then Shortcut

How to create One-Click Restart icon on your desktop

  • Now a small windows dialog box will appear with the title “Create Windows”. In the “Create Shortcut” window, type the following command.
  • SHUTDOWN -r -t 30
  • Here t 30 means time in second, for example if you want your computer will restart automatically after half minute then the command will be shutdown -r -t 30. But if you want your computer will restart without any countdown then type command as shutdown -r -t 00.

  • Click Next button to type the name of this shortcut and press Finish to close it.This command starts a 30-second countdown for restart.

How to create One-Click Restart icon on your desktop

  • Then go to run window and type shutdown -a command and activate this program

How to create One-Click Restart icon on your desktop

  • At the end, when you click on restart icon, a windows dialog box will appear with the information” This system is shutting down. Please save all work in progress and log off. Any unsaved changes will be lost. This shutdown was initiated by administrator”.

How to create One-Click Restart icon on your desktop

Yours

writerbaran

Best First Programming language

There are a lot of languages available in the programming field. I had a simple basic knowledge in some popular languages. So today I write a small article about Best First Programming language study easily.

C++ is fairly difficult as well, however, it does teach good discipline.

Java is about the same as C++ but it is completely Object Oriented, which is a very good skill to develop.

C# is a combination of C++ and Java but it the IDE makes it very easy to use.

Visual Basic .NET is basically C# using Visual Basic syntax…I don’t recommend it at all, if you are going to learn a .NET language, first you should learn C#.

Visual Basic 6.0 is probably the easiest language to learn, especially if you are coming from a batch background, but most VB programmers (those who learned VB as their first language) are much undisciplined and often ridiculed for their lack of sophistication/elegance.

So, for a batch programmer, C might be the best starting point then. C is a little cryptic, but very powerful. You can develop similarly to batch programming. And if you want to learn C++ and OOP, you will have a basic understanding of the C language foundation (which will allow you to learn Java and C# very quickly as well)

Python is a programming language that is freely available and that makes solving a computer problem almost as easy as writing out one’s thoughts about the solution. Python is an interpreter, general-purpose high-level programming language. Python is easiest language to learn. It has very familiar GUI& its editor you can live with and familiarize you with the basics of Python programming.

Now with that being said, if you want to learn programming language in my view, and you want to start with Python. You can live with and familiarize yourself with the basics of Python programming.

“Proper programming form depends on the programmer not on the language.”

 Which language you need to start with is dependent on what you want to do. If you don’t know what you want to do, start with a popular, object-oriented, well-rounded language like C++, Java, C#, C and VB.NET. But, if you’re not interested in doing low-level work o rgame programming, then DON’T WASTE YOUR TIME with C++, Java, C#,C and VB.NET,you Should learn VB, Python & Perl.

But then, it all depends on your objectives. Write a program that complies with all the rules of programming or to write a program that achieves a particular objective in the shortest time possible.

First programming language is essence of circumstances of objectives, available time period to study that language & your basic computer knowledge.

writerbaran

Welcome Friends

Welcome Frinds

Hi

My dear all friends I welcome you all for my new WordPress blog.

This is my first blog experience.So If  I made small mistakes you should excuse me.

I will write below things in my blog

  • My programming experience
  • New technologies
  • Tips for windows 7&XP
  • Earn money in internet

Please give me some comment and encourage my articles

Yours

writerbaran