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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the types of data structures?

A

Primitive and nonprimitive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Name the primitive data structures

A

int, char, float

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name the nonprimitive data structure.

A

Linear and nonlinear

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Name the non-linear structures.

A

trees, graphs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Name the linear data structures

A

Static and non-static

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Name the static data structures

A

arrays

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Name the dynamic data structures

A

stack, queues, and linked lists

How well did you know this?
1
Not at all
2
3
4
5
Perfectly