Python Turtle Flashcards

1
Q

what does turtle.forward

A

go forward

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

what does turtle.backwards

A

go backwards

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

what does turtle.right

A

turn right

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

what does turtle.left

A

turn left

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

what does turtle.penup()

A

lifts pen up so you can move the turtle without drawing

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

what does turtle.pendown()

A

drops the pen back onto the screen so you can draw

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

what does turtle.fillcolor(“brown”)

A

changes the fill color to brown (or other color)

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

what does turtle .pencolor(“red”)

A

changes the pen color to red (or other color)

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

what does turtle.begin_fill()

A

begins to fill the shape

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

what does turtle.end_fill

A

end the filling sequence

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

What is a variable

A

a variable is a location in memory in which you can temporarily store text or numbers

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

How to use a variable

A

print (“what is your name?”)
firstname = input()
print (“hello,”,firstname)

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

What are variables used for

A

It is used like an empty box or the memory function on a calculator

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

What is string data

A

holds alphanumeric data as text

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

what is integer data

A

holds whole numbers

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

what does str() stand for

A

string data

16
Q

what does int() stand for

A

integer data

17
Q

what does str() and int() do

A

used to change data type

18
Q

what does algorithm mean

A

a sequence of logical instructions for carrying out a task

19
Q

why are algorithm’s needed

A

In computing algorithm’s are needed to design computer programs

20
Q

what are sequencing

A

sequencing is the specific order in which instructions are performed in an algorithm

21
Q

What is selection

A

selection is a decision or question

22
Q

what is iteration

A

iteration is the process or repeating steps

23
Q

how many angles are required to make a triangle

A

120

24
Q

how many angles are required to make a square

A

90

25
Q

how many angles are required to make a pentagon

A

72

26
Q

how many angles are required to make a hexagon

A

60

27
Q

how many angles are required to make a heptagon

A

51

28
Q

how many angles are required to make a octagon

A

45

29
Q

how many angles are required to make a decagon

A

36