Algorithms Flashcards

1
Q

What is an algorithm?

A

A step-by-step procedure or a set of rules to solve specific problems expressed in basic or natural language.

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

What purposes does an algorithm have?

A

Defines how the program will achieve its intended outcome and the logic behind the code.

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

Name 5 purposes of algorithms

A
  • Problem solving
  • Automation of tedious tasks
  • Efficiency of computer resources
  • Accuracy and reliability
  • Innovation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name 3 examples of algorithms

A
  • Search engines
  • E commerce
  • Social media networks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the key characteristics of a good algorithm?

A
  • Clear and precise
  • Well ordered
  • Finite
  • Input and output
  • Effective
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are some examples of algorithms in programming?

A
  • Search
  • Sorting
  • Mathematical
  • Machine learning
How well did you know this?
1
Not at all
2
3
4
5
Perfectly