BASIC Programming Language Features Application Areas



BASIC Programming Language Features Application Areas

BASIC Programming Language Features Application Areas
BASIC is one of the earliest programming languages popular among Computer techies. BASIC Stands for Beginners All Purpose Symbolic Instruction Code being high level language developed by programmers. In 1960, BASIC was developed by John Kemeney and Thomas Kurtz at Dartmouth College in New Hampshire State.
In 1970, BASIC language was taught to students and become popular among educators. Read BASIC Programming Language Features Application Areas thoroughly.
The language of BASIC is simple English which can easily be programmed by anyone. BASIC language was widely used because it can easily be learned and supported by most of the operating system. A popular version of BASIC today is QBASIC. Also, BASICs documentation has been translated into many national languages.

A popular version of BASIC today is QBASIC. BASIC is used in many business applications and is still considered a valid choice as a programming language for some purposes. Microsoft's Visual Basic adds object-oriented features and a graphical user interface to the standard BASIC.
Earlier, BASIC was few among High Level Language running in the market. The main advantage of High level language over low level language is that they are easier to read, write and maintain. Now, there are dozens of HLL running like ADA, ALGOL, BASIC, COBOL, C, C++, FORTRAN, LISP, Pascal and PROLOG. Read more about BASIC Programming Language Features Application Areas.

In recent years, BASIC transformed to QBASIC and then as VISUAL BASIC. BASIC program was very slow in early day of personal computing. This is because BASIC was executed through Interpreter. Through Interpreter program code is executed line by line taking too much time. But when BASIC compiler was available very less time was taken for execution. Compiler does the conversion ahead and once converting the whole program code into executable program.
BASIC is used in many business applications and is still considered a valid choice as a programming language for some purposes. Microsoft's Visual Basic (VB) adds object-oriented features and a graphical user interface to the standard BASIC.

Some of the Basic keywords used for different purposes are defined below.

1.       Data Manipulation – LET, DATA
2.       Program flow control – If – Then – Else; for …. to… Next; While …. Wend, Repeat …. Until, Do … loop, GOTO
3.       Input and Output – LIST, PRINT, INPUT, TAB
4.       List of Functions – ABS, ATN, COS, INT, LOG, SIN, SQR
BASIC programming example >> where user asked to enter a number then number multiplies by 20 and result is shown in the screen.
10 PRINT ‘ENTER A NUMBER’
20 INPUT NUM
30 PRINT ‘YOUR NUMBER * 20 IS  ‘;NUM*20;

The IF construct is a compound statement which begins with IF ... then and ends with END IF. The sequence of statements (a block) inside the IF construct is indented for clarity (done automatically by the DO FORMAT command). An example of the IF statement with two or more branches is given by:
LET x = 0
DO while x <= 30
   IF x = 0 then
      LET f = 0
   ELSEIF x <= 10 then
      LET f = 1/x
   ELSEIF x <= 20 then
      LET f = 1/(x*x)
   ELSE
      LET f = 1/(x*x*x)
   END IF
   PRINT x,f
   LET x = x + 1
LOOP
END
Features of BASIC programming language:

1.       Easy to learn for beginners.
2.       It is designed for interactive use rather than batch work.
3.       Adds powerful additional features for the advanced users
4.       Despite its simplicity, it is used for a wide variety of business applications.
5.       Lends itself to learning by hands on practical use.
6.       It allows creation of loops.
7.       It allows User defined functions
8.       It contains various system commands.

BASIC Programming Language features Application Areas

1.       It contains powerful additional features which can be beneficial for advance users.
2.       It is used in many business applications due to user choice for simplicity
3.       This language is very easy to learn by the beginners. The user having less knowledge of Mathematics can also program in BASIC.
4.      BASIC is designed for interactive use despite of Batch work.
e-   BASIC was upgraded to QBASIC and later to Visual Basics. 
--   BASIC is a computer programming language developed to create macros to automate repetitive word- and data-processing functions, and generate custom forms, graphs, and reports
--- BASIC later provide a powerful features such as graphical user interface, events handling assess to Win 32 API, object-oriented features, error handling, structured programming. 







No comments:

Post a Comment

How to see OTT in Android mobile