True or False Flashcards

1
Q

TRUE OR FALSE: Dynamic arrays have a fixed size that cannot be changed after initialization.

A

False

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

TRUE OR FALSE: In a singly linked list, each node contains a reference to both the next and previous nodes.

A

False

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

TRUE OR FALSE: Stacks follow the First In, First Out (FIFO) principle.

A

False

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

TRUE OR FALSE: In a binary search tree, the left child of a node contains a value less than or equal to the node’s value.

A

True

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

TRUE OR FALSE: Hash tables use a collision resolution technique to handle cases where multiple keys hash to the same index.

A

True

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