Small Basic – Strongly-Typed Languages

Most professional programming languages are strongly typed. This means you have to specify the type of the variable when you declare it.

For example, to create a variable that’s intended to store an integer (a whole number) in C++ or Java, you write:

int x=5;

The keyword int tells the compiler that x is a variable of the integer type. After this line, the compiler won’t let you write x="abc" (that’s a string, not an integer).

So you should get into the habit of using the same data-type for each of your variables. This makes it easier for you to transition from Small Basic to other programming languages.


Head to to download it and learn all about it!


Small and Basically yours,

   - Ninja Ed & Majed Marji

Comments (1)

  1. Computers Today (part 1 of 6)…/computers-today.aspx


    CS SPOTLIGHT: Girls in computer programming… why it matters!!!…/cs-spotlight-girls-in-computer-programming-why-it-matters.aspx

    Computational Thinking – Videos & Papers by Jeannette Wing…/computational-thinking-videos-amp-papers-by-jeannette-wing.aspx

Skip to main content