Tuesday, 3 June 2014

DAta Types definition and details

Data Types:
A data type in a programming language is a set of data with values having predefined characteristics. Examples of data types are: integer(0-9), floating point unit number(0.0 - 9.0), character(A-Z and a-z), string(combination of alphabets and numbers example address). Usually, a limited number of such data types come built into a language. The language usually specifies the range of values for a given data type, how the values are processed by the computer, and how they are stored.

examples of data types:
integer: your roll number or id card number(123 or 423011234567 etc)
float: population or average count(89.45% or 42,000,11122.34848)
string: flatno123 road abc city country900
character: 'a' or 'z'
 NOTE: character is single alphabet not cluster or combination of alphabets if combination occurs then it will be considered as string.

Thursday, 1 May 2014

logo


About GW-BASIC

BASIC PROGRAMMING

History of GW-BASIC

Basic was originally developed at Dartmouth college, New Hamsphire (U.S.A) 

by John Kemeny and Kurtz 

in the mid 1960s. Basic is easy to learn and fun to use. It is very close to

 English Language.

GW-BASIC Applications

BASIC is often used for variety of more advance applications in such areas

 as business, science, engineerig and mathematics.

OTHER BASIC LANGUAGES

MBASIC === Microsoft BASIC GW-BASIC === Gee - Whiz BASIC BASICA === BASIC Advanced QBASIC === Quick BASIC VB === Visual BASIC

GW-BASIC is Interpreted Language

BASIC is a high level interpreted language. Lets you run programs as you write them.

 Interpreted Languages make good learning platforms because of their quick feedback.

Modes of GW-BASIC Programming

There are two modes of GW-BASIC Programming. 1. Direct Mode 2. Indirect Mode

1. Direct Mode

In the Direct Mode BASIC commands and statements are executed as they are entered. 

This mode is useful for removing errors in programs (Debugging).

2. Indirect Mode

(a) The Indirect Mode is used to enter programs.

 (b) Program Lines are always preceded by line numbers  

and are stored in memory.

 (c) Program is executed by entering the RUN command.