Data Structures and Abstract Data Types Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Data Structures

A

A data structure is a format used to store, organise and manage data in a way that allows efficient access and modifications for the needs of program

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

Arrays

A

A data structure for soring finite, ordered set of data of the same data type within a single identifier

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

Multi-Dimensional Arrays

A

An array where each data is located using multiple indices

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

Single Dimensional Arrays

A

An array where each data item can be located using a single index

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

Binary File

A

An organised collections of records where data is stored in binary

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

Fields

A

A single item of data

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

Records

A

A data structure that stores multiple fields, organised based on attributes, within a single line of a file

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

Text File

A

An organised collections of records where data is stored in human readable characters

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

Dictionaries

A

A data structure consisting of set of keys that are mapped to their corresponding values

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

Graph

A

A data structure consisting of a set of vertices/nodes connected by a set of edges/arcs

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

Hash Tables

A

A data structure where a hashing algorithm creates a mapping between keys and values. The data item can then be directly accessed by recalculations, without any search

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

Queues

A

A first-in-first-out (FIFO) data structure. The first item is added/pushed on to the queue is the first to be removed/popped off

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

Stacks

A

a last-in-first-out (LIFO) data structure. The last item added/pushed will be the first to be removed/popped off

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

Static Stucture

A

A data structure that is allocated a fixed amount of memory space, which does not change throughout the execution of the program.

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

Trees

A

A data structure that uses a set of linked nodes to form a hierarchical structure starting at a root node, Each node is a child/sub node of a parent node

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

Vectors

A

A data structure representing a quantity with both magnitude and direction. IT can be represented as a list, function or geometric point

17
Q

Peek/Top

A

An operation that allows the user to view the top element of the stack without modifying it

18
Q

Pop

A

An operation that removes the most recently added element that was not yet removed from the stack

19
Q

Push

A

An operation that adds an element to the top of the stack

20
Q

—2.4

A