10.4 Thinking Logically, Thinking Concurrently Flashcards
1
Q
Features of a good algorithm
A
- Has clear and precisely stated steps that produce the correct output for any set of valid outputs
- Should allow for valid inputs
- Must always terminate at some point
- Should execute efficiently, in as few steps as possible
- Should be designed in such a way that other people will be able to understand it and modify it if necessary
2
Q
Validation routines
A
Check that a user has entered a value fit for processing
3
Q
Concurrent processing/Parallel Processing
A
Multiple processors execute instructions simultaneously
4
Q
A