Data Structures Flashcards

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

Contiguous Memory Locations

A

memory locations for consecutive blocks of memory for a file/process

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

Data Cube

A

another word for tuple, a three-dimensional array

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

Dot Syntax

A

involves adding a dot after the structure name, which makes the IDE display all available options

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

Dynamic Data Structure

A

involves adding a dot after the structure name, which makes the IDE display all available options

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

FIFO

A

First In First Out

items are always removed from the front and added at the back

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

Hash Table

A

a data structure that stores data in an associative manner, where each item maps to another

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

List

A

a data structure separated by commas

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

Linear List

A

a one-dimensional list with separate entries

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

Linked List

A

dynamic data structure where data is not necessarily stored in order or in contiguous memory locations, a multi-dimensional list where each entry has a link to the next

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

Tree

A

a hierarchical data structure used to represent and organised data in a way that is easy to navigate and search

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

Binary Tree

A

a tree where each node can only have two children, referred to as left child and right child

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

Booking Tree

A

a tree use specifically for searching

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

Hierarchical Tree

A

often more interlinked than other forms of tree

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

Queue

A

a FIFO data structure with pointers indicating the front and back, though the rear pointer may indicate the next free space instead of the last item in the queue

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

Circular Queue

A

a type of queue that is extended so that the first element is connected to the second element; unless full, a circular queue loops back to the beginning when the end of the queue is recorded

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

Linear Queue

A

generally referred to as just as queue, operates as a FIFO dynamic data structure

17
Q

Magnitude

A

also known as the absolute value, can be found by taking a negative binary number and switching all the 1s to 0s and all the 0s to 1s

18
Q

Enqueue

A

adding to a queue. Before anything can be added, queue_size must be less than max_size, then the rear pointer is moved on one

19
Q

Dequeue

A

removing from a queue. Before anything can be removed, it must first be ascertained if the queue is empty, in which case, an underflow error must be generated

20
Q

Dot Syntax

A

involves adding a dot after the structure name, which makes the IDE display all available options

21
Q

Multi-Dimensional Array

A

array with many dimensions

22
Q

List

A

one-dimensional array

23
Q

Table

A

two-dimensional array

24
Q

Tuple

A

three-dimensional array

25
Q

Series

A

a set of instructions or data with no specific order

26
Q

Sequence

A

a set of instructions or data with a specific order

27
Q

Stack

A

a collection of independent components that work together to support the execution of an application

28
Q

Static Data Structure

A

have a fixed size, cannot change whilst program runs, should use constants

29
Q

Array

A

used to store a collection of related information in contiguous memory locations when all data is of the same type, must be declared so space can be reserved in memory and the name, data type and maximum size must be declared

30
Q

Record

A

a static data structure which contains a collection of related data items, an be fixed or variable length, can contain data of different types and are accessed using dot syntax

31
Q

Heap

A

data structure used when it is necessary to repeatedly remove the object with the highest priority

32
Q

Monolithic Array

A

a self-contained application that handles all aspects of that particular application from the user interface

33
Q

Popping

A

removing items from a top, always from a top

34
Q

Priority Queue

A

queue with items in priority order as the queue sorts items into priority order before executing

35
Q

Pushing

A

adding items to a stack, always at the top

36
Q

Stack Pointer

A

points to the top of the stack, is incremented when items are pushed onto the stack or decremented when items are popped off the stack, when the stack is empty, the pointer equals -1 or null

37
Q

Tabular Data

A

refers to data that is organized in a table with rows and columns

38
Q

User Space

A

refers to all code that runs outside the operating system’s kernel

39
Q

Nodes

A

items in a list containing data and a pointer to the next item