answersLogoWhite

0

Define non standard data types

Updated: 11/4/2022
User Avatar

Wiki User

11y ago

Best Answer

In programming, non-standard data types can be anything; a model for a house, a person, a bank account, a galaxy. They all have in common that they are created through composition of basic built-in data types such as integers, strings or floating point data types.

To define non-standard data types, programming languages typically provide three to four language tools:

Arrays can combine multiple entities of the same basic or non-standard type into as larger new type. When an array is viewed as its own data type rather than a simple accumulation of variables, the whole is more than the sum of its parts: in the C Programming language, for example, an array of bytes defines a string or characters.

Structures can combine multiple entities of the same or different data types into one record, from which all record members are accessible at the same time. For example, a student's record might hold the name and date of birth for a single student.

Unions can combine multiple entities of the same or different data types into one record, from which only one record member is accessible at any one time. For example, a union containing the key characteristic of a geometric shape might contain the number of edges of a polygon as an integer number, or a sphere's radius as a floating point variable. The programmer needs an additional method to determine whether this union ought to be interpreted as the edge-count or the radius.

Object-oriented programming languages also support classes. In simple terms, classes are structures which also contain functions, not only data. (Note this is a radical simplification. Classes and object-oriented programming have more to offer than glorified data structures.)

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Define non standard data types
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Variables as object in java?

There are two main categories of variables in Java. They are primitive and non primitive. Primitive data types are the basic data types like int, float, char etc. These are not objects. The other non primitive data types are all types of Java Objects. Example: String, ArrayList etc.


Types of data in reseach methodology?

experimental, survey,non creative and secondary analysis research, last analysis of quantitative data.


What are the only types in Java that are not classes?

The non-class Java data types are primitives: * byte * short * int * long * float * double * boolean * char


What is different between primitive date type and non primitive data type in c plus plus programming language?

A primitive data type is built into the language - int, char, long, etc. A non-primitive data type is am abstract data type that is built out of primitive data types - linked list, queue, stack, etc.


What is non primitive data types in Java?

"Primitive" data types are integers (char, int, long), floats (float, double) and void. Void is never used for variables, but tells C that a function accepts and/or returns no arguments. "Non-primitive" data types include arrays, structs and classes. These utilize primitive data types and are called, in general, structured data types. Data types can become more complicated as you mix the structured data types. For instance, arrays, structs and classes can contain arrays, structs and classes, nested as deep as you wish. Depending upon who asks the question, a non-primitive data structure may be just a structured type (array, struct, class), or a structured type containing structured types.

Related questions

Which facilitates processing non standard claims data elements into standard data elements?

provider


What are the types of Monetary standards?

The types of monetary standards are: Commodity Standard or Metallic Standard and Non-Commodity Standard or Fiat Standard


Can standard deviation be calculated for non normal data?

Standard deviation can be calculated using non-normal data, but isn't advised. You'll get abnormal results as the data isn't properly sorted, and the standard deviation will have a large window of accuracy.


What types of index data structures can you have?

There are three types of index data structures: unique, non-unique, bitmap


Variables as object in java?

There are two main categories of variables in Java. They are primitive and non primitive. Primitive data types are the basic data types like int, float, char etc. These are not objects. The other non primitive data types are all types of Java Objects. Example: String, ArrayList etc.


How many types of non standard utcs are there and what do they end with?

Two(Z99 and ZZZ)


What are differences between data types numeric and non numeric?

Numeric data are data that can be quantify. i.e age, e.t.c While Non-numeric data are data that cannot be quantify but can be categorise. Such as colour, name e.t.c


Which type of data is non-numerical?

Non numerical data includes :String or Text sentencesCharacters : a single character like 'c' or '1' or '$'Objects : which consist of other basic types of data, but are not numerical themselves


What are the differences between Homogeneous and non homogeneous data structures?

in homogeneous data structure all the elements of same data types known as homogeneous data structure. example:- array while there can b any type of data in non homogeneous data structure. example:- list


Types of data in reseach methodology?

experimental, survey,non creative and secondary analysis research, last analysis of quantitative data.


Define non tariff barriers?

Non-tariff barriers are blocks to trade include quotas, local-content requirements, licenses, and other types of import restrictions that depend on quantity, not price.


What are the types of quantites?

experimental, survey,non creative and secondary analysis research, last analysis of quantitative data.