3rd 10 Flashcards

1
Q

dynamic memory allocation method used in computer programming is called blank

A

linked list allocation

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

blank can also be a unnamed, purpose of this is to avoid ‘leakage’ of private global symbols from module of code

A

namespace

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

Use blank when you want to add an element to the end of the list.

Use blank when you want to place an element at a specific position in the list.

A

append
insert

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

blank is a collection of nodes, where each node contains two parts:

A

linked list

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

Deletion
You can remove an element from:

A

The beginning of the list.
The end of the list.
A specific position in the list.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. blank
    You can blank an element by its index or position. For example, you might want to access the element at index 3 or the last element of the list.
  2. You can blank for an element in the list. This might involve FINDING A PARTICULAR VALUE OR CHECKING whether an ELEMENT EXISTS
  3. You can blank the value of an element at a specific position in the list.

6.
You can visit or blank all the elements in the list. This means you VISIT EACH ELEMENT IN ORDER, typically for operations like printing or processing each element.

  1. You can get the number of elements in the list (its size).
  2. You can check whether the list is empty (has no elements).
A

access

Search

Update

Traversal

Size

IsEmpty

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