dsa intro Flashcards

1
Q

RAM

A

random-access machine

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

RAM computations take ______ time

A

constant

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

data structure

A

a structure to store and organise data in the memory in order to facilitate access and modifications

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

algorithm

A

an unambiguous way of doing a task

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

How do we know an algorithm is correct?

A

it halts
it solves the given problem and outputs the correct solution

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

Important questions for designing an algorithm

A

How to store the data?
Is it correct?
How much time and space does it require?

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

abstract data types

A

they describe what we can do with the data, but not how

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

dictionary operations

A

serach, insertion, deletion

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