No student devices needed. Know more
8 questions
What is c.dx and c.dy?
c = Circle(50, 150, 20, fill='navy')
c.dx = 5
c.dy = 6
properties
custom properties
methods
What is the default value of app.stepsPerSecond?
onStep is a function that is called app.stepsPerSecond number of times per second.
1
5
30
90
Which code represents motions that are horizontal?
c = Circle(50, 150, 20, fill='navy')
c.dx = 5
c.dy = 6
c.centerX += c.dx
c.centerY += c.dy
c.centerX += c.dx
c.centerY += c.dy
Which code represents motions that are horizontal?
c = Circle(50, 150, 20, fill='navy')
c.dx = 5
c.dy = 6
c.top += c.dy
c.bottom += c.dy
c.right += c.dx
c.left+= c.dx
Which code represents motions that are vertical?
c = Circle(50, 150, 20, fill='navy')
c.dx = 5
c.dy = 6
c.top += c.dy
c.bottom += c.dy
c.right += c.dx
c.left+= c.dx
Which code represents motions that are moving down?
c = Circle(50, 150, 20, fill='navy')
c.dx = 5
c.dy = 6
c.top += c.dy
c.bottom += c.dy
c.right += c.dx
c.left+= c.dx
Which code represents motions that are moving right?
c = Circle(50, 150, 20, fill='navy')
c.dx = 5
c.dy = 6
c.top += c.dy
c.bottom += c.dy
c.right += c.dx
c.left+= c.dx
Which code represents motions that are diagonal?
c = Circle(50, 150, 20, fill='navy')
c.dx = 5
c.dy = 6
c.centerX += c.dx
c.centerY += c.dy
c.centerX += c.dx
c.centerY += c.dy
Explore all questions with a free account