Introduction to fundamentals of algorithms Flashcards

1
Q

What is a data structure?

A

An organization of data to solve a problem at hand

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

What is an algorithm?

A

Algorithm is a step by step procedure , which defines a set of instructions to be executed in a certain order to get the desired output.

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

3 examples for primitive data structures

A
  • integer
  • float
  • char
  • pointers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

3 examples for non primitive data structures

A
  • arrays
  • lists
  • files
How well did you know this?
1
Not at all
2
3
4
5
Perfectly