Mathematical techniques Flashcards

1
Q

what is decomposition?

A

Decomposition, is the process of breaking a large problem into more manageable sub-problems. The motivating principle is that large problems are disproportionately harder to solve than small problems.

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

what is pattern recognition?

A

pattern recognition, involves finding the similarities or patterns among small, decomposed problems that can help us solve more complex problems more efficiently.

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

what is abstraction?

A

Abstraction; The quality of dealing with ideas rather than events. Its main goal is to handle complexity by hiding unnecessary details from the user. That enables the user to implement more complex logic on top of the provided abstraction without understanding or even thinking about all the hidden complexity.

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

what is an algorithm?

A

Algorithms; A process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.

The common categories of algorithms that you should know:

Sorting algorithms: bubble sort, insertion sort, quick sort, etc

Search algorithms: binary search, breadth-first search, depth-first search,

Shortest path algorithms: Bellman–Ford algorithm, Dijkstra’s algorithm,

Math algorithms: Fibonacci numbers sequence, greatest common divisor, least common multiple

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

what are sorting algorithms used for?

A

A Sorting Algorithm is used to rearrange a given array or list elements according to a comparison operator on the elements. The comparison operator is used to decide the new order of element in the respective data structure.

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

what are search algorithms used for?

A

Searching Algorithms are designed to check for an element or retrieve an element from any data structure where it is stored. Based on the type of search operation, these algorithms are generally classified into two categories:

Sequential Search: In this, the list or array is traversed sequentially and every element is checked.

Interval Search: These algorithms are specifically designed for searching in sorted data-structures.

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

what are Shortest path algorithms used for?

A

an algorithm for finding the shortest paths between nodes in a graph, which may represent, for example, road networks.

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

what are Math algorithms used for?

A

An algorithm in mathematics is a procedure, a description of a set of steps that can be used to solve a mathematical computation: but they are much more common than that today.

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

what is mathematical logic used for?

A

The math that we do use everyday in software development is called Mathematical Logic. In particular, software development involves a lot of Boolean Algebra

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