Data Structures Flashcards

1
Q

What is metadata

A

Data that provides info about other data.

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

What is valgrind

A

A terminal command used for memory debugging and checking for memory leaks among other things

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

What does -> represent in C?

A

A pointer variable with the dot operator for a field. Used in place of the dot and without the dereference operator

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

What is collision in C?

A

When two pieces of data run through a hash function yield the same code.

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

What is linear probing in c?

A

If there is a collision, it probes for the next empty spot, wrapping if needed.

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

What is clustering in C?

A

What two adjacent cells contain data , making it more likely that the cluster will grow

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

What is chaining in C?

A

A solution for clustering where elements with the same hash code are chained

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

What is enqueue in C?

A

Adding a new element to the end of a queue

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

What is Dequeue in C?

A

Removing the oldest element from the front of the queue

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

What is LIFO in C?

A

Last in first out - order of adding and removing data

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

What does it mean to push in c?

A

Add a new element to the top of a stack

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

What does pop mean in c?

A

Remove something from the top of a stack

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