Python Programming for Lego Spike Prime Robots

Python Programming for Lego Spike Prime Robots

Assessment

Flashcard

Computers

7th Grade

Practice Problem

Hard

Created by

Leah Lynn

FREE Resource

Student preview

quiz-placeholder

9 questions

Show all answers

1.

FLASHCARD QUESTION

Front

To open a new Python project in the Spike app tap/click on the ________ icon.

Back

Plus

2.

FLASHCARD QUESTION

Front

To set the programming language to Python be sure to select ________ immediately after starting a new project.

Back

Python

3.

FLASHCARD QUESTION

Front

This toolbar across the top of the editor shows which _______ are connected to which ______ on the robot.

Media Image

Back

motors, ports

4.

FLASHCARD QUESTION

Front

Type out the line of code that tells the robot to import motor.

Back

import motor

5.

FLASHCARD QUESTION

Front

Type out the code statement that tells the robot to run motor A for 360 degrees at 720 degrees per second.

Back

motor.run_for_degrees(port.A, 360, 720)

6.

FLASHCARD QUESTION

Front

To effectively use awaitable code with the flexibility to run commands either concurrently or sequentially, you must run your code in an _________ _________ using a ____ _____.

Media Image

Back

Asynchronous function, run loop

7.

FLASHCARD QUESTION

Front

What's missing from this block of code?

Media Image

Back

async def main():

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?