Chapter 1 Flashcards

1
Q

Where the word algorithm come from

A

From a Muslim scientist name AL-khawarzmi

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

What is algorithm

A

An algorithm is any well-defined computational procedure that takes some values, or set of values, as input and produces some values, or set of values, as output.

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

Computer sciences mainly focus on which 2 things

A
  • Algorithms

- Data structures

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

What are NP-complete problems

A

NP-complete (Non-polonomials) problems are those for which no efficient algorithms are known, but no one knows for sure whether efficient solutions might exist.

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

What are 2 criteria for measuring algorithms

A
  • Memory

- Running time

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

What is random access machine

A

A RAM is an idealized machine with an infinitely large random-access memory. Instructions are executed one-by-one (There is no parallelism).

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

What are parallel computers

A

Instructions execute parallel

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