Skip to main content

Need or Not ?

  • Data structures are used in computing to make it easy to locate and retrieve information. 
  • Primitive data structures are simple ways for programming languages to represent basic values. These include data types like integer, char (character), Boolean, pointers, and the like. Non-primitive data structures provide ways of storing multiple values in a single variable. 
  • These include arrays, lists, stacks, trees, and so forth. Data structures can also be used to group and organize other data structures.
  •  In databases, a record can be thought of as a data structure that contains all the data structures related to a given key; in object oriented programming languages like Java, a class is a data structure that organizes attributes and functions in such a way that they can be easily replicated. In each case, the way the data is "structured" makes it easy to retrieve or manipulate.

Comments