answersLogoWhite

0

Array in most programming langauges like C ,C++, Java etc is a static , homogeneous and linear data structure. A data structure itself is a mathematical and logical model to organise data.It clearly specifies the domain of the data that can be stored in the structure and the collection of valid operations (functions) that can be performed on that data. Array is a linear structure in the sense that the data is organised sequentially(one after another in a contineous chunck of memory). It is a homogeneous data structure i.e. it contains elements which are of the same data type.The data type of array can be inbuilt like int , float ,char, double and even user defined that is created using a structure or a class. The main use of an array is to oragnise homogeneous data together as a group to perform operations on data in a collective manner since traversal and retrieval becomes easy.Whenever a homogeneous list(One Dimendional or Multi-Dimensional)has to be implemented we make use of array.The advantage of array lies in the fact that it uses indexed represenattion enabling us to access any member element directly. The example of practical use of array in progarmming will be creation of index lists, pointer arrays,matrix operations(transpose,addition ,subtraction,multiplication,inverse etc.).

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

Which socket by AMD uses a land grid array rather than a pin grid array?

Socket F


How do lga sockets differ from PGA and sec?

They are physically different. LGA (Land Grid Array) uses surface-mountedconnectors, PGA (Pin Grid Array) uses pin connectors, and SECC (Single Edge Contact Cartridge) uses a slot connector.


Does the Simpsons have a yellow background?

No. The Simpsons uses a wide array of complex & detailed backgrounds.


What is the time complexity of an algorithm that uses a binary search to find an element in a sorted array in logn time?

The time complexity of an algorithm that uses binary search to find an element in a sorted array in logn time is O(log n).


What is the fourth position in an array called?

The fourth position in an array is typically referred to as the index 3, assuming the array uses zero-based indexing, which is common in many programming languages like Python, Java, and C++. If the array uses one-based indexing, which is less common, the fourth position would simply be referred to as index 4. The specific terminology may vary, but it is generally described based on its numerical index.


What is difference between DAD and PDA Detector?

A DAD (diode array detector) uses an array of diodes to measure absorbance at multiple wavelengths simultaneously, providing spectral information. A PDA (photodiode array detector) is a type of DAD that specifically uses photodiodes for detection. Both detectors are commonly used in chromatography to detect and quantify analytes in a sample.


What computer device uses a spinning color wheel in communication with a micropocessor array of mirrors?

DLP projectors are pieces of computer hardware which use the color wheel and microprocessor array you referenced.


What are the uses of a gimbal system?

There are varied uses for a gimbal system. They can be used for something as simple as a coffee cup holder to something as complicated as an array of satellite antennae.


What is a DNA tiling array?

A DNA tiling array uses overlapping DNA fragments. Hundreds of thousands of genomic fragments can be can be spotted onto a glass slide. In most tiling arrays, RNA samples are still hybridized to the slide just like a cDNA array.


What is the time complexity of an algorithm that utilizes a binary search algorithm to search through a sorted array, where the search time is represented by the function log(n) in terms of the input size n?

The time complexity of an algorithm that uses a binary search on a sorted array is O(log n), where n is the size of the input array.


Differentiate single dimensional array to double dimensional array?

A single dimensional array is an array of items. A two-dimensional array is an array of arrays of items.


What is an array of candles?

An array of candles typically refers to a collection or arrangement of candles, often displayed in a systematic or decorative manner. This could be for aesthetic purposes, such as in home décor, or for practical uses, like during a celebration or a ritual. The term "array" suggests that the candles are organized in a specific pattern or layout, enhancing their visual appeal or functionality.