answersLogoWhite

0

A primitive data structure is generally a basic structure that is usually built into the language, such as an integer, an array or a linked-list.

A non-primitive data structure is built out of primitive data structures linked together in meaningful ways, such as a binary search tree, AVL Tree, Hashtable, etc.

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about Basic Math

What is the difference between minimum and maximum numbers?

the rang ( of the rang ) the difference between the maximum and minimum values in a data set.


What is the difference between varchar and nvarchar?

The difference between varchar and nvarchardatatypes is that Nvarchar stores UNICODE data. If you have requirements to store UNICODE or multilingual data, nvarcharis your choice. Varchar stores ASCII data and should be your data type of choice for normal use.


What is primitive and composite data types in DBMS?

Primitive datatypes are the basic units of a language; each primitive value contains a single datum (as opposed to an array of multiple items) and describes that datum literally. Primitive data is very straightforward. Primitive datatypes are, as their name suggests, simple. They can hold text messages, frame numbers, movie clip size values, and so on, but they don't readily accommodate higher levels of complexity. Examples: Number, string, boolean, undefined, and null. Composite data Types are complex data type. For more elaborate data handling -- such as simulating the physics of a dozen bouncing balls or managing a quiz with 500 questions and answers -- we turn to composite datatypes. Using composite data, we can manage multiple pieces of related data as a single datum. Whereas a single number is a primitive datum, a list (i.e., an array) of multiple numbers is a composite datum. Examples: Suppose we wanted to track the profile of a customer named Derek. We could create a series of variables that store Derek's attributes as primitive values


What is difference between Metrics and Matrix?

Metric is a measurement that can classify software or product quality and then process the quality of metrics. Matrix is a data collection mechanism, that uses collected data to derive metrics.


Differentiate between Direct Access and Sequential Access methods?

the difference between them is that direct access, such as a DVD allows you to go directly to a specific piece of data using an index, whereas sequential access is when data is chronologically stored on a VCR tape or Magnetic tape, you must go through all the data before you reach the data your looking for.

Related Questions

What is the difference between allocation and search data structure?

difference between serch data structure and allocation data structure


Is array a primitive data structure?

No, it's not. But it can be based on primitive data types (int, char, long, double and so on).


What do you mean by non primitive data structure in C programming?

What do you mean by searching in data structure in C.?


What is the difference between structure and pointer?

A structure is a collection of primitives or other structures. A pointer is a memory address. Comparison of the two is like comparing bowling balls to cinder blocks. You can say that a structure defines the layout of the data, while a pointer points to data that is a particular structure.


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 the difference between data and data structure?

Data structure: An information structure is an arrangement of information considered as one substance. An int, for instance, is a straightforward variable, can't be considered as an information structure, yet an exhibit is an information structure. Data: Information will be data that has been interpreted into a frame that is more advantageous to move or procedure.


Data types in c primitive and non primitive?

Primitive types are the data types provided by a programming language as basic building blocks. Primitive types are also known as built-in types or basic types. Depending on the language and its implementation, primitive types may or may not have a one-to-one correspondence with objects in the computer's memory. However, one usually expects operations on primitive types to be the fastest language constructs there are. Integer addition, for example, can be performed as a single machine instruction


What is the difference between binary tree and tree data structure?

binary tree is a specific tree data structure where each node can have at most 2 children nodes. In a general Tree data structure nodes can have infinite children nodes.


Difference types of nonlinear data structure?

Tree, Graphs are the types of nonlinear data structure.


What are the characteristics and uses of a primitive data structure?

A primitive data structure is a basic data type that is built into a programming language, such as integers, floating-point numbers, and characters. These data structures are simple and have fixed sizes, making them efficient for storing and manipulating data. They are commonly used for basic operations like arithmetic calculations and storing individual pieces of information.


Should element in an array must be of primitive data type?

No, it can be array, structure or union as well.


What is the difference between OLAP and data mining?

difference between Data Mining and OLAP