answersLogoWhite

0

All variable types in a given computer language are useful to a programmer, otherwise they would not be included in the language. However, a specific program may not need to use all types to solve a given problem.

In general, there are two distinct categories of variable types: primitive types and derived types.

A primitive variable type is one whose definition is stated by the program language itself. Common primitive variable types are Integers, Characters, Floating Point numbers, and Arrays. The meaning of these types is fixed, and cannot change. Most languages seldom have more than a half-dozen primitive variable types.

A derived variable type is one which is created by combining two or more primitive types together. It is possible to create a huge variety of different derived variable types. Items such as HashMaps, Strings, and Linked Lists are common derived variable types.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Are variables automatically initialized by Java if the programmer does not?

no


How do you identify the register variables?

Registry variables can be identified with registry allocation. The programmer will decide on the variables that need to be assigned to the registry, and variables not assigned to the registry will be held in RAM.


What are identifying variables?

the variable which can be identified by the programmer are called identified varibles


2 types of variables?

Qualitative and quanitative are two types of variables.


What are the two types of variables?

The two types of variables are the CONSTANT and CONTROL.


What variables are useful for two-way communication between modules?

Constant Variables


What kind of garph is most useful for showing the relationship between two numerical variables?

A line graph is the most useful type of graph for showing the relationship between two numerical variables. A bar graph can also be used since these two types of graphs are straightforward and simple.


Independent and dependent are types of what?

Independent and dependent are types of variables. These variables are used mostly in science and math. When using independent variables you can control them dependent variables you cannot.


Quantitative variables can be separated into what two types?

nominal and ordinal is wrong; those are the two types of qualitative variables. Ratio and interval are the two types of quantitative variables.


What is the difference between the stack and the heap?

The stack is a local memory reserve where the program stores variable and function data. The heap is a special memory reserve where the programmer can dynamically allocate memory from. The heap is useful when the programmer doesn't know how large to make certain variables, he just constructs one of the right size during run-time.


Why all programmer used the php?

It is easy for coding and useful for many categories of websites.


3 types of variables?

controlled,manipulated,responding variables