by Dinesh Thakur Category: Basic Of C Programming

BASIC stands for beginner's all-purpose symbolic instruction code, and is a computer programming language that was invented in 1964 at Dartmouth University by John G Kemeny and Thomas E Kurtz. BASIC has the advantage of English-like commands that are easier to understand and remember than those of most other languages. Even so, the latest versions of BASIC can do just about anything programming languages like C or Pascal can do.

Basic was the first language made available for personal computers (Microsoft started its business selling a version) and in recent years it has returned to importance as VISUAL BASIC, though the latter bears little resemblance to earlier versions.

BASIC programs have a reputation for being very slow, which they certainly were in the early days of personal computing. This sluggishness was mostly due to the fact that in those days, BASIC was an "interpreted" language; that is, every time you ran a BASIC program, you were really running an "interpreter" which executed your program code line by line, converting it on the fly into a form your computer could understand. That conversion process takes time. Now many good BASIC compilers are available. A compiler does the conversion ahead of time and only once, turning the program code into an executable program your system can run directly, at top speed. So modern, compiled BASIC is easier to use and just about as fast as C.

Interpreters do have some advantages, though. The process of writing and testing an interpreted program is actually quicker and more convenient than with a compiled program (for the explanation, see the entry for interpreter). A BASIC interpreter makes especially good sense for creating short, simple programs, which is all that most personal computer users would be willing to tackle. If you're interested, you can find lots of old computer books full of BASIC programs at public libraries. At any rate, some computers come with a BASIC interpreter. The best example is Microsoft's BASIC, or GW BASIC, the interpreter that comes with MS-DOS. True IBM-brand PCs had slightly different versions of the interpreter called BASIC and BASICA (Advanced BASIC) that only worked on those computers.

About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.C.A, MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.