Data Structures Flashcards

1
Q

Array

A

Ordered, finite set of elements of the same data type

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

Record

A

A row in a file and is made up of fields

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

List

A

Consists of a number of items where the items can occur more than once and have different data types

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

Tuple

A

Ordered set of values of any type which is immutable (cannot be changed)

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

2D array

A

Can be visualised as a table

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

3D array

A

Can be visualised as a multipage spreadsheet and thought of as multiple 2D arrays

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

Stack

A

Last In First Out
Uses a single top pointer
Push and Pop

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

Queue

A

First In First Out
Front and Back Pointer
Enqueue and Dequeue

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