Chapter Seven - Problem Solving and Algorithms Flashcards

1
Q

nested structure (nested logic)

A
  • structures in which ONE CONTROL STRUCTURE is EMBEDDED within another CONTROL STRUCTURE; (e.g. while(true) if(value>0))
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

abstract step?

A
  • algorithmic step for which some DETAILS remain UNSPECIFIED
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

concrete step?

A
  • step for which the details are FULLY SPECIFIED
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

binary search?

A
  • looking for an item in an ALREADY SORTED list by ELIMINATING LARGE PORTIONS of the data on each comparison.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

recursion?

A
  • ability of an algorithm to RECALL ITSELF
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

information hiding?

A
  • makes DETAILS at a LOWER LEVEL INACCESSIBLE during the design of higher levels
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

abstraction

A
  • model of a complex system that includes only the DETAILS ESSENTIAL to the VIEWER (dog example with owner, trainer, and vet)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

data abstraction

A
  • separation of the LOGICAL view of data from its IMPLEMENTATION. e.g. banks computer represents number in twos complements but this distinction is of no important to you as long as your bank statements are accurate.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

procedural abstraction

A
  • separating the logical view of an ACTION from its implementation e.g. giving a name to a subprogram
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

control abstraction

A
  • separation of the logical view of a CONTROL STRUCTURE from its implementation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

control structure

A
  • statement used to ALTER the normally SEQUENTIAL FLOW of CONTROL e.g. WHILE and IF
How well did you know this?
1
Not at all
2
3
4
5
Perfectly