1.3 Introduction to Data Structures Flashcards
1
Q
What is a data structure?
A
It is a group of data elements that provide an efficient way to store and organize data in the computer, so it easy to use, access, and retrieve.
2
Q
What are the types of data structures?
A
Primitive and nonprimitive
3
Q
Name the primitive data structures
A
int, char, float
4
Q
Name the nonprimitive data structure.
A
Linear and nonlinear
5
Q
Name the non-linear structures.
A
trees, graphs
6
Q
Name the linear data structures
A
Static and non-static
7
Q
Name the static data structures
A
arrays
8
Q
Name the dynamic data structures
A
stack, queues, and linked lists