Problem solving Strategies Flashcards

1
Q

How would you solve this as a human being

A

Direct Analogy

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

Direct analogy

A

How would you solve this as a human being

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

Suing visual aides

A

Diagramming

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

Solving for one case first

A

Specific to General

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

Recognizing data structures in a problem

A

Looking for patterns

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

Start with a simple solution and add functionality

A

Incrementalism

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

0

A

48

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

A

A

65

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

a

A

97

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

.find() applies to

A

Strings

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

.index() is used on

A

Lists

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

.remove() applies to

A

Lists

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

.replace() applies to

A

Strings

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

.count() applies to

A

Strings and Lists

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

The newline character is

A

\n

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

What method is used for file reading?

A

open()

17
Q

how many arguments does open() take

A

two

18
Q

what are some examples of the second argument for open()

A

‘r’,’w’,’a’

19
Q

when used as an argument for open(), what does ‘a’ do?

A

Appends the information to an existing file

20
Q

how many parameters does .write() take?

A

1

21
Q

what is the RGB value for white?

A

255,255,255

22
Q

what is the RGB value for black

A

0,0,0

23
Q

what module is used for image processing?

A

cImage

24
Q

how is a pixel variable created?

A

Pixel(r,g,b)

25
Q

how is an image windowe created?

A

ImageWin(‘name’,width,height)

26
Q

how is an image object created?

A

FileImage or BlankImage

27
Q

How is an image shown on an image window

A

image.draw(imageWin)