mostly all programming language can be defined in two category.
Compiled (Programming)
Interpreted.(Scripted)
Programming (Compiled)
Language like C , C++ etc comes in compiled category while JavaScript ,Lua etc comes in Scripting Category.
Compiled Language has below generic steps for programming
1.Write Code.
2.Compile it with Compiler( Like VisualStudio on Windows for C++ , gcc on linux for C++)
3.Link all the object file.
4.Create executable
5.Run on desired system(Supporting library should be present there )
One the executable is created , after that nothing can be done .User can run it and based on the type of application(UI/non UI) only input can be given.OS takes control of running of the program.
Scripting (Interpreted) : JavaScript,Lua
These are simpler scripts , which runs normally in browser or other Interpreter based environment like JavaScript .Here the interesting thing is that browser is it self written in C++.
These are normal steps in Scripting Language
1.Write Script Code.
2.Compile it with Compiler( Like VisualStudio on Windows for C++ , gcc on linux for C++)
3.Link all the object file.
4.Create executable
5.Run on desired system(Browser or other environment )
Scripting language has limited feature and very less access of system internals while Programming language has a greater control over system
Scripting language execute line by line ( like a interpreter Convert the speech from one language to another in real time –> English to hindi )
While Programing language are pre translated in Machine code (There is no interpreter and speech is already converted and printed in native language of user)
Programming language are fast.
MARKUP Language : (HTML,XML)
Special syntax , to display the format of data like display the name of user as Table or Bullet , it is presentation of data
XML widely used in creating GUI of Android application.
Java: has a special category which is partially compiled and partially interpreted .Will be covered later in detail.